Support Using php5-imagick on debian
Posted: 2012-07-03T02:44:53-07:00
Hi to all,
I have a website where clients can upload documents (images or documents of various type [pdf,png,jpg,tiff and others]).
I actually convert any file uploaded in PDF format using this syntax:
Due to a restriction for italian law, i have to convert files in PDF/A 1b (ISO 19005-1:2005).
I need also to be able to change Document Proprerties in the PDF while converting, like Document Title, Document Subject and other properties.
So is there any way to do this with imagick.
Thanks in advance
I have a website where clients can upload documents (images or documents of various type [pdf,png,jpg,tiff and others]).
I actually convert any file uploaded in PDF format using this syntax:
Code: Select all
$image = new Imagick();
$image->readImage("file_uploaded.jpg");
$image->setCompression(Imagick::COMPRESSION_JPEG);
$image->setCompressionQuality(60);
$image->setImageFormat('PDF');
$image->writeImage("fileconverted.pdf");
I need also to be able to change Document Proprerties in the PDF while converting, like Document Title, Document Subject and other properties.
So is there any way to do this with imagick.
Thanks in advance