Sorry for top posting. Be aware that all usages of QImage goes not target the local screen. I.e. explicitly requesting a conversion seems to be the best option to me.
Regards, Johan On 2012-07-16 16:31 alexandros.dermena...@nokia.com wrote: Hi, I am working on adding support for color profiles on Qt 5. It is under discussion if the default behavior of QImage shall be: 1) converting from an embedded color profile to the screen color profile when loading an image OR 2) keep the loaded image in the source color space, until the programmer explicitly requests color conversion. Solution 1 : QImage(xxxx, QColorProfile = Preserve_Embedded) * Keeps the old Qt behavior (providing backwards compatibility without the need of tweaking the code) Solution 2 : QImage(xxxx, QColorProfile = Convert_To_Screen) * Fixes some "bugs" in applications that use QImage directly for visualizing images (i.e. okular) * Better for newly developed applications since color profile conversion takes place automatically Presently when an image is loaded it always gets interpreted as sRGB and no color conversion takes place. Thanks in advance! _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development