Page 1 of 1

Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Wed Jan 10, 2024 7:19 am
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

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Wed Jan 10, 2024 2:02 pm
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

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Wed Jan 10, 2024 5:10 pm
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

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Thu Jan 11, 2024 9:58 am
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

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Mon Jan 22, 2024 3:40 pm
by chintan.shah
Hello Alex,

In which version or by which date we get fix for this issue?

Re: Array of multiple images send mutiple request for DeserializeAnnotationCollection

Posted: Mon Jan 29, 2024 9:45 am
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