Opened 13 years ago

Last modified 12 years ago

#259 closed defect (FIXED)

Use original format for thumbnails/resized images (same as the image)

Reported by: Aleksej Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.2.0
Component: programming Keywords:
Cc: Parent Tickets:


Resized versions of an image need to be in the same file format as
the original, or at least in a format which has the required
features (e.g. transparency).

The logos of Creative Commons recently uploaded by fajro to omgmg
have bad thumbnails, because the original images are in PNG format
with transparency, while the thumbnails are JPEG. The
black-on-transparent logo became black-on-black, and the
white-on-transparent logo became white-on-white.

Change History (4)

comment:1 by Christopher Allan Webber, 13 years ago

This is actually a really easy bug if someone wants to pick it up.
In fact, I think all you have to do is remove the explicit convert
to jpeg calls that are currently in there, and maybe also manually
set the extension of the filename that's pulled in?

comment:2 by Inconexo ø, 12 years ago

On my copy no conversion is made. I uploaded a png, and it gave me
a png thumbnail.

comment:3 by Christopher Allan Webber, 12 years ago

Milestone: 0.2.0
Owner: set to Christopher Webber
Status: NewClosed
Oh yes! I changed this and forgot to mark it as done :)

comment:4 by Will Kahn-Greene, 12 years ago

The original url for this bug was .

Note: See TracTickets for help on using tickets.