Re: [gscan2pdf-help] Failing to save as pdf
Brought to you by:
ra28145
|
From: Jeffrey R. <jef...@gm...> - 2013-10-10 19:16:40
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/10/13 12:01, Cédric Macquat wrote: > I just wanted to use gscan2pdf to produce a pdf file, but it fails > when I save the file as pdf. I think when I want to produce a pdf > after the OCR is done I only have to save as pdf. So I don't know > what is wrong. In gscan2pdf I get: > > Error creating PDF image object: Unknown format file > > I'm using the last version of gscan2pdf. Do you have an idea what > I'm doing wrong or what can be the problem ? ... > INFO - Writing temporary image /tmp/gscan2pdf-R7pM/eq3I17frKW.tif > with depth 1 WARN - Exception 450: BitsPerSample 1 not allowed for > JPEG. `JPEGSetupEncode' @ error/tiff.c/TIFFErrors/563 INFO - tiffcp > -c lzw /tmp/gscan2pdf-R7pM/eq3I17frKW.tif > /tmp/gscan2pdf-R7pM/Uj1mJkmuoc.tif INFO - TIFFFillStrip: Invalid > strip byte count 0, strip 0. /tmp/gscan2pdf-R7pM/eq3I17frKW.tif: > Error, can't read strip 0. It looks to me that gscan2pdf is trying to saving a 1-bit JPEG, which is not allowed, as JPEGs have to be at least 16bit. Can you give me the JPEG you imported so that I can test it - or can you give me a similar image which produces the same problem. Regards Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJW/QgACgkQVDAgnE3XzJOeJwCeJcqu8TC0UBRxwXN7nIg0Nwj/ NyMAoPDHmilGArtOVIEg1q2eqEinSLOK =6DN7 -----END PGP SIGNATURE----- |