> 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
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig