View Single Post
08-04-2008, 06:34 PM
#3
Jako is offline Jako
Jako's Avatar
Status: Jakowenko.com
Join date: Jun 2005
Location: Michigan
Expertise:
Software:
 
Posts: 2,199
iTrader: 3 / 100%
 

Jako is on a distinguished road

  Old

I ended up getting it to work using..

PHP Code:
  /* making the new image transparent */
        
$background imagecolorallocate($thumb000);
        
ImageColorTransparent($thumb$background); // make the new temp image all transparent
        
imagealphablending($thumbfalse); // turn off the alpha blending to keep the alpha channel


      // create the resized copy
      
imagecopyresampled($thumb$source0000$thumb_width$thumb_height$width$height); 
But the colors seem a tad lighter in the new thumbnail? Is that just due to the resizing and keeping transparency?