Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View a multipage TIFF in Javascript

I currently have multi-paged TIFF images and I need to browse them page by page via Javascript.

I have no clue about that. Can you help me? I found some other questions but none seems related to Javascript.

Thank you.

like image 369
usr-local-ΕΨΗΕΛΩΝ Avatar asked Mar 10 '11 16:03

usr-local-ΕΨΗΕΛΩΝ


People also ask

Can browsers display TIFF?

Solution 1. You can't show the tiff image on browser, because it is not render-able image format for browser. Better you can convert the tiff image's stream into base64 string then put it into img tag's src attribute.

How do I view multiple pages of TIFF on Iphone?

iOS do not open multipage tiff. You can use Tiff Explorer ios Application which can open not only multipage tiff , but also converts them to pdf. It can also be integrated with your Dropbox , Box and Email for importing documents.


1 Answers

I ported the LibTIFF library to Javascript with Emscripten (https://github.com/seikichi/tiff.js). This page (http://seikichi.github.io/tiff.js/multipage.html) is the demo of multipage tiff file.

like image 106
seikichi Avatar answered Sep 22 '22 10:09

seikichi