It is currently Tue Jun 23, 2026 3:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Fri Apr 30, 2010 11:17 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
I installed that apng in my FF toolbar but I can't figure out how it works....Maybe a small tute on this would help sometime in the future. :oops:

_________________
Image


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Fri Apr 30, 2010 11:38 am  (#22) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
There is a little bit of a tutorial here plus a screen shot.

Each layer of your animation needs to be made into a separate png image.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Fri Apr 30, 2010 11:45 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks "O" I will bookmark this link...

_________________
Image


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Fri Apr 30, 2010 3:24 pm  (#24) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Oregonian wrote:
BTW if you download the image, gimp will open it as a single layer image not an animation. Don't know if there's an application except for Ffox that will open it as a multilayered file.

This APNG plugin for GIMP is supposed to do just that.

At this point, I'm convinced there is an incompatibility with the version of libpng Fedora uses and the GIMP-APNG plugin. I have no idea which version of libpng might be supported by the GIMP-APNG plugin and no answer or documentation regarding that has yet been provided by the developer.

Regular PNG images save fine but I get this error when trying to save an animated APNG.

libpng error: width and/or height in the first frame's fcTL don't match the ones in IHDR

This tells me the image data (png chunk) is not being passed over properly to the patched libpng from the GIMP-APNG plugin.

I have posted to source forge regarding the error and I may contact the plugin developer directly to see if I can get clarification on which versions of libpng+libpng-patch are supported by this plugin.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Success!!
PostPosted: Sat May 01, 2010 12:55 pm  (#25) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Ok, it turns out that the error message I was getting was due to the fact that the top layer in my layer dialog was not the same size as the overall image.

From the developer..
Quote:
First frame must be full size (and second frame must be full size too, if first frame is hidden).

Once I resized the top layer to the image size, I was able to save as an APNG.

I am also able to load back in animated PNGs with all layers intact. Still need to do some more testing but so far so good..

Here is one of my Tux animations saved as an animated PNG. :pengy

has .apng extension
Image

has .png extension
Image

So, who can see it animated and who can't?

I'm not sure which browsers other than Forefox and Opera support APNGs.

I'll start a thread on how to patch and compile libpng + how to compile the GIMP-APNG plugin in Linux.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 1:13 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
I can see the cute little bird and also the fish jumping. Tell them to syncronize themselves so I can compare them.

_________________
Image


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 1:27 pm  (#27) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Molly, the only differences between those images are the file extensions. I was wondering if the browser looked at the extension and treated the files differently based on their extension.

Interestingly enough in Firefox, when I right click on the APNG image and view image, it asks me to save it as a bin file. I can right click and view the PNG just fine. Looks like Firefox is treating the APNG extension as a binary file, rather than an mime image. Both are animated though.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 2:25 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Hey you must have done something cuz now when I look at the fish they are syncronized. Before, the top one was just a bit ahead of the bottom. Anyway, I was teasing. Who is going to be looking at them bothe at the same time..... :mrgreen:

_________________
Image


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 2:45 pm  (#29) 
Offline
GimpChat Member

Joined: Apr 11, 2010
Posts: 545
Location: In the mini-chat, saying silly things
I haven't read the thread completely so may be saying something stupid.

Both Tux images look the same and the top one isn't animated. This is in google chrome.

edit- the bottom one isn't animated either, but I figured since it was .png it couldn't be?

_________________
Image


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 4:17 pm  (#30) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
There is a plugin for animated png images. Both those images are animated png images. If you don't see the animation it must be your browser that is not able to view them as animated png images.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: GIMP has an apng plugin!
PostPosted: Sat May 01, 2010 4:32 pm  (#31) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Jolie wrote:
Both Tux images look the same and the top one isn't animated. This is in google chrome.

edit- the bottom one isn't animated either, but I figured since it was .png it couldn't be?

Yes, I don't believe Chrome supports animated PNG images, yet. I'll bet it's coming soon though.

Firefox will playback animated PNG images if it sees that it is an animated PNG, no matter whether the extension is PNG or APNG. However, it looks like it does threat the files differently at times, as I mentioned earlier.

The ability to playback animated PNGs is compiled into Firefox and Opera. No plugin is required.

The Firefox plug-in O mentioned just gives you some limited editing of APNGs from single frame PNGs within Firefox.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group