On 05/16/2017 02:33 AM, Bernhard 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)?

Hi Sam, I have no answer to this. Instead I add another remark. After
conversion, I always do

pdfimages infile outbase

for file in outbase*; do convert $file $file.tif; done

for file in outbase*; do tesseract $file $filep.pdf -l lang  pdf; done

pdftk cat outbase*.pdf cat output   final.pdf


which makes again a full-text searchable PDF. It looses 60% of its
over-size at the same time.

Bernhard

Thanks for that tip. I wonder if anyone has looked at scraping the original text out of the pdf during conversion... returning it to the VM with only safe text allowed and then combining with the sanitized pdf. Qubes already has some text-sanitizing code, so the basic idea should be sound.

--

Chris Laprise, [email protected]
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b847b1a1-a942-2f27-8d9a-900145a48118%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to