Re: ExtractText and docs?

[email protected]
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
On 3/23/25 3:40 PM, Matus UHLAR - fantomas wrote:
>> On Sat, Mar 22, 2025 at 07:51:03PM +0100, Matus UHLAR - fantomas wrote:
>>> On 20.03.25 13:52, Alex wrote:
>>> >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?
>>> >
>>> >This was just a regular Word document with a .docx extension.
>>>
>>> unfortunately, ExtractText currently (afaik) does not support
>>> - conversion between formats (extracting images from doc,pdf etc)
> 
> On 22.03.25 21:15, Giovanni Bechis wrote:
>> if you have ghostscript installed extracting barcodes from pdf files
>> should work.
>>  Giovanni
> 
> both text and barcodes? Even QR codes?
> Can you chare the commands?
> 
I have the same config you have and it can extract data from pdf files.
Atm I am running with zbar-0.23.93 and ghostscript-10.03.1.
  Giovanni

> 
>>> - running multiple programs over the same file
>>>    (e.g. OCR and QR extracting)
>
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEqg3TnG6R3qYMxl94+r7qCYlyWOUFAmfhDmkFAwAAAAAACgkQ+r7qCYlyWOWV
8A/+O+IC0HZNBz6u+X4XZtreh5igFiSsmAiZBX+QKz41zjhE2Bf3bAj0Ia3HE9lK2/WRmMxTO8m5
48A+EzN97RKSUBjl3p7vekeDBaLEnBaa5ybezoYc4yUWx7ulamb5z5ze7PKh9JNIvBEH6g4NrxgJ
OfHssexW1IgsCSWAOij2UdJ3238HEV6C9+nby3OQbdtwKC1YHlyDGgRtcjM2XzgwmNShKXUZXyO9
HNvtzZqcawjtCmLSFtVuBzNg6qFcPON7LY4ghN42wCPKwf2p+PPZ5y7ZMCK1Zf6W+8+n8/fOmYXo
yUqC6nRVFV5yAV2fShi7hFOXCYdYaP27+Ke/X9l0IM1En+8uFXUWtD6dMYa4me4TIzEuVaB04QVF
YMZLO70qWUAQtL7LCvXVU8HkC2Al3tIiiGezzwPSH2jv2PSjblsTgbE9QsEcimroU0tn5h1f6IL1
7XrTE5Zp64fD7gR1OoDC0Wr6clUjKZuZ5ZoObmigwh74oFrlehd4vLDUecjGYxAYDAPz3+N6aU+X
F++Qqnx54t7uFO685Js1HbRbTwNz/AyDkaUE28sY78T2pWpkVj5iCGf1a2qEV+rw8A/mCXSrpQmn
ZS9EF2Gpu26x8naQhLGiodAOKAEP1PZH1dK1gJOs5BmLju5Tvm+Kcjkqfpzf1jeObJ1kJIn0MPbZ
/2w=
=c7tL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.