[wp-trac] [WordPress Trac] #28474: WordPress destroys animation in animated GIF when it resizes

WordPress Trac noreply at wordpress.org
Tue Feb 2 03:43:44 UTC 2016


#28474: WordPress destroys animation in animated GIF when it resizes
--------------------------+---------------------------
 Reporter:  archon810     |       Owner:  mikeschroder
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.5
Component:  Media         |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------------

Comment (by wcvendors):

 I would disagree with @azaozz -- If the gif animation is a 5MB file,
 resizing in CSS still forces a 5MB file to load.  The entire issue here is
 that a CSS resize would still require the full bandwidth, and the point of
 the resize is to retain the GIF animation *and* resize it to the correct,
 optimized file size at the same time.  azaozz's argument would mean we
 should just CSS resize jpg/png's too because you can and that's easier,
 which defeats the purpose entirely.

 If the site doesn't have Imagick and leaves out 20-30% of the sites that
 dont have it enabled/installed, I would suggest replacing the option to
 resize gif's as grey'd out with a helper text that requires Imagick and
 they don't have it installed.

 Cheers

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28474#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list