Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
- Posts: 1
- Joined: Thu Oct 16, 2008 12:16 am
Some questions about the product and code.
1. I can't get the image to save when I use the TiffEncoder parm to the save method.
Code: Select all
ImageCollection images = new ImageCollection();
string sConvertedFile = @txtbxWorkingfolder.Text + @"\converted\" + sTifFileName;
images.ImageSaved += new ImageSavedEventHandler(images_ImageSaved);
Vintasoft.Imaging.Encoders.TiffEncoder tifEncoder = new Vintasoft.Imaging.Encoders.TiffEncoder(true, Vintasoft.Imaging.Tiff.TiffCompression.CCITGroup4);
2. Is there a way to maintain the tiff tags when saving the file after processing it?
- Site Admin
- Posts: 1486
- Joined: Thu Jul 10, 2008 2:21 pm
-> 1. I can't get the image to save when I use the TiffEncoder parm to the save method.
Why do you use the Save method twice? Save method initializes saving process in a separate thread so you need to wait while the first saving process will be finished and only then start next saving process. You can execute two Save methods simultaneously only for different collections. Please see description of the Save method in documentation.
-> 2. Is there a way to maintain the tiff tags when saving the file after processing it?
Version 2.0 does not allow to do this, we will add opportunity to add, edit and delete tags of TIFF file in next version.
Best regards, Alexander