| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2010.01.07 18:25 "Re: create simple tiff", by Kavallieratou ErginaThank 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 On Thu, 7 Jan 2010, Kavallieratou Ergina wrote: > > 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. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||