* Jeffrey Ratcliffe [EMAIL PROTECTED], 2008-06-16, 23:58:
A minimal example can be created with the following command:
$ printf 'P6 1 1 255\n\0\0\0' tmp.ppm
The problem here is distinguishing between a pbm, which cjb2 will
convert, and ppm, which it will not.
Imagemagick identifies them both
2008/6/17 Jakub Wilk [EMAIL PROTECTED]:
The 'class' attribute can be used to distinguish between those types:
$ identify tmp.pbm; identify tmp.ppm
tmp.pbm PNM 1x1 1x1+0+0 PseudoClass 2c 1-bit 8b
tmp.ppm PNM 1x1 1x1+0+0 DirectClass 8-bit 14b
Thanks for this. In the mean time I had come to
Package: gscan2pdf
Version: 0.9.24-1
Severity: normal
Trying to save a non-bitonal image as DjVu triggers an error:
*** [1-13800] Unknown PBM, PGM or RLE file format.
*** (GBitmap.cpp:344)
*** 'void DJVU::GBitmap::init(DJVU::ByteStream, int)'
*** [1-12308] File
2008/6/16 Jakub Wilk [EMAIL PROTECTED]:
Trying to save a non-bitonal image as DjVu triggers an error:
Not true in general, however. You can import, say, a JPEG, and save it
as DjVu perfectly well.
If you have an image which you can import and saving as a DjVu
produces this error, please attach
2008/6/16 Jakub Wilk [EMAIL PROTECTED]:
Trying to save a non-bitonal image as DjVu triggers an error:
Yes. This is highly annoying - caused by imagemagick writing a 1-bit
image as 8-bit and djvu not accepting it.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00181.html
The first part of
2008/6/16 Jakub Wilk [EMAIL PROTECTED]:
A minimal example can be created with the following command:
$ printf 'P6 1 1 255\n\0\0\0' tmp.ppm
The problem here is distinguishing between a pbm, which cjb2 will
convert, and ppm, which it will not.
Imagemagick identifies them both as
Format: PNM
* Jeffrey Ratcliffe [EMAIL PROTECTED], 2008-06-16, 23:07:
Trying to save a non-bitonal image as DjVu triggers an error:
Yes. This is highly annoying - caused by imagemagick writing a 1-bit
image as 8-bit and djvu not accepting it.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00181.html
7 matches
Mail list logo