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
April 2009

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

2009.04.28 18:15 "Libtiff and OpenCV", by Andreas H
2009.04.28 19:05 "Re: Libtiff and OpenCV", by Frank Warmerdam
2009.04.28 20:33 "Re: Libtiff and OpenCV", by Andreas H
2009.04.29 02:32 "Re: Libtiff and OpenCV", by Kai-uwe Behrmann
2009.04.29 07:37 "Re: Libtiff and OpenCV", by Andreas Heindl
2009.04.29 08:48 "Re: Libtiff and OpenCV", by Kai-uwe Behrmann
2009.04.29 16:07 "Re: Libtiff and OpenCV", by Bob Friesenhahn

2009.04.29 07:37 "Re: Libtiff and OpenCV", by Andreas Heindl

Kai-Uwe Behrmann schrieb:
> Am 28.04.09, 20:15 +0200 schrieb Andreas H.:
>> is an 8-Bit grayscale tif.
>>
>> andreas@host:$ identify real_604.tif
>> real_604.tif TIFF 1392x1024 1392x1024+0+0 PseudoClass 256c 8-bit
>> 120.99kb
>
> PseudoClass 256c seems <-> grayscale tif
> You should not miss to set the photometric interpretation 
> TIFFTAG_PHOTOMETRIC with TIFFSetField to PHOTOMETRIC_MINISBLACK.
>
> kind regards
> Kai-Uwe Behrmann

Setting this tag results in an one line only image ...

identify real_604_modified.tif
real_604_modified.tif TIFF 1392x1 1392x1+0+0 DirectClass 1-bit 174.096kb

Is there a way to change the Class to PseudoClass because I noticed that 
the output image is always identified as DirectClass 1-Bit and should be
PseudoClass 256c 8-Bit.

Best regards,
Andreas