Came accross something I thought to be pretty unique today, the ability to animate PNG's. First of all I will warn that this requires Firefox 3 or Opera 9.5 or a couple other browsers may support it (Not IE).
What is an animated PNG?
^ IF you cant see that moving (once it loads of course) then your browser doesnt support animated PNG's
How do I make one?
Many ways although gif2apng is the best way on linux (console), and so I will guide you through compiling it.
When/Why should I use animated PNG's
- To save bandwidth, you can save 20% easy, even more will be possible once firefox fixes support for BLENDING (40-50%)
- Backwards compatible with PNG, people who dont support APNG should just see the first frame.
Install dependencies:
There you go its compiled, you may want to move the executable into the local path with a comand like:
then just use it like:
-SplitIce
Source: http://thewarezscene.org/forums/ass...ompiling-gif2apng-debian-t289075.html#p409050
What is an animated PNG?
^ IF you cant see that moving (once it loads of course) then your browser doesnt support animated PNG's
How do I make one?
Many ways although gif2apng is the best way on linux (console), and so I will guide you through compiling it.
When/Why should I use animated PNG's
- To save bandwidth, you can save 20% easy, even more will be possible once firefox fixes support for BLENDING (40-50%)
- Backwards compatible with PNG, people who dont support APNG should just see the first frame.
Install dependencies:
Code:
apt-get install zlib1g-dev zlib1g
Code:
# cd ~
# mkdir gif2apng
# cd gif2apng
# wget http://downloads.sourceforge.net/project/gif2apng/1.1/gif2apng-1.1-src.zip?use_mirror=transact
# unzip gif2apng-1.1-src.zip
# rm *.zip
# gcc -Wall -lz gif2apng.c -ogif2apng
There you go its compiled, you may want to move the executable into the local path with a comand like:
Code:
mv gif2apng /usr/bin
then just use it like:
Code:
gif2apng in.gif out.png
-SplitIce
Source: http://thewarezscene.org/forums/ass...ompiling-gif2apng-debian-t289075.html#p409050