APNG -> GIF

APNG -> GIF

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

APNG -> GIF

Post by AF »

I can find tonnes of GIF -> APNG stuff but nothing to make the trip from APNG back to GIF, anyone help?
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

APNG is an extension of the PNG format, adding support for animated images. It is intended to be a replacement for simple animated images that have traditionally used the GIF format, while adding support for 24-bit images and 8-bit transparency. APNG is a simpler alternative to MNG, providing a spec suitable for the most common usage of animated images on the Internet. APNG is backwards-compatible with PNG; any PNG decoder should be able to ignore the APNG-specific chunks and display a single image.
shoudnt be a problem just change the extension to .gif
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: APNG -> GIF

Post by rattle »

I never knew that renaming extensions changed the file header and structure to the new format.

http://www.gamani.com/gmgdown.htm
I guess it works both ways...
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

rattle wrote:I never knew that renaming extensions changed the file header and structure to the new format.

http://www.gamani.com/gmgdown.htm
I guess it works both ways...
you didnt read my quote
APNG is an extension of the PNG format......any PNG decoder should be able to ignore the APNG-specific chunks and display a single image.
User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Re: APNG -> GIF

Post by Felix the Cat »

I'm gonna change all of my PNGs to MP3s so I can listen to my pictures!

:roll:

Hoi: Changing the extension to .gif will NOT convert it to .gif. Your quoted bit says that a .png reader should be able to read .apng (or whatever the extension is). While that's neat and all, it doesn't answer AF's question because it's not a way to convert it to .gif.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

Felix the Cat wrote:I'm gonna change all of my PNGs to MP3s so I can listen to my pictures!

:roll:

Hoi: Changing the extension to .gif will NOT convert it to .gif. Your quoted bit says that a .png reader should be able to read .apng (or whatever the extension is). While that's neat and all, it doesn't answer AF's question because it's not a way to convert it to .gif.
ooh i should read! but anyway what a thought is that apng is just gif with some extra data, so you could just open it without converting, but if you really want to convert i have no idea
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: APNG -> GIF

Post by AF »

Nah its a normal png with the extra animation frames appended to the end.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: APNG -> GIF

Post by rattle »

ooh i should read!
Or google
http://wiki.mozilla.org/APNG_Specification
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

AF wrote:Nah its a normal png with the extra animation frames appended to the end.
hmm felix confused me he was suddenly talking about gifs :?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: APNG -> GIF

Post by AF »

file extensions are just a part of the file name and have nothing to do with the contents. They're a cultural convention and there's nothing enforcing them.

Thus renaming the file extension does not change the files contents.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: APNG -> GIF

Post by Peet »

AF wrote:They're a cultural convention and there's nothing enforcing them.
Well, except for the fact that windows associates files' extensions with applications rather than their headers.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: APNG -> GIF

Post by AF »

Indeed, all contextual, but renaming a GIF to .exe doesn't make it a program no matter how hard windows tries to run it.
User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Re: APNG -> GIF

Post by Felix the Cat »

Hoi wrote:
AF wrote:Nah its a normal png with the extra animation frames appended to the end.
hmm felix confused me he was suddenly talking about gifs :?
Uh.

That's kinda sorta what AF asked about.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

AF wrote:file extensions are just a part of the file name and have nothing to do with the contents. They're a cultural convention and there's nothing enforcing them.

Thus renaming the file extension does not change the files contents.
i am not saying that, i jsut want to say, you can jsut make it .png its readable anyway, but if you really want to convert it that wont help
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: APNG -> GIF

Post by rattle »

wat
Rename a .png file to a .png file? Think before hitting submit (or reply) :P
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: APNG -> GIF

Post by Hoi »

rattle wrote:wat
Rename a .png file to a .png file? Think before hitting submit (or reply) :P
HUH? i dont understand it anymore, do you want to convert a apng animation to a gif animation?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: APNG -> GIF

Post by AF »

hmmm confusion circles loose their entertainment value quickly, dont worry Hoi
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: APNG -> GIF

Post by rattle »

Quit wasting my time...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: APNG -> GIF

Post by AF »

HURRAH!
Post Reply

Return to “Off Topic Discussion”