Page 1 of 1

APNG -> GIF

Posted: 16 Jul 2008, 22:06
by AF
I can find tonnes of GIF -> APNG stuff but nothing to make the trip from APNG back to GIF, anyone help?

Re: APNG -> GIF

Posted: 16 Jul 2008, 22:12
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

Re: APNG -> GIF

Posted: 16 Jul 2008, 22:31
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...

Re: APNG -> GIF

Posted: 17 Jul 2008, 09:03
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.

Re: APNG -> GIF

Posted: 17 Jul 2008, 09:10
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.

Re: APNG -> GIF

Posted: 17 Jul 2008, 09:24
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

Re: APNG -> GIF

Posted: 17 Jul 2008, 18:29
by AF
Nah its a normal png with the extra animation frames appended to the end.

Re: APNG -> GIF

Posted: 17 Jul 2008, 18:45
by rattle
ooh i should read!
Or google
http://wiki.mozilla.org/APNG_Specification

Re: APNG -> GIF

Posted: 17 Jul 2008, 20:26
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 :?

Re: APNG -> GIF

Posted: 17 Jul 2008, 20:48
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.

Re: APNG -> GIF

Posted: 17 Jul 2008, 20:49
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.

Re: APNG -> GIF

Posted: 17 Jul 2008, 20:50
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.

Re: APNG -> GIF

Posted: 17 Jul 2008, 22:39
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.

Re: APNG -> GIF

Posted: 18 Jul 2008, 12:20
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

Re: APNG -> GIF

Posted: 18 Jul 2008, 15:35
by rattle
wat
Rename a .png file to a .png file? Think before hitting submit (or reply) :P

Re: APNG -> GIF

Posted: 18 Jul 2008, 15:37
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?

Re: APNG -> GIF

Posted: 18 Jul 2008, 22:20
by AF
hmmm confusion circles loose their entertainment value quickly, dont worry Hoi

Re: APNG -> GIF

Posted: 19 Jul 2008, 00:03
by rattle
Quit wasting my time...

Re: APNG -> GIF

Posted: 19 Jul 2008, 03:19
by AF
HURRAH!