2009.12.07 16:06 "[Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Phillip Wiles

2010.01.07 18:25 "Re: [Tiff] create simple tiff", by Kavallieratou Ergina

Thank you Bob for the fast answer. I appreciate it.

You did not say what format the data accessed via imagen->data[] is.

I am sorry it is unsigned char ** data.

The data needs to be packed the same as TIFF, with each 8-bit byte representing 8 pixels.

How can I do that, please? could you give me a sign?

thank you in advance

gin

________________________________________ From: Bob Friesenhahn [bfriesen@simple.dallas.tx.us] Sent: Thursday, January 07, 2010 8:05 PM To: Kavallieratou Ergina Cc: tiff@lists.maptools.org Subject: Re: [Tiff] create simple tiff

However a black image is created in the file with small white lines. what am I doing wrong?

You did not say what format the data accessed via imagen->data[] is. The data needs to be packed the same as TIFF, with each 8-bit byte representing 8 pixels.