How do I get the DPI of TIFF image in angular?

How do I get the DPI of a TIFF image? Is it possible using the WebViewer?

Hello leonard.okiti,

Thank you for reaching out! We only support TIFF files through conversion, so getting the DPI would be through the PDF.

Using WebViewer you can set the DPI for rendering purposes, you can control the resolution by adjusting the canvas multiplier. The setCanvasMultiplier API can be used for this purpose. Here’s the link to the API documentation for reference: setCanvasMultiplier API.

For image files, DPI can sometimes be retrieved from the image metadata, this would not be through WebViewer.

Best regards,
Tyler Gordon