Inner exception - cannot read file (PHP use)
Posted: 2016-08-05T02:36:13-07:00
Hi folks,
I've just started using imagemaick (amazingly awesome tool) with PHP and for the most part, it's working really well.
I am getting an exception though when trying to load a particular pdf to convert to png.
The error is that it cannot read the file.
Some basics on it:
I've read about the forums on large pdfs and while there are a lot of instances where larger than this cannot be loaded due to resources, I don't think this is my case.
Is there anything else I can look for in terms of compatibility etc of the pdf?
Many thanks
Crispin
I've just started using imagemaick (amazingly awesome tool) with PHP and for the most part, it's working really well.
I am getting an exception though when trying to load a particular pdf to convert to png.
The error is that it cannot read the file.
Some basics on it:
- The PDF is 87MB (1670-odd pages)
- I have ample server RAM (64GB)
- Ample space
- It worked on hundreds of other pdfs I successfully converted to png.
- The file is 777 and can be opened by FoxIt reader.
I've read about the forums on large pdfs and while there are a lot of instances where larger than this cannot be loaded due to resources, I don't think this is my case.
Is there anything else I can look for in terms of compatibility etc of the pdf?
Many thanks
Crispin