[wp-trac] [WordPress Trac] #62272: Error when uploading .heic image

WordPress Trac noreply at wordpress.org
Fri Nov 1 00:19:36 UTC 2024


#62272: Error when uploading .heic image
-----------------------------------+-----------------------
 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):

 Here are some confidence checks for this update to support a wider variety
 of HEIC formats.

 == Test Report
 Patch tested: [59315]

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 14.6.1
 - Browser: Safari 17.6, Google Chrome 130.0.6723.91
 - Server: nginx/1.27.2
 - PHP: 8.3.13, w/ ImageMagick (supports
 [https://make.wordpress.org/core/2024/08/15/automatic-conversion-of-heic-
 images-to-jpeg-in-wordpress-6-7/ HEIC->JPEG conversion])
 - MySQL: 8.0.27
 - WordPress: 6.8-alpha-59274-src

 === Actual Results
 - ✅ Upload supported for `image/heif` and `image/heif-sequence` (could
 not locate an `image/heic-sequence` file for this test).
   - anim-heif-sequence.heic - `image/heif-sequence`
   - burst-heif-sequence.heic - `image/heif-sequence`
   - static-heif.heic - `image/heif`
   - static-ios-heic.HEIC - `image/heic`(regression test)

 === Supplemental Artifacts
 Videos:
 - [https://cloudup.com/iZnN4LioMaB insert/upload in post editor, Safari]
 - [https://cloudup.com/iiEUw6vJEF2 insert/upload in post editor, Chrome]
 - [https://cloudup.com/iLF3j3lukde upload in media library, Safari]
 - [https://cloudup.com/i04_7dQhHSZ upload in media library, Chrome]

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


More information about the wp-trac mailing list