Hi,
I have a basic script to resize a transparent png image.
$dimg = imagecreatetruecolor($newwidth, $newheight);
imagecolortransparent($dimg, imagecolorallocate($dimg,0,0,0));
imagealphablending($dimg, false);
imagecopyresampled($dimg, $simg, 0, 0, 0, 0, $newwidth, $newheight, $currwidth, $currheight);
Problem is that my nice drop shadows are lost in resize... Does anyone know how I can keep them ?
Please take a look at the attached image!
Thank you!