[wp-trac] [WordPress Trac] #62305: Original HEIC image is not converted to JPEG
WordPress Trac
noreply at wordpress.org
Fri Nov 1 21:29:50 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 | Focuses:
-----------------------------------+-----------------------
Comment (by ironprogrammer):
== Test Report
For a pre-backport confidence check, please note that
[https://core.trac.wordpress.org/ticket/62272#comment:23 recent tests
performed] for related ticket #62272 included images that were smaller
than the big image threshold:
- anim-heif-sequence.heic - 256 × 144
- burst-heif-sequence.heic - 640 × 360
- static-heif.heic - 1440 × 960
- static-ios-heic.HEIC - 4032 × 3024 (regression test)
=== Actual Results
- ✅ In each case, the images were successfully converted to JPEG.
=== Supplemental Artifacts
The following markup was generated for each "undersized"
uploaded/converted image (HTML comment added for clarity):
{{{
<!-- anim-heif-sequence.heic -->
<img decoding="async" width="256" height="144"
src="http://wp-src.test/wp-content/uploads/2024/10/anim-heif-sequence-
256x144.jpg"
alt="" class="wp-image-1929">
}}}
{{{
<!-- burst-heif-sequence.heic -->
<img fetchpriority="high" decoding="async" width="1024" height="576" data-
id="1930"
src="http://wp-src.test/wp-content/uploads/2024/10/burst-heif-sequence-
1024x576.jpg"
alt="" class="wp-image-1930"
srcset="http://wp-src.test/wp-content/uploads/2024/10/burst-heif-
sequence-1024x576.jpg 1024w,
http://wp-src.test/wp-content/uploads/2024/10/burst-heif-sequence-
300x169.jpg 300w,
http://wp-src.test/wp-content/uploads/2024/10/burst-heif-sequence-
768x432.jpg 768w,
http://wp-src.test/wp-content/uploads/2024/10/burst-heif-sequence-
1280x720.jpg 1280w"
sizes="(max-width: 1024px) 100vw, 1024px">
}}}
{{{
<!-- static-heif.heic -->
<img decoding="async" width="1024" height="683" data-id="1931"
src="http://wp-src.test/wp-content/uploads/2024/10/static-heif-
1024x683.jpg"
alt="" class="wp-image-1931"
srcset="http://wp-src.test/wp-content/uploads/2024/10/static-heif-
1024x683.jpg 1024w,
http://wp-src.test/wp-content/uploads/2024/10/static-heif-300x200.jpg
300w,
http://wp-src.test/wp-content/uploads/2024/10/static-heif-768x512.jpg
768w,
http://wp-src.test/wp-content/uploads/2024/10/static-heif-1440x960.jpg
1440w"
sizes="(max-width: 1024px) 100vw, 1024px">
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62305#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list