[wp-trac] [WordPress Trac] #55816: upload animation webp return 500 error

WordPress Trac noreply at wordpress.org
Wed Aug 3 22:31:34 UTC 2022


#55816: upload animation webp return 500 error
--------------------------------------------+----------------------
 Reporter:  tianshi2                        |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:
Component:  Media                           |     Version:  trunk
 Severity:  normal                          |  Resolution:  wontfix
 Keywords:  dev-feedback reporter-feedback  |     Focuses:
--------------------------------------------+----------------------
Changes (by adamsilverstein):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Hi @tianshi2 -

 I tested this out with LibGD enabled and reproduced the error you
 mentioned "The server cannot process the image". This makes sense because
 _LibGD only supports single frame images_.

 I then enabled Imagick and tested again, the WebP uploaded correctly,
 showed as animated in the media library, however I noticed that sub sized
 images were *not* created correctly for this image.

 Unfortunately, these issues likely need to be fixed upstream. The
 maintainer of GD has expressed liking the idea of adding support for
 adding WebP animated format, however it sounds like a significant effort.
 See https://github.com/libgd/libgd/issues/648


 I also noticed there was a recent bug fix in GD for parsing animated WebP
 so maybe some support is now in place, see
 https://github.com/friendica/friendica/pull/11546

 Closing this as won't fix since it is more of an upstream library than a
 WordPress issue.

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


More information about the wp-trac mailing list