Closed (won't fix)
Project:
ImageAPI
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2010 at 07:53 UTC
Updated:
8 Nov 2010 at 06:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
dalinThis patch shows how it could be done, and it basically works. However you quickly see a big limitation in the way that ImageAPI currently works - it can't alter the destination filename. So we can convert a GIF to an 8bit PNG, but we can't change the file extension to match.
Comment #2
dalinErrr, here's the correct patch file.
Comment #3
dalinPerhaps since we can't operate on GIFs without breaking the API, perhaps we should just work on PNGs.
Comment #4
dalinAlso I just discovered this:
http://drupal.org/project/imageapi_optimize
Comment #5
drewish commentedSeems like this should be optional right? My understanding is that 8-bit PNGs don't handle transparency the same way.
Comment #6
dalinI think the image optimization libraries that imageapi_optimize uses will do a far better job. Lets not re-invent the wheel.