Commit 3ccf7d9f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Added some docs for "Internal" conversion parameters

Thanks Lukas for pointing out the absence of docs! :)

CCMAIL:lukast.dev@gmail.com
parent 78a4512d
......@@ -62,6 +62,24 @@ public:
};
Q_DECLARE_FLAGS(ConversionFlags, ConversionFlag)
/**
* We have numerous places where we need to convert color spaces.
*
* In several cases the user asks us about the conversion
* explicitly, e.g. when changing the image type or converting
* pixel data to the monitor profile. Doing this explicitly the
* user can choose what rendering intent and conversion flags to
* use.
*
* But there are also cases when we have to do a conversion
* internally (transparently for the user), for example, when
* merging heterogeneous images, creating thumbnails, converting
* data to/from QImage or while doing some adjustments. We cannot
* ask the user about parameters for every single
* conversion. That's why in all these non-critical cases the
* following default values should be used.
*/
static Intent InternalRenderingIntent;
static ConversionFlags InternalConversionFlags;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment