2009.12.07 16:06 "[Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Phillip Wiles
- 2009.12.08 17:53 "Re: [Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Phillip Wiles
- 2009.12.08 18:11 "Re: [Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Juergen Buchmueller
-
2010.01.08 00:13 "[Tiff] can please anybody help?", by Kavallieratou Ergina
- 2010.01.07 17:42 "[Tiff] create simple tiff", by Kavallieratou Ergina
- 2010.01.08 00:39 "Re: [Tiff] can please anybody help?", by Brad Hards
- 2010.01.08 23:53 "[Tiff] me again...", by Kavallieratou Ergina
2010.01.09 01:14 "Re: [Tiff] me again...", by Bob Friesenhahn
I am not sure if in either of
TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, 1);
TIFFSetField(out, TIFFTAG_BITSPERSAMPLE, 1);
>
the 1 should be 8. I tried all of them but the program always stops at the same point. any more suggestions? Please help!
If you are not willing to adjust your data, then you can set TIFFTAG_BITSPERSAMPLE to match the actual type you are using. For example, if your data is stored in 'unsigned char' then you could set TIFFTAG_BITSPERSAMPLE to 8 even though it is 8X less space efficient than using a bit-map.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/