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
January 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!



2009.01.11 22:12 "Setting of BitsPerSample", by Wendell Dingus

I've got a bunch of TIFF images produced by a company out of my control
which do not contain tag 258. As such it's causing me some grief in some
other software, software that expects that tag to be there. So I've tried to
manually set it, I know they're monochrome, but I can't seem to set the tag.


Thanks. 

$ tiffinfo bps.tif 
TIFF Directory at offset 0x2f406 (193542) 
Image Width: 6760 Image Length: 5273 
Resolution: 300, 300 pixels/inch 
Compression Scheme: CCITT Group 4 
Orientation: row 0 top, col 0 lhs 
Planar Configuration: single image plane 
ImageDescription: TIFF FILE 

$ md5sum bps.tif 
e7202444bbf3643330908b85a09d7039 bps.tif 

$ tiffset -s 258 1 bps.tif 

$ tiffinfo bps.tif 
TIFF Directory at offset 0x2f4aa (193706) 
Image Width: 6760 Image Length: 5273 
Resolution: 300, 300 pixels/inch 
Compression Scheme: CCITT Group 4 
Orientation: row 0 top, col 0 lhs 
Planar Configuration: single image plane 
ImageDescription: TIFF FILE 

$ md5sum bps.tif 
d3f7e258c69bfa36874c8bc05deff076 bps.tif