You are here

APNG Plug-In

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

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:

How to install without replacing the system libpng library

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

"Automatically Detected" does not work

Because same as PNG is handled by PNG plug-in in the GIMP. Please select file type PNG+APNG image.

GIMP Version: 
Code License: 

Comments

I get an error while installing it on Ubuntu 13.10:
No package 'gimp-2.0' found
No package 'gimpui-2.0' found
Do I have to move the apng plug-in files in some specific location?

Seems like you have no development packages installed.

How and which do I have to install?

Use your default package manager (for example Synaptic), search for the package libgimp2.0-dev and install it.

I OPEN A APNG PNG IMAGE IN GIMP AND IT LOADS AS A SINGLE LAYER REGULAR PNG IMAGE!!!!! THERE IS NO OTHER LAYER BUT THE FIRST ONE!!!! THIS IS NOT A WORKING PLUG-IN!!!!!!

Is it possible to make this work?
I have GIMP 2.8 with GAP 2.6 and I installed the plugin like it says for the Windows 64 bit on my Windows 7 64 bit PC...
When I save now it gives me the PNG+APNG option, but the pop up box that comes up doesn't have an animation option?

Also, what is this "Modifications file-apng.c :"

file-apng.c - it's a source code in C, you don't have to worry about it.
To make APNG plugin work , first off, download 64-bit version for Windows from the link provided below by samj (posted in this thread on August 26, 2011 at 16:48) and follow installation instructions in Read Me file (lisez-moi).
If it still didn't work for you, come back to this thread, I will provide you with step-by-step.
It worked for me just fine, don't hesitate to ask.

P.S. apng animation has some serious limitations which might actually make you give up this idea.
P.P.S any luck with getting GAP to work in GIMP 2.8?

The link provided by samj no longer works.

Any chance you have the read me file in english?
I did download from samj's link and followed the instructions provided in that post ( placed file-apng.exe, file-apng.ui , libpng15-15.dll in the plug-ins folder)
I'm wondering if it might be a compat issue with Gimp 2.8. There is an extra ui file in a folder labeled gimp 2.8, which i tried adding in to the plugins with the file-apng.ui and then replacing the file-apng.ui file , still no luck

GAP seems to be working just fine with Gimp 2.8, well except for my current problem ;)
Originally I was trying to save as avi but couldn't figure that out and someone suggested this to me. Honestly I just need a way to save animations without loosing the quality from xcf to gif.

edit: after looking closely (still can't read french) I think this file, libpng15-15.dll, is in the wrong place. I put it in the plugins folder. Where is it really supposed to be?
edit2: I tried moving libpng15-15.dll from plugins to bin, still no luck
here are some screen caps to show what I mean:
http://i290.photobucket.com/albums/ll253/FireLilly_LNL/Random/exportapng...
http://i290.photobucket.com/albums/ll253/FireLilly_LNL/Random/exportapng...

Compatibility isn't an issue. GIMP won't let you export animated PNG because of the preinstalled file-png plugin in C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins.

APNG is an unofficial extension of PNG and if you have them both in your plugin folder, the latter takes over in 'chain of command'. PNG specification allows it to "see" only one image (+ transparency). So it naturally decodes and displays just the 1st frame of your PNG animation, hence, it won't let you save it as such. While  APNG gets the job done. 

This is what I've done following the instruction. Your need to replace file-png and libpng15-15.dll that come with standard installation. Create a folder somewhere outside plugin folder and put them there. Do not delete them. Now copy file-apng, file-apng.ui and libpng15-15.dll from download to GIMP 2 plugin folder. Your newer libpng15-15.dll file is slightly bigger in size (311KB) than the original. 

APNG plugin, on the other hand,  is back compatible with PNG files, so it can handle simple (not animated) PNGs as if file-png would).

 

here's what it looks like
http://s1060.photobucket.com/albums/t448/proximaTori/ref_apng/?action=vi...
http://s1060.photobucket.com/albums/t448/proximaTori/ref_apng/?action=vi...

Happy gimping!

P.S. save your animations with .png extension, not apng or anything else.
Cheers!

Pages

Subscribe to Comments for "APNG Plug-In"