Hi,
As we are saving annotation in our application using vintasoft. We want to know which file extension it is saved and where we can find that annotated file.
Thank you,
Minal
File extension after annotation save
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: File extension after annotation save
Hi Minal,
Please read about annotations, which are supported by VintaSoft Annotation .NET Plug-in, here: https://www.vintasoft.com/docs/vsimagin ... _Load.html
Best regards, Alexander
Please read about annotations, which are supported by VintaSoft Annotation .NET Plug-in, here: https://www.vintasoft.com/docs/vsimagin ... _Load.html
Best regards, Alexander
-
- Posts: 12
- Joined: Mon Sep 25, 2023 6:20 pm
Re: File extension after annotation save
Hi Alex,
I have tried to save .vsab file using given reference but when I tried to open the same file using Vintasoft I am not able to see my annotation saved in .vsab. Below is my function for save.
I have tried to save .vsab file using given reference but when I tried to open the same file using Vintasoft I am not able to see my annotation saved in .vsab. Below is my function for save.
Code: Select all
try
{
if (multipage)
// get image encoder for multi page image file
encoder = GetMultipageEncoder(_sourceFilename, true, saveAndSwitchSource);
// if single image must be saved
else
// get image encoder for single page image file
encoder = GetEncoder(_sourceFilename, true);
// if encoder is found
if (encoder != null)
{
encoder.SaveAndSwitchSource = saveAndSwitchSource;
AnnotationViewer.Images.SaveSync(_sourceFilename, encoder);
}
else
{
MessageBox.Show("Image encoder is not found.");
}
}
catch (Exception ex)
{
MessageBox.Show("Error while saving");
}
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: File extension after annotation save
Hello,
VintaSoft Annotation .NET Plug-in can save Vintasoft-annotations in annotation packet in Vintasoft Binary annotation format.
Annotation packet in Vintasoft Binary annotation format can be saved separately to a file with file extension ".vsab".
Also annotation packet in Vintasoft Binary annotation format can be saved in metadata of TIFF page.
In your code you are saving annotations to a TIFF file, i.e. you save annotations as annotation packet in Vintasoft Binary annotation format in TIFF page.
Do you display TIFF file with VintaSoft annotations in Vintasoft annotation viewer or in other viewer?
Best regards, Alexander
VintaSoft Annotation .NET Plug-in can save Vintasoft-annotations in annotation packet in Vintasoft Binary annotation format.
Annotation packet in Vintasoft Binary annotation format can be saved separately to a file with file extension ".vsab".
Also annotation packet in Vintasoft Binary annotation format can be saved in metadata of TIFF page.
In your code you are saving annotations to a TIFF file, i.e. you save annotations as annotation packet in Vintasoft Binary annotation format in TIFF page.
Do you display TIFF file with VintaSoft annotations in Vintasoft annotation viewer or in other viewer?
Best regards, Alexander
-
- Posts: 12
- Joined: Mon Sep 25, 2023 6:20 pm
Re: File extension after annotation save
Hi Alex,
Thank you for response.
We want to display TIFF file with VintaSoft annotations in Vintasoft annotation viewer.
Thank you for response.
We want to display TIFF file with VintaSoft annotations in Vintasoft annotation viewer.
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: File extension after annotation save
Hello,
Thank you for information.
Please evaluate VintaSoft Annotation Demo ("[SdkInstallPath]\VintaSoft\Imaging .NET v12.4\Bin\DotNet4\AnyCPU\AnnotationDemo.exe") and see how demo works. Demo allows to open image, add VintaSoft annotations to an image, save image with VintaSoft annotations to a TIFF file, open created TIFF file with annotations.
If you cannot solve your problem, please send us (support@vintasoft.com) small working project, which demonstrates your problem.
Best regards, Alexander
Thank you for information.
Please evaluate VintaSoft Annotation Demo ("[SdkInstallPath]\VintaSoft\Imaging .NET v12.4\Bin\DotNet4\AnyCPU\AnnotationDemo.exe") and see how demo works. Demo allows to open image, add VintaSoft annotations to an image, save image with VintaSoft annotations to a TIFF file, open created TIFF file with annotations.
If you cannot solve your problem, please send us (support@vintasoft.com) small working project, which demonstrates your problem.
Best regards, Alexander