I have a large amount of high resolution TIFF images which I need to batch convert into transparent PNG images. As it stands I've managed to convert, resize and significantly reduce the image file size quite successfully. The only problem I'm having is the difference in the image colour. I'm running the following code in my PHP script:
Code: Select all
exec($command = "$convert \"tiffImage.tif\" -background transparent -density 72 -resize 15x15% \"newImage.png\"", $output, $retval);
Hopefully someone with a lot more know how than myself will be able to point me in the right direction.
Thanks.