Page 1 of 1

Building with libpng (apng patch)

Posted: 2012-07-31T11:49:48-07:00
by foxpaul
I've built libpng with the apng support page applied (to /usr/local/libpng) and then configured IM with:
./configure --prefix=/usr/local/im CPPFLAGS=-I/usr/local/libpng

Once the build was complete, running identify Animated_PNG_example_bouncing_beach_ball.png (image from http://en.wikipedia.org/wiki/APNG) shows only 1 layer.
Is that CPPFLAGS flag the correct way to compile IM with the patched libpng?

thanks for reading.

Re: Building with libpng (apng patch)

Posted: 2012-08-01T06:03:48-07:00
by glennrp
ImageMagick does not support APNG, even when linked with an apng-patched libpng.