2010.05.11 19:46 "[Tiff] bmp2tiff questions", by Thomas Richter
just another question: I've just discovered a feature of bmp2tiff:
If I feed this program with a 555bmp file, that is, 16 bits/pixel input,
I get a tiff as output that looks invalid to me. Specifically, it does not bitpack the file correctly. Instead of packing five bits of red, green and blue next to each other as it should, the code simply writes out the bmp contents/samples without removing the "0" pad-bit bmp inserts to complete a 16 bit word.
Is this a bug? Or is tiff containing 5-5-5 samples defined with a
pad-bit? I don't see this anywhere in the specs.