osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

'On the Fly' Auto Thumbnailer using GD Library

This is a discussion on 'On the Fly' Auto Thumbnailer using GD Library within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This is based on On the fly Auto Thumbnailer 2.4 fix 3. For some reason, GIF files were blocked from ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Reply

 

LinkBack Thread Tools
  #1  
Old 09-07-2008, 03:01 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,466
Thanks: 83
Thanked 356 Times in 334 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post 'On the Fly' Auto Thumbnailer using GD Library

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...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 1 01-06-2008 12:13 AM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 10-08-2007 07:27 PM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 09-26-2007 06:11 PM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 04-28-2007 05:30 AM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 03-12-2007 09:12 PM


All times are GMT -8. The time now is 03:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax