[wp-trac] [WordPress Trac] #50256: Inconsistent image handling in wp_create_image_subsizes.

WordPress Trac noreply at wordpress.org
Tue May 26 18:33:20 UTC 2020


#50256: Inconsistent image handling in wp_create_image_subsizes.
--------------------------+-----------------------------
 Reporter:  ddur          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.3
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 New "big image handling" uses $editor->resize() which will not only
 resize, but also loosely compress JPEG image (degrade image quality) by
 invoking $editor->thumbnail_image() inside $editor->resize().

 Rotating image below "big image handling", about line 322 in image.php
 uses $editor->maybe_exif_rotate(), which will not further degrade image
 quality.

 Until WP version 5.3, media editor page was always starting with
 original/upload  image quality, which is not case after WP 5.3+ "big image
 handling" is triggered.

 IMHO, media editor page should never get "thumbnalized" image as starting
 point for further editing by user.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50256>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list