AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2006.09.20 06:24 "1 bit raw file for tiff file format", by Geeta Sharma
2006.09.20 14:03 "Re: 1 bit raw file for tiff file format", by Andrey Kiselev
2006.09.20 14:31 "Re: 1 bit raw file for tiff file format", by Bernie Pallek
2006.09.20 15:02 "Re: <1 bit raw file for tiff file format>", by Andrey Kiselev
2006.09.20 15:03 "Re: 1 bit raw file for tiff file format", by Joris Van Damme
2006.09.20 14:42 "Re: 1 bit raw file for tiff file format", by Gerben Vos

2006.09.20 14:42 "Re: 1 bit raw file for tiff file format", by Gerben Vos

Geeta Sharma wrote:
>  
> If I take the raw file (RAW_1_bit_180 x 145.raw) and save it as TIFF
> file in Irfan view with No compression.
> Stripbyte count in the generated tiff file(RAW_1_bit_180 x 145
> _Irfan_none.tif) is less than the raw data in  the raw file.

180 pixels horizontal fits in ceil(180 / 8) = 23 bytes,
and 23 x 145 = 3335.

So all pixels should be there.

Most probably, the original raw image aligned the scanlines on two-byte
boundaries instead of on single-byte boundaries like in TIFF, because
24 x 145 = 3480 = the size of the original raw file.

You could try to convert the raw file as a 192 x 145 pixel image to see
the padding bits as pixels (24 x 8 = 192).

					Gerben Vos.