Gwenview (v4.14.0 pre) cannot apply the image color profile of a specific PNG file. Gwenview's image area is still empty after loading the file. Terminal Output: Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon gwenview(12387)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! gwenview(12387)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! QPropertyAnimation::updateState (opacity): Changing state of an animation without target QPropertyAnimation::updateState (geometry): Changing state of an animation without target QPropertyAnimation::updateState (opacity): Changing state of an animation without target QPropertyAnimation::updateState (geometry): Changing state of an animation without target gwenview(12387) Gwenview::ThumbnailProvider::checkThumbnail: Thumbnail for "file:///home/ata/Arbeitsfl%C3%A4che/5172.png" does not contain correct image size information gwenview(12387) Gwenview::ThumbnailProvider::checkThumbnail: Thumbnail for "file:///home/ata/Arbeitsfl%C3%A4che/5172.png" does not contain correct image size information gwenview(12387) Gwenview::RasterImageViewPrivate::updateDisplayTransform: This image has a color profile, but Gwenview can only apply color profile on RGB32 or ARGB32 images Reproducible: Always Steps to Reproduce: 1. Download the PNG file from URL http://abload.de/img/5172nfsfp.png 2. Open this PNG file in Gwenview Actual Results: No picture. Expected Results: A picture.
With gwenview 14.12.3 and littlecms 2.6-r1 on Gentoo Linux, that image opens and renders, but the embedded ICC profile is ignored (green in "Accessibility" is too saturated, too much towards a dark green). That is fixed by https://git.reviewboard.kde.org/r/123928/ which shows that word a little bit more yellowish.
Git commit 1425825120ad19fc085fe62ca025023d46038aef by Jan Kundrát. Committed on 29/05/2015 at 00:32. Pushed by jkt into branch 'master'. Apply display color profile to all images ...including those which do not have any embedded profile. Just treat them as sRGB, which is probably a reasonable choice. This makes a huge difference on wide-gamut displays. LittleCMS doesn't support RGBA_Premultiplied because premultipled alpha doesn't "make a lot of sense with a color management system since color perception varies with intensity and the colorspace may not be linear across the color channels" (see [1] for why, and for an experimental patch which apparently didn't move anywhere and wasn't merged). [1] http://sourceforge.net/p/lcms/mailman/message/30246542/ REVIEW: 123928 Related: bug 322149 M +6 -1 lib/cms/cmsprofile.cpp M +1 -0 lib/cms/cmsprofile.h M +4 -2 lib/documentview/rasterimageview.cpp M +0 -2 lib/imagescaler.cpp http://commits.kde.org/gwenview/1425825120ad19fc085fe62ca025023d46038aef
*** Bug 361887 has been marked as a duplicate of this bug. ***