Make WordPress Core

Opened 13 months ago

Last modified 13 months ago

#57085 new defect (bug)

Media autoscale threshold change picture's colors

Reported by: fernandot's profile fernandot Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.3
Component: Media Keywords: needs-patch
Focuses: Cc:

Description

When uploading a picture, the automatic autoscale threshold (2560) changes the picture's colors to a different color profile (fewer colors, less vivid)

I've deactivated the automatic autoscale with

add_filter('big_image_size_threshold', '__return_false');

and the issue disappears

This is a big problem for photography-related blogs or websites, where photo quality makes the difference.

It's ok to scale the images for better performance, but we should be able to avoid it without loss of quality.

Note: I've tried to remove the jpg quality loss applied by WordPress and that's not the problem, the problem comes with the autoscale.

(Attached: image file without autoscale, image file with autoscale)
https://aulawp.com/web/wp-content/uploads/2022/11/prueba-Barbeiro-5670.jpg
https://aulawp.com/web/wp-content/uploads/2022/11/prueba-Barbeiro-5670-1-scaled.jpg

Attachments (2)

prueba-Barbeiro-5670.jpg (2.5 MB) - added by fernandot 13 months ago.
Image file without WP auto scale
prueba-Barbeiro-5670-1-scaled.jpg (351.9 KB) - added by fernandot 13 months ago.
Image file after WP auto scale

Change History (4)

@fernandot
13 months ago

Image file without WP auto scale

@fernandot
13 months ago

Image file after WP auto scale

#1 @johnbillion
13 months ago

  • Version changed from 6.1 to 5.3

#2 @fanvid
13 months ago

Im having a similar issue, new image uploads, every 2 or 3 images in 10 will come out corrupted after going through wordpress...

Note: See TracTickets for help on using tickets.