I am attempting to create an avi from a series of tiff files on the hard drive. The tiff files are 8-bit files and I can create the avi from them with no problem. What I want to do is to convert them to RGB images and apply a user defined color palette to them and save the resulting RGB images in a tiff file. This doesn't seem to work, or at least, not the way I am trying to do it. I was hoping someone could have a look at my sample code and tell me what the problem is. It is supposed to take each file in a particular directory and write it into an avi. As I said, this same approach works perfectly if I don't try to convert the tiffs to RGB. I did modify the img0 interface to be NTSC so that it would initialize for RGB i
mages.
Any help would be greatly appreciated.