Array of multiple images send mutiple request for DeserializeAnnotationCollection

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
jwalit.katira
Posts: 31
Joined: Mon Sep 18, 2023 1:41 pm

Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by jwalit.katira »

Hello,

In ASP.NET Core API When we are trying to open multiple file using array of jpg using openfile() Method , it send multiple request for DeserializeAnnotationCollection method even though only one image is display on document viewer.

Can you please share your input

Thanks
Jwalit Katira
Alex
Site Admin
Posts: 2293
Joined: Thu Jul 10, 2008 2:21 pm

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by Alex »

Hello Jwalit,

If you are using WebAnnotationVieweJS control, the control gets information about annotations for each image loaded in viewer.

Best regards, Alexander
jwalit.katira
Posts: 31
Joined: Mon Sep 18, 2023 1:41 pm

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by jwalit.katira »

Hello Alex,

We are using documentviewer and imageviewer below is the code how we call from JS

Code: Select all

 let images = [
      "0.jpg",
      "1.jpg",
      "2.jpg",
      "3.jpg",
      "4.jpg",
      "5.jpg",
 ]
 
imageViewer = docViewer.get_ImageViewer();

imageViewer.get_Images().openFiles(images);
and even if its annotation viewer why do control gets information about annotations for each image when only first image is rendering

Let me know if this behavior can be changed

Thanks
Jwalit Katira
Alex
Site Admin
Posts: 2293
Joined: Thu Jul 10, 2008 2:21 pm

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by Alex »

Hello Jwalit,

Yes, WebAnnotationViewerJS control loads all annotations for all images in viewer when images are added to the viewer. We will improve this algorithm in the future.

Best regards, Alexander
chintan.shah
Posts: 13
Joined: Wed Sep 13, 2023 11:56 am

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by chintan.shah »

Hello Alex,

In which version or by which date we get fix for this issue?
Alex
Site Admin
Posts: 2293
Joined: Thu Jul 10, 2008 2:21 pm

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Post by Alex »

Hello Jwalit,

This performance problem is not critical and has effect only if many images are loaded in viewer. We will notify you when problem is fixed. Now I cannot give you the exact date.

Best regards, Alexander
Post Reply