2007.08.28 15:47 "[Tiff] Bits/sample must be 1 for Group 3/4 encoding/decoding", by Paul Smith

2007.08.28 16:50 "Re: [Tiff] Bits/sample must be 1 for Group 3/4 encoding/decoding", by Paul Smith

On 8/28/07, Toby Thain <toby@smartgames.ca> wrote:

When trying to convert from ppm to tiff, I get th following error:

$ ppm2tiff -c g4 pag-160.ppm lixo.tif lixo.tif: Bits/sample must be 1 for Group 3/4 encoding/decoding.

$

Any ideas?

A PPM is typically RGB, IIRC; try making sure it's 1-bit data first (PBM).

Thanks, Toby. The PPM that I get is from pdfimages, although the document is black and white. Is there some way of getting PBM from pdfimages? Or, alternatively, is there some way of converting from PPM to PBM without loosing resolution?

Paul