[wp-trac] [WordPress Trac] #55057: WebP images are not rotated in the same way JPEG images are rotated.

WordPress Trac noreply at wordpress.org
Fri Feb 11 19:43:25 UTC 2022


#55057: WebP images are not rotated in the same way JPEG images are rotated.
--------------------------+------------------------------
 Reporter:  mitogh        |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+------------------------------
Changes (by adamsilverstein):

 * milestone:  6.0 => Future Release


Comment:

 We can probably get some help writing a php function to extract the EXIF
 data from WebP files since it doesn't seem to be supported by the
 underlying image libraries. Similar to the shim we added to read WebP
 image sizes, we can parse WebP Exif "manually".

 We can also check to see if libwebp **can** extract the exif data, and if
 so, add that support to gd/imagick. Still, a php shim will be helpful
 regardless because new code in the image libraries will take a long time
 to make it to WordPress (see AVIF).

 Marking as future release while we look for help from a WebP expert.

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


More information about the wp-trac mailing list