[Image-SIG] Re: 2-band image
David Smith
areopagus125 at yahoo.com
Fri Jan 28 19:29:36 CET 2005
> David Smith wrote:
>
> > I wrote a C++ program that internally produces
> what
> > amounts to a 2-band image. (The bands are the
> > horizontal and vertical components of a
> displacement
> < field over the plane.) I added code using libtiff
> to
> > write out a Tiff file that has two 1-byte samples
> per
> > pixel. PIL won't accept this file, raising an
> > exception:
>
> can you mail me an example?
>
> </F>
I've emailed Fredrik an example off list.
Continuing to look over Libtiff and PIL documentation,
it looks to me like the best ways to store 2-band
images is to drop them into RGB, or to use image
sequences.
-- David
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the Image-SIG
mailing list