PDA

View Full Version : 'On the Fly' Auto Thumbnailer using GD Library



michael_s
09-07-2008, 02:01 PM
This is based on On the fly Auto Thumbnailer 2.4 fix 3.

For some reason, GIF files were blocked from using $use_truecolor. Yes, I'm aware that GIF only supports 256 colours; however, the palette can be selected from a full 24bit selection. As a result, previous versions would not resample GIF images properly and you would see blocky edges.

I basically reallowed truecolour use from GIF images (you'll notice a big difference if you're resampling). I also put in more flexible transparency support. (To do this, I had to move the loading of the images to slightly earlier in the code.)

If you have transparent GIF's or any GIF's for that matter, try this out and see if you notice a difference.

(note: only chaged the one for the main catalog, not the one in the admin dir)

Feedback to
jgryn AT
cse DOT
yorku DOT
ca

More... (http://addons.oscommerce.com/info/2226)