New issue
Advanced search Search tips

Issue 840798 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 490131
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

When downloading images with Ctrl+S the color profile is stripped

Reported by alvinhoc...@gmail.com, May 8 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.30 Safari/537.36

Example URL:
http://regex.info/blog/photo-tech/color-spaces-page1#Test

Steps to reproduce the problem:
1. On the site, drag the middle image onto a new tab
2. Press Ctrl+S to download the image
3. Open the image with a color-managed image editor/viewer (e.g. Krita) or upload the file to <http://exif.regex.info/exif.cgi>

What is the expected behavior?
The image should have the "Custom RGB" colour profile embedded (and the editor/viewer should show the proper colour).

What went wrong?
There is no color profile in the downloaded image file.

Did this work before? N/A 

Chrome version: 67.0.3396.30  Channel: beta
OS Version: 10.0
Flash Version: 

For comparison, replace step 2 with "Right-click on the image and select Save Image As to download the image", the color profile will be intact.
 
Hold on... I found the culprit. The "Data Saver" extension by Google (https://chrome.google.com/webstore/detail/data-saver/pfmgfdlgomnbgkofeojodiodmgpgmkac) is compressing the image and stripped the colour profile.

What couldn't be explained is why I get different result with Ctrl+S and right-clicking to select "Save Image As". Why don't they save the same data?

Comment 2 by mef@chromium.org, May 8 2018

Components: -Internals>Network Internals>Network>DataProxy

Comment 3 by mef@chromium.org, May 8 2018

Cc: tbansal@chromium.org
Labels: Needs-Triage-M67
Labels: -Needs-Triage-M67
Mergedinto: 490131
Owner: robertogden@chromium.org
Status: Duplicate (was: Unconfirmed)
Hi alvinhochun, thanks for reaching out!

I'm sorry to say the behavior you're experiencing is working as intended by the Data Saver team. When using Data Saver, please use 
  Right click > Save image as 
or 
  Right click > Open original image in new tab 

to see the original, uncompressed image.

You can check out the linked bug for more context. 


Let us know if you have any other questions!
 Issue 535061  is also relevant here.

Sign in to add a comment