Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#12577 closed defect (bug) (duplicate)

Wrong thumbnails created - transparency

Reported by: pavelevap Owned by: apeatling
Milestone: Priority: normal
Severity: normal Version: 2.9.2
Component: Media Keywords:
Focuses: Cc:


When I upload attached .png picture, wrong thumbnails are created (black and white lines etc.) It is probably related to transparency...

Attachments (1)

Kampa.png (30.7 KB) - added by pavelevap 6 years ago.

Download all attachments as: .zip

Change History (12)

6 years ago

#1 @dd32
6 years ago

  • Milestone changed from 2.9.3 to 3.0

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.

#2 @apeatling
6 years ago

  • Owner set to apeatling
  • Status changed from new to assigned

#3 @apeatling
6 years ago

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.

#4 @apeatling
6 years ago

I take that back, my png tests seemed to thumbnail fine, but I could reproduce the issue with the attached image.

#5 @nacin
6 years ago

Related? #11671

#6 @apeatling
6 years ago

@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.

#7 @apeatling
6 years ago

  • Cc apeatling added

#8 @apeatling
6 years ago

Punt to 3.1? This should be fixed once #11671 is dealt with.

#9 @nacin
6 years ago

  • Milestone changed from 3.0 to 3.1

#10 @scribu
5 years ago

  • Milestone changed from Awaiting Triage to Future Release

#11 @scribu
5 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

Note: See TracTickets for help on using tickets.