| 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 |
Thread1997.01.15 21:28 "Re: TIFFWriteScanline", by Ed GrissomI think everyone is missing the boat here, Rajat says he has a "single plane image" TIFF 6.0 says... "If SamplesPerPixel is 1, PlanarConfiguration is irrelevant, and need not be included" So the direct answer to his question is "Don't set TIFFTAG_PLANARCONFIG at all for single plane images" -- ed grissom egrissom@ingr.com >---------- >From: Adam Jenkins[SMTP:ajenkins@boogah.cs.umass.edu] >Sent: Wednesday, January 15, 1997 9:54 AM >To: Rajat Varma >Cc: tiff@sgi.com >Subject: TIFFWriteScanline > >Rajat Varma writes: > > > > I am trying to write an image using TIFFWriteScanline. > > > > Using TIFFSetField I could set tags for imagewidth and imagelength, how > > do I set the tag TIFFTAG_PLANARCONFIG for a single plane image, rather > > what is the tag value for that. > > > > > >TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_SEPARATE); >for separate planes, or > >TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); >for contiguous/single plane. > >Adam > >-- >Adam P. Jenkins >mailto:ajenkins@cs.umass.edu > >University of Massachusetts/Amherst >Office Number: (413) 545-3506 > |
|||||||