Make WordPress Core

Opened 4 years ago

Last modified 2 years ago

#50256 new defect (bug)

Inconsistent image handling in wp_create_image_subsizes.

Reported by: ddur's profile ddur Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.3
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description

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.

Change History (2)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 years ago

#2 @antpb
2 years ago

  • Keywords reporter-feedback added

Hello @ddur thank you for your ticket ! Can you give us a reproduction outline step by step? (maybe some example files too!)

I'm trying to understand what the bug is you are seeing and the expected results. Some reproduction steps with an example file would be very helpful! Thank you!

Note: See TracTickets for help on using tickets.