Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Aug 2013, 18:22
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Question Converting animated gif to animated png?

I'm setting up a new forum and I've noticed that vB and many vB hacks are now using the PNG format instead of the older GIF format. While I'm happy to see this, it also puts me in a pickle because most of my smilies are animated gifs. I've been looking around for an easy way to convert all of these older animated gif smilies, but so far no joy.

Does anyone know of a program that will simply take an animated gif (smilie) and convert it into an animated PNG?
__________________
If we don't help each other when we can, then we're not making this world a better place.
Reply With Quote
  #2  
Old 20 Aug 2013, 18:45
RickyH RickyH is offline
 
Join Date: Dec 2011
You physically can't have an animated PNG. GIF is the only file format (image wise) that supports animation.
Reply With Quote
  #3  
Old 20 Aug 2013, 18:53
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Cool

http://en.wikipedia.org/wiki/APNG
__________________
If we don't help each other when we can, then we're not making this world a better place.
Reply With Quote
  #4  
Old 20 Aug 2013, 22:45
RickyH RickyH is offline
 
Join Date: Dec 2011
The vBulletin software itself does not support that file format from what i know. The image processor it uses just won't read it.
Reply With Quote
  #5  
Old 21 Aug 2013, 02:23
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
vBulletin uses what it wants, you don't have to use png's if you don't want to... esp not for smilies. SMilies are completely on their own.
__________________
Looking for ImpEx?
Reply With Quote
  #6  
Old 02 Oct 2018, 00:46
jnissen jnissen is offline
 
Join Date: Apr 2007
Real name: Jim
I recently ran into this. Wanted to convert my default statusicon images from PNG to GIF. Had a couple animated GIF's. Tried to copy the GIF over under the same name but kept the GIF file type. Did not work. Then tried just changing the GIF to PNG in name only and that worked. May not work on all browsers but I'm happy for now.
Reply With Quote
  #7  
Old 27 Oct 2018, 15:03
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Originally Posted by Bubble #5 View Post
Oh I thought it is not possible but since checked this link then...
__________________
The best webmaster forum & internet marketing forum for webmasters and internet marketers.
Reply With Quote
  #8  
Old 27 Oct 2018, 15:43
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
.gif format does not support transparency so it cannot be converted to .png because it lacks an alpha channel. Every individual frame of a gif animation would have to be converted one at a time. When gifs often have one hundred or more frames it is not worth the time and effort to convert them. It should also be noted IE and Edge browsers do not support APNG file formats.
Reply With Quote
  #9  
Old 28 Oct 2018, 09:07
MrZeropage's Avatar
MrZeropage MrZeropage is online now
 
Join Date: Nov 2003
Real name: Marcel
Never noticed that before, but APNG is quite a good thing.

It is working on my Safari-Browser, see the attached Image, this is one animated PNG
Should work in Chrome and Firefox, too... anybody not seeing the animation?

As I learned, Apple started using APNG with iOS10 in 2016 for all iMessage-Stickers and -Animations.

Why use GIF anymore?


Thanks for learning something new and quite cool


There are also some "convert to APNG" converters available:
https://ezgif.com/gif-to-apng
https://icons8.com/animizer/en/gif-apng-converter
Attached Images
File Type: png Animated_PNG_example_bouncing_beach_ball.png (61.9 KB, 28 views)
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 148.000 downloads!):
ibProArcade 2.7.6+ download here | Click here to enter the ibProArcade-Support-Section
Don't miss the new Google Analytics Integration (GDPR/DSGVO) for vB4.x
Reply With Quote
  #10  
Old 30 Oct 2018, 00:34
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Originally Posted by In Omnibus View Post
.gif format does not support transparency so it cannot be converted to .png because it lacks an alpha channel. Every individual frame of a gif animation would have to be converted one at a time. When gifs often have one hundred or more frames it is not worth the time and effort to convert them. It should also be noted IE and Edge browsers do not support APNG file formats.
Microsoft can fall behind, anyone who isn't computer illiterate or forced to use their crap at an office would use something different.
If there's a program that can do it with a batch of files, (drag & drop a folder or selected gifs in there for instance) than it is worth the time & effort, especially if you can apply a lossless optimization to the new animated png.

Speaking of which, these will do the job.
http://gif2apng.sourceforge.net/

https://sourceforge.net/projects/apn...PNG_Optimizer/


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by final kaoss; 30 Oct 2018 at 00:45.
Reply With Quote
  #11  
Old 30 Oct 2018, 01:19
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Originally Posted by final kaoss View Post
Microsoft can fall behind, anyone who isn't computer illiterate or forced to use their crap at an office would use something different.
OK, even if you want to say screw IE users they two image types serve entirely different purposes. The point of .gif images is to take up as little memory as possible while still being animated. The point of .png files is to have higher resolution images with transparency, which obviously take up far more memory. So, if you're also wiling to say "Screw how long it takes pages to load." you can convert images to APNG file type. The reality is there's no practical purpose for anyone other than graphic designers to convert images from .gif to .png image type and a good graphic designer would never use low resolution .gif image frames to create an animated png file. There's no point in using a 300DPI file type if you're only using 72DPI files. In fact it makes the images look worse.

This is one of these "improvements" that isn't really an improvement unless you're creating animated png files from scratch using 300+ DPI images as frames.
Reply With Quote
  #12  
Old 30 Oct 2018, 01:25
final kaoss final kaoss is offline
 
Join Date: Apr 2006
I can tell you didn't even bother to visit either link as stated. And they even have an example where the apng is 20 percent smaller.

As a matter of fact, compared to gifs, webp & apng typically get a much lower file size with not much loss in visuals.


gif2apng is a simple program that converts animations from GIF to APNG format.

It disproves the common misconception that Animated PNG files are always too big, as it actually creates APNG files smaller than the original GIFs. Command-line version is very easy to use, and available for all major OSes. GUI version for Windows is also available.

Last edited by final kaoss; 30 Oct 2018 at 02:05.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:19.

Layout Options | Width: Wide Color: