New issue
Advanced search Search tips

Issue 884419 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Oct 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Downloading transparent pictures from google images gives a black background instead of a transperent background

Reported by jaksawes...@gmail.com, Sep 14

Issue description

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

Example URL:
https://i.imgur.com/EiXtZYH.jpg

Steps to reproduce the problem:
1. go to google images
2. find an image with a transparent background
3. download it and open it in gimp, to find it has a black background

What is the expected behavior?
The background of the image will be black even though it's supposed to be transperent

What went wrong?
The background of the image was black even though it was supposed to be transperent

Did this work before? N/A 

Chrome version: 71.0.3552.2  Channel: canary
OS Version: 10.0
Flash Version:
 
Labels: Needs-Feedback
This works fine for me.

I loaded https://i.imgur.com/EiXtZYH.jpg and saved the image. The saved file was correct, and maintained its transparent background.

Note that the image above is actually a PNG.
For whatever reason, imgur serves it with a .jpg extension, so the saved file also has .jpg.

Perhaps when you are editing it you ended up converting it to an actual JPEG and thereby lost its transparency?
I've only tried downloading directly from Google images, and that's given
me a problem
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 14

Cc: eroman@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
Can you give more specific repro steps?

I tried downloading some images off google images and it worked as expected.

I expect you are getting a different version of the image.
Are you using chromium, cause I'm using canary
Project Member

Comment 6 by sheriffbot@chromium.org, Sep 15

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
I have used both the current stable (69.0.3497.92) and the current canary (71.0.3552.2).

When using images.google.com in particular, I found that the initial thumbnails are a re-encoded JPG with a solid background. So if you download this, it will not be transparent.

However if you click on it, it then shows a larger version. If you save this image, it points to the original source image, and has the transparency as expected.

Given you are using the canary, you could be having issues from Network Service being enabled (can try turning it off using chrome://flags/#network-service), however it seems unlikely that would cause the symptoms you are describing.
Labels: Needs-Triage-M71
Can you try disabling the network service as mentioned in comment #7 to see if that solves the problem and report back?
Status: Archived (was: Unconfirmed)
Going to close this, due to lack of followup (And suspecting this is a server issue - Chrome's network stack doesn't know how to re-encode an image, nor does the download code).

Sign in to add a comment