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

WordPress Trac noreply at wordpress.org
Thu Apr 29 18:40:34 UTC 2021


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

Comment (by adamsilverstein):

 I came across this ticket when working on support for WebP in #35725.

 Although adding proper support for resizing GIF images when uploaded -
 when the user has Imagick enabled - feels like a worthwhile goal. However,
 GIF images have some drawbacks - particularly their performance/file size.
 Best practice suggests we should try replacing uploaded GIFs with videos
 instead. Reference: https://web.dev/replace-gifs-with-videos/


 This will result in a much smaller file size, with all the key
 characteristics of a GIF:
 * They play automatically.
 * They loop continuously (usually, but it is possible to prevent looping).
 * They're silent.

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


More information about the wp-trac mailing list