I want to open tiff
images in the pdftron webviewer.I am able to open pdf
files jpeg
,PNG
images and MS Docs
as well. But for tiff images, I am unable to open. I want to open tiff images using the AddImageTest.js
source code. How to utilize this source code to open tiff images in PDFTron Webviewer in Angular7.
?
You can refer to this page which is a modified version of the AddImageTest code to view a tiff file https://www.pdftron.com/documentation/web/faq/load-tiff/
The key part is that you can call loadDocument and pass in the PDFDoc object to display in the viewer.