Please give a brief summary of your issue:
Loading an image in viewer is not consistent from Web, Android and iOS.
Please describe your issue and provide steps to reproduce it:
I’m converting and loading an image (png) inside the viewers in web, iOS and Android and when I create an annotation on this image, there is an offset and a scale difference between platforms. (see picture below with the red circle annotation). When I load a PDF, the annotations are consistent but not with the image. What am I doing wrong please ? Thanks in advance,
In web, I’m converting and loading the image file like this:
To keep the image sizes consistent between different platforms, you would have to adjust the page size option.
“PageSizes” is a page-sized array of 2 number [xPoints yPoints] arrays. determines the output page size in points.