EXR: RGB / YC subtype support

This commit is contained in:
Mirco Miranda
2026-09-04 18:40:44 +02:00
committed by Mirco Miranda
parent 05af59e819
commit 0862db49b8
3 changed files with 54 additions and 0 deletions
+8
View File
@@ -118,6 +118,14 @@ private:
* The initial device position to allow multi image load (cache value).
*/
qint64 m_startPos;
/*!
* \brief m_subType
* The EXR subtype to use when writing:
* - RGB: preserves full-resolution color data (R, G, B) without subsampling or loss of chromatic detail (default).
* - YC: converts RGB data into luminance (Y) and 2x2 subsampled chroma (RY, BY), cutting raw color data by ~50% for significantly smaller file sizes.
*/
QByteArray m_subType;
};
class EXRPlugin : public QImageIOPlugin