AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.08.28 15:47 "Bits/sample must be 1 for Group 3/4 encoding/decoding", by Paul Smith
2007.08.28 16:22 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Toby Thain
2007.08.28 16:50 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Paul Smith
2007.08.28 17:12 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Toby Thain
2007.08.28 18:27 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Paul Smith
2007.08.29 09:59 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Gerben Vos

2007.08.28 17:12 "Re: Bits/sample must be 1 for Group 3/4 encoding/decoding", by Toby Thain

On 28-Aug-07, at 1:50 PM, Paul Smith wrote:

> 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?

Hi Paul,

I assume you've looked at the file and it's a black and white bitmap?  
In which case, you certainly can convert without losing any important  
information (or resolution). Look into the NetPBM tools, or  
GraphicsMagick...

--Toby

>
> Paul
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/