[wp-trac] [WordPress Trac] #62305: Original HEIC image is not converted to JPEG

WordPress Trac noreply at wordpress.org
Wed Nov 6 16:05:46 UTC 2024


#62305: Original HEIC image is not converted to JPEG
--------------------------------------------------+-----------------------
 Reporter:  azaozz                                |       Owner:  azaozz
     Type:  defect (bug)                          |      Status:  reopened
 Priority:  normal                                |   Milestone:  6.7
Component:  Media                                 |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch fixed-major has-unit-tests  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by flixos90):

 @azaozz @peterwilsoncc I'm not sure the tests are "false negatives".

 The `assertImageNotHasSource( $attachment_id, 'image/jpeg' )` is to verify
 that the (full size) image is not available as a JPEG, as for that
 particular test it shouldn't be - it should only be converted to WebP or
 AVIF, and the original JPEG image should only be "backed up" under
 `original_image` but otherwise there should be no references to JPEG on
 the attachment.

 I'm not sure yet why that behavior changed and whether it's something that
 needs to be fixed in Core or updated in the plugin to support an
 intentional Core change. But the assertions themselves still look correct
 to me.

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


More information about the wp-trac mailing list