[cairo-bugs] [Bug 38938] cairo-1.10.2 renders RGB PNGs without blue channel (yellow colouring)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 7 07:08:39 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38938
Andrea Canciani <ranma42 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTOURBUG
--- Comment #6 from Andrea Canciani <ranma42 at gmail.com> 2011-07-07 07:08:37 PDT ---
(In reply to comment #5)
> Yep, that fixes it. It'd be worth finding out what changed, or what's not
> being done properly.
>
> As a short-term solution, it could probably be #ifdef'd to handle older libpng,
> as ugly as that solution is.
>
> Thanks for the assistance.
The bugfix for the issue you're seeing seems to be available in recent
(unstable) libpng versions.
In the ChangeLog:
Version 1.5.3beta03 [April 16, 2011]
[...]
Fixed bug with stripping the filler or alpha channel when writing, that
was introduced in libpng-1.5.2beta01 (bug report by Andrew Church).
The relevant commit is:
http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commitdiff;h=cb1aee250698490a4117797c398f93c5a089f95f;hp=8d4ce1fed58e96970ba4c30f39ea4a7712abaeaa
Please reopen if you manage to reproduce the problem even with the
just-released libpng 1.5.4:
http://sourceforge.net/projects/libpng/files/libpng15/1.5.4/
(I managed to reproduce the bug with 1.5.2, but 1.5.4 seems to be ok)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list