Hi, I have several Tif files (single page) and I want to read them to create a new Tif file multipaged (combining the single images).
I've "played" with the TiffEncoder object but in every loop it overwrites the file with the new single page image. I'm using the version 4.0
--------------------------------------
TiffEncoder tifenc = new TiffEncoder(TiffCompression.Default, true);
for(int x=0;x<arrayImages.Count;x++)
{
FileStream fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + @"\tmp\" + fullfilename,FileMode.Create,FileAccess.ReadWrite);
tifenc.Save(fs,AtalaImage.FromBitmap((Bitmap)arrayImages[x]), null); //arrayImages contains previously read images
fs.Close();
fs.Dispose();
fs = null;
}
tifenc = null;
-----------------------------------------
Note: files are already existing, I don't scan them and (if is is possible) I would avoid to load them in a Workspaceviewer
Probably I missed something...
Silvio