Re: cairo built against libpng16

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Tue, Apr 16, 2013 at 04:28:50PM +0200, Ingmar Runge wrote:
> 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.

Try: git://git.code.sf.net/p/libpng/code

If you want to convince libpng to support a pre-multiplied transform,
please be my guest :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
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.