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
May 2010

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

2010.05.11 19:46 "bmp2tiff questions", by Thomas Richter
2010.05.11 20:14 "Re: bmp2tiff questions", by Joris Van Damme
2010.05.12 16:56 "Re: bmp2tiff questions", by Bob Friesenhahn

2010.05.11 19:46 "bmp2tiff questions", by Thomas Richter

Hi folks,

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.

Thanks,
	Thomas