Comment 26 for bug 424249

Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote : Re: [Bug 424249] Re: locks when trying to save as PDF

On Thu, Nov 05, 2009 at 07:13:57PM -0000, Stinger wrote:
> I'm having trouble scanning and saving as djvu-file too.
> But if I save as tiff and import the tiff again I can save as djvu.
> Could this be related ? Does gscan2pdf use imagemagick to convert to djvu?
> Or do I need to open another bug report ?

The procedure for saving as a PDF depends on which compression method
is chosen:

None - whatever format the image is in, typically PNM from the scanner
Any other, i.e. JPEG, PNG, TIFF, etc. - if the image is not already in
that format, then IM is used to convert.

For DjVu, IM used to convert the image to either PNM, TIFF or JPG and the DjVu tools are
used to convert from DjVu.

i.e. TIFF->DjVu or scanner (PNM) to DjVu should not involve IM.

Please start gscan2pdf with the --debug option, scan, try to save as
DjVu, and post the output from the command line.