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

WordPress Trac noreply at wordpress.org
Sat Oct 26 00:33:56 UTC 2024


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

Comment (by ironprogrammer):

 Thanks for the report, @azaozz!

 Confirming that I see this as well, with the provided sample image and my
 own cropped and exported HEIC image (using macOS Photos):

 {{{
 <figure class="wp-block-image size-full">
     <img decoding="async" width="800" height="533"
         src="http://wp-src.test/wp-content/uploads/2024/10/sample-
 800px.heic" alt="" class="wp-image-1921"
         srcset="http://wp-src.test/wp-content/uploads/2024/10/sample-
 800px.heic 800w,
         http://wp-src.test/wp-content/uploads/2024/10/sample-800px-
 300x200.jpg 300w,
         http://wp-src.test/wp-content/uploads/2024/10/sample-800px-
 768x512.jpg 768w"
         sizes="(max-width: 800px) 100vw, 800px">
 </figure>
 }}}

 For iOS/macOS users it doesn't seem this should happen often, unless
 they're cropping in Photos and exporting as HEIC (default is JPEG). Most
 iOS photos should be above the oversized threshold.

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


More information about the wp-trac mailing list