I have a PHP function that generates high-res jpeg copies of PDF files (to be used for OCR later) and on particular pdf documents the result image has the text really blurred, kind of scaled up from a low resolution file (which is not).
I experiment setting the resolution of Imagick according to PHP docs and SO posts and I do not see any improvement.
However I noted that using the convert -density 200 command it gets the job fine really well.
So I am looking for the imagick equivalent of -density or if I can set this anywhere.
Imagick's setResolution doesn't help, nor setImageResolution.
Last resort would be to wrap the convert command in a php function, but for now would like to avoid it.