APNG plug-in provides Animated PNG (APNG) image file load and save modules for the GIMP.
Download source tar ball and more information at
http://sourceforge.net/projects/gimp-apng/
If you have any suggestions, questions, or if you would like to contribute (by translating the plug-in for other languages, or by providing us with a Windows how-to or Mac OS X binary, for example), please contact daisuken at users.sourceforge.net.
Updated 19 May 2009:
APNG plug-in for Windows is available for download. Many thanks to Max Stepin!
Updated 28 Apr 2009:
If you have installed *patched* libpng at /usr/local/libpng,
1. You can use pkg-config to search patched libpng.
$ env PKG_CONFIG_PATH=/usr/local/libpng/pkgconfig:$PKG_CONFIG_PATH ./configure
2. Or, you can use --with-libpng-include=DIR and --with-libpng-lib=DIR options.
$ ./configure \ --with-libpng-include=/usr/local/libpng/include \ --with-libpng-lib=/usr/local/libpng/lib
After install, maybe you need LD_LIBRARY_PATH to search the runtime library path.
$ env LD_LIBRARY_PATH=/usr/local/libpng/lib gimp
Because same as PNG is handled by PNG plug-in in the GIMP. Please select file type PNG+APNG image.
Comments
I have only three buttons...
Bonjour,
Remove ...\lib\gimp\2.0\plug-ins\file-png.exe
Re:I have only three buttons...
I checked again, it is removed for sure.
Still empty.
Btw.
I have experience of APNG in GIMP.
Thanks,
pogo
Are there pre-built options for Windows?
Building it isn't an option for me.
Success!!
Thanks man. You are exactly right. On my test image, the top layer and bottom layer in the layers dialog needed to be the same size as the overall image. Once I made those changes, the plugin worked perfectly.
Can't wait to see your next release!!
I Get A libpng Error When Saving APNG
Greetings,
I was excited to see this plugin.
I am using libpng-1.2.43 patched with libpng-1.2.43-apng.patch.
When saving an APNG, I receive the following error..
libpng error: width and/or height in the first frame's fcTL don't match the ones in IHDR
Is this plugin compatible with a patched libpng-1.2.43?
Any suggestions on how to fix? This version of libpng is popular and used with Fedora 12 & will be used in the upcoming release of Fedora 13.
Thanks!!
Frame width and/or height?
I think that the message is caused most commonly by miss matched frame size. First frame must be full size (and second frame must be full size too, if first frame is hidden).
No luck in compiling
I still haven't got this to work, though I haven't really delved into it.
Using Slackware 13, I patched my libpng library (1.2.37 -- is this too old?) and was able to successfully get through a compile of the plug-in; however, nothing seems to have changed (saving a multi-layer image as PNG produced the Export Dialog, but there was no "Save as animation" option).
I would point out that the Makefile defines the PLUGINDIR to be $HOME/.gimp-2.6.x/plug-ins -- that is, the entire GIMP version including the release (I had to manually move the plug-in to my GIMP plug-ins directory). In every GNU/Linux installation I've ever done, ${gimp_dir} has not included the release number and I think the Makefile should leave it out as well.
I get an error too
$ cd Program/gimp-apng-0.1.0/
$ ./configure \
> --with-libpng-include=/usr/local/libpng/include \
> --with-libpng-lib=/usr/local/libpng/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
[...]
checking for GIMP... configure: error: Package requirements (gimp-2.0 >= 2.2.0 gimpui-2.0 >= 2.2.0) were not met:
No package 'gimp-2.0' found
No package 'gimpui-2.0' found
[...]
What can I do to fix this?
Ubuntu 10.10, KDE 4.5 (if that matters). Mostly fresh install, no major modifications.
You made sure that the
You made sure that the original PNG plug-in isn't called, didn't you?
I had not
I hadn't done so, no. But after removing 'file-png' from the GIMP system plug-ins directory, my Export Dialog was empty except for the Cancel/Ignore/Export buttons and exporting resulted in a single-layer PNG.
I don't really expect solutions at this time, given my poor feedback on what I've attempted (which was just a cursory attempt at compiling/installing). I will post back next week after I've had a chance to examine the build process (and research .ui files) in more detail.
Pages