On 3/20/25 6:52 PM, Alex wrote:
Hi,

I'm using ExtractText to identify QR codes in PDFs.

# QR-code decoder
extracttext_external    zbar            /usr/bin/zbarimg -q -D {}
extracttext_use         zbar            .jpg .png .pdf .webp image/(?:jpeg|png) 
application/pdf
add_header              all             ExtractText-Uris _EXTRACTTEXTURIS_

However, now they're sending them in Word doc/docx format. Any tips on how to 
do that?

I think you need a wrapper that uses docx2pdf or word2pdf to create a pdf file, 
then zbarimg(1) on the {temporary} pdf file.

 Giovanni
This was just a regular Word document with a .docx extension.



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to