[wp-trac] [WordPress Trac] #62900: PNG original image not affected by conversion filter

WordPress Trac noreply at wordpress.org
Mon Feb 3 15:59:05 UTC 2025


#62900: PNG original image not affected by conversion filter
-------------------------------------------------+-------------------------
 Reporter:  pixlpirate                           |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  6.7.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch dev-feedback needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by pixlpirate):

 Hi @adamsilverstein

 Thanks for your reply. I’ve tested different output formats, including
 AVIF, WebP, and JPEG, and the issue seems to be related to the **input
 format** rather than the output format.

 //(Note that all the following tests were performed with images of the
 same dimensions)//

 ----
 Dropping a JPEG file in the media library.

 **Input**:
 - image.jpg
 **Output**:
 - image.jpg
 - image.webp
 - image-150x150.webp
 - image-300x300.webp
 - etc.
 **Results**:
 - ✔️ The original image is preserved
 - ✔️ The original size is generated in the target format
 - ✔️ The thumbnails are generated in the target format

 I had similar results for the following **input** formats: JPEG, GIF,
 AVIF, WebP
 ----
 Dropping a PNG image in the media library
 **Input**
 - image.png
 **Output**
 - image.png
 - image-150x150.webp
 - image-300x300.webp
 - etc.
 **Results**:
 - ✔️ The original image is preserved
 - ❌ The original size is not generated in the target format
 - ✔️ The thumbnails are generated in the target format

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


More information about the wp-trac mailing list