Reading password protected PDF file
Reading password protected PDF file
Is it possible to read password protected PDF file using Imagick? I have tried to find some info about it, but without success, found info about command line interface only (using -authenticate option). Password for PDF file is known of course.
Re: Reading password protected PDF file
Not all options are supported with Imagick and there does not seem to be a lot of work being done to it. If you can not find any information on the php Imagick website I would say you can not do what you want.
Imagick is not written or supported by the Imagemagick developers.
Imagick is not written or supported by the Imagemagick developers.
Re: Reading password protected PDF file
For most of the options the following should work:
In this case you could try:
Code: Select all
proto bool Imagick::setOption(string key, string value)
Code: Select all
$im->setOption("authenticate", "password");
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org