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
February 2006

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

2006.02.09 10:28 "Cannot create Planar Separate tiff", by Michael Dorrian
2006.02.09 15:06 "Re: Cannot create Planar Separate tiff", by Bernie Pallek

2006.02.09 15:06 "Re: Cannot create Planar Separate tiff", by Bernie Pallek

> I cannot seem to create a planar Separate Tiff. One strip is 
> all R bytes then the next is all green bytes then the next is 
> all Blue bytes. Say i have three strip image i have many 
> rows(rows*strips=Image Length). I mean exactly 3 strips with 
> no extra couple of rows at the bottom. Do i set the first 
> strip to all Red bytes, the next to all green and the next to 
> all blue. I am using TiffWriteEncodeStrip to write each 
> strip. Is this correct?. Then if i do this should my output 
> be correct or is my method wrong?. Sorry if this is a silly 
> question because maybe i am doing something wrong in my 
> pogram if themethod above is right......

I think you have the correct idea.  Are you remembering to set
PhotometricInterpretation (262) to RGB (2)?  Perhaps you can run tiffdump on
your resulting file, and check to make sure that everything "looks right"
(or post the results to the list for others to check over).

Take note that planar config is not part of baseline support according to
the 6.0 spec, so some readers might not support it.