1994.08.19 14:25 "Tiff problems", by Kevin Stultz

1994.08.19 14:25 "Tiff problems", by Kevin Stultz

I using TIFF v1.36 on a DOS machine. I got the code for John Levine's book "Programming for Graphics files in C and C++.

When I attempt to do a TIFFWriteScanline it displays the error message must set Planar Configuration, and I have already set the planar configuration to PLANAR_CONTIG using TIFFSetField. I do not understand why I am getting this error. I commented out the error checker in the library routine and recompiled and I am able to store a grey scale tiff file but some program are unable to read it. I was wondering if there is a bug in the library or if I am doing something wrong.

Also the documentation I have is unclear on how I should set the strip offsets tag. It says it is required but I understand how to set it. (typo above) The manual says the tag must be set but I do not understand what I am supposed to set it to.

Thank you in advance

Kevin Stultz