| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.09.20 14:42 "Re: 1 bit raw file for tiff file format", by Gerben VosGeeta 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. |
|||||||