Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2013, 04:22 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 08-20-2013, 04:45 PM
RickyH RickyH is offline
 
Join Date: Dec 2011
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You physically can't have an animated PNG. GIF is the only file format (image wise) that supports animation.
Reply With Quote
  #3  
Old 08-20-2013, 04:53 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://en.wikipedia.org/wiki/APNG" target="_blank">http://en.wikipedia.org/wiki/APNG</a>
Reply With Quote
Благодарность от:
CAG CheechDogg
  #4  
Old 08-20-2013, 08:45 PM
RickyH RickyH is offline
 
Join Date: Dec 2011
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 08-21-2013, 12:23 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-01-2018, 09:46 PM
jnissen jnissen is offline
 
Join Date: Apr 2007
Location: Austin
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 10-27-2018, 12:03 PM
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Location: www.webmastersun.com
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
Oh I thought it is not possible but since checked this link then...
Reply With Quote
  #8  
Old 10-27-2018, 12:43 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.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 10-28-2018, 07:07 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 10-29-2018, 10:34 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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/

Code:
APNG Optimizer 1.4
Optimizes APNG animations.

Usage
apngopt [options] anim.png [anim_opt.png]

Options
-z0 : zlib compression

-z1 : 7zip compression (default)

-z2 : Zopfli compression

-i## : number of iterations, default -i15

Changes in version 1.4:
Codebase updated (based on apngdis 2.8, apngasm 2.9)
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04201 seconds
  • Memory Usage 2,277KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete