class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
$objFile->image_resize = true; $objFile->image_convert = 'png'; $objFile->image_watermark = IMAGES . 'frame.png'; $objFile->process($folder);
I think I found a bug.
I am uploading JPEG file and trying to:
1. resize it
2. convert it to PNG
3. add watermark (another transparent PNG)
Result: watermark loses its transparency and overlays main image. It only happens when I try to convert to PNG. JPEG and GIF works fine.