Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41516 new defect (bug)

PNG Image Saturation Loss on Resize

Reported by: colomet's profile colomet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Media Keywords:
Focuses: Cc:

Description

I work with PNG images made with grey colors. And the colors change because of wordpres, not the original image, but all the new sizes.

By default make the colors much darker but sometimes, also is weird:

http://i.imgur.com/L3Sk1Rg.png

Left and right are the same image. Some times handle even different for the same K=70 color.

( I export with Adobe illustrator to sRGB )

Attachments (1)

examples.zip (373.1 KB) - added by colomet 7 years ago.
Example files (png and ai)

Download all attachments as: .zip

Change History (4)

#1 @joemcgill
7 years ago

Hi @colomet would you mind uploading an example image so we can take a closer look?

@colomet
7 years ago

Example files (png and ai)

#2 @colomet
7 years ago

the examples.zip contains:

--the original .ai file: OriginalFile.ai

--the files download with ftp from the server after wordpress make the new sizes: OriginalFile.png and one of the new sizes OriginalFile-887x1024.png

--the files download with ftp from the server after wordpress make the new sizes (those files have been optimiced first):OriginalFile-Optimicedfirst.png and one example of the new sizes OriginalFile-Optimicedfirst-768x887.png

Last edited 7 years ago by colomet (previous) (diff)

#3 @alexvorn2
7 years ago

This is how the image get resized, I don't think that something can be fixed here because WordPress is using external libraries to resize such as ImageMagick and GD.
http://php.net/manual/en/book.image.php - GD is responsible for most image resizes.
http://php.net/manual/en/book.imagick.php - ImageMagick is responsive too if it is installed.
So WordPress has nothing to do with image color loss.

Note: See TracTickets for help on using tickets.