Opened 15 years ago
Last modified 15 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: |
Description
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 , 15 years ago
comment:2 by , 15 years ago
On my copy no conversion is made. I uploaded a png, and it gave me a png thumbnail.
comment:3 by , 15 years ago
| Milestone: | → 0.2.0 |
|---|---|
| Owner: | set to |
| Status: | New → Closed |
Oh yes! I changed this and forgot to mark it as done :)

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?