Re: cairo built against libpng16

Ingmar Runge <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAAUiU8aQKN=1X52p0BCxy48UYW0Beu+=f6xOfDMzrxOKpkM4CQ@mail.gmail.com>
On Tue, Apr 16, 2013 at 12:06 PM, Chris Wilson <[email protected]> wrote:
> The advice from the png authors is that set_read_transform_info is even
> more dangerous than set_read_transform_fn.
>
> "The git head of libpng16 (and libpng17) has a fix that should allow user
> transforms (but not png_set_user_transform_info) to be called after
> png_read_update_info." - John Bowler

Sounds reasonable to me since there's no way to call
png_set_user_transform_info with the user data (pointer) only, you
always have to pass the depth and channels arguments too. They should
just add the ARGB32 and RGB24 conversions as built-in transforms while
they are at it, hehe. ;-) Is there a public libpng git repository by
the way? The one on sourceforge shows only "synched from tarball"
commits.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.