Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#12577 closed defect (bug) (duplicate)

Wrong thumbnails created - transparency

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (12)

@pavelevap
14 years ago

#1 @dd32
14 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
13 years ago

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

#3 @apeatling
13 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
13 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
13 years ago

Related? #11671

#6 @apeatling
13 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
13 years ago

  • Cc apeatling added

#8 @apeatling
13 years ago

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

#9 @nacin
13 years ago

  • Milestone changed from 3.0 to 3.1

#10 @scribu
13 years ago

  • Milestone changed from Awaiting Triage to Future Release

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