Opened 3 years ago
Closed 3 years ago
#12577 closed defect (bug) (duplicate)
Wrong thumbnails created - transparency
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 2.9.2 |
| Severity: | normal | Keywords: | |
| Cc: | pavelevap@…, apeatling |
Description
When I upload attached .png picture, wrong thumbnails are created (black and white lines etc.) It is probably related to transparency...
Attachments (1)
Change History (12)
I'm almost certain that this is because all thumbnails are created as JPG's regardless of their original file type, but I'll start digging to confirm.
I take that back, my png tests seemed to thumbnail fine, but I could reproduce the issue with the attached image.
@nacin - Yes, seems to be the same problem, it's to do with the color profile of the image.
It's using a "20% Dot Gain" profile. If I open the image in Photoshop and remove the profile then the thumbnail works fine.
comment:10
scribu — 3 years ago
- Milestone changed from Awaiting Triage to Future Release
comment:11
scribu — 3 years ago
- Milestone Future Release deleted
- Resolution set to duplicate
- Status changed from assigned to closed
Actually, I'm just going to mark this as a dup of #11671

See Also: http://www.php.net/manual/en/function.imagecopyresampled.php#93166
basically, the GD resize functions do not handle transparency.
Setting to 3.0 at present, This is unlikely to be patched for a 2.9 release.