6 Nov 2005 17:38
Re: PNG file gamma not handled
On October 27, 2005 12:46, Lubos Lunak wrote: > On Thursday 27 of October 2005 17:32, Christopher Martin wrote: > > Hello, > > > > It seems that neither Qt nor Gwenview handle gamma values associated > > with PNG files correctly. For instance, the images at > > http://www.christian-seiler.de/temp/gamma.html look different in > > Mozilla/Firefox, as they should, but unless your Qt is patched, they > > will look identical in Konqueror (the patch to fix this is in qt-copy, > > but looks a little dodgy). > > > > Gwenview seems to borrow code from Qt, and it inherits this problem. > > The attached patch seems to fix the issue, so that the images at the > > above link (and those at http://www.w3.org/Graphics/PNG/all_seven.html, > > another handy site) all look correct when viewed in Gwenview. > > The PNG decoder in Gwenview is more or less a copy of the one in Qt, > with some modifications (I don't remember exactly why right now), so the > qt-copy patch should apply to it as well. > > I've sent a patch to the person who created the patch asking about the > status. It looks like the qt-copy patch has been dropped, in favour of a fix in kdelibs itself. Since this new fix doesn't solve Gwenview's issue, then my patch is still needed. Cheers, Christopher Martin
RSS Feed