On 05/15/2017 06:46 PM, Sam Hentschel wrote:
> Hey All,
>
> Another question, why is it that the qvm-convert-pdf function returns a
> file that is slgihtly fuzzy?
>
> I keep lots of copies of important documents that I want to convert to
> secure pdfs since they don't need to have anything other than an image.
> However, I need them to be as clear as possible so I can print them back
> out as if they were the original.
>
> Using qvm-convert-pdf currently makes a really fuzzy copy. How can I
> fix this (if at all)?
>
The line that does the rendering in qpdf-convert-server looks like this:
pdftocairo $INPUT_FILE -png -f $PAGE -l $PAGE -singlefile
$(basename $TEMP_PNG_FILE .png)
No resolution is specified and the pdftocairo man page says the default
res is 150 PPI. You could add the -r parameter for more resolution,
though you may also have to adjust MAX_IMG_WIDTH and HEIGHT in
qpdf-convert-client.