View Single Post
Old 08-04-2008, 06:35 PM   #4 (permalink)
Jako
The Wanderer
 
Join Date: Jun 2005
Posts: 21
Thanks: 1
Jako is on a distinguished road
Default

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?
Jako is offline  
Reply With Quote