phMagick->convert()
Use this function to convert an image to another format
$p = new phmagick('source.jpg', 'destination.png'); $p->convert();
This example converts source.jpg to destination.png, optionaly setImageQuality() can be used to specify the quality of the new image
hi again
can i convert pdf’s to gif’s?
thanks!
@johny
I’ve never tried converting pdf to gif’s, but there is no reason why it can’t be done
conversion to pdf works! pdf-to-png gives me smallest output size.
but pdf’s larger than about 200 Kb come out distorted. is there any way to control the resolution, color depth, or any other conversion options?
thanks!
i’m also finding very large pdf’s (600 Kb, maybe less) don’t get processed at all.