Skip to content

johnthad/tiff-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Displaying TIFF with tiff.js and HTML5 Canvas

This is a demo of tiff.js for decompressing and displaying a TIFF Group 4 image in a browser. The original image is 300dpi, and so cannot fit onto the screen. Therefore while the <canvas> is full-size, its style is set to 30%.

Alt "TIFF in Canvas"

My thanks to Miles Elam (@mileselam) for explaining to me how to make a high resolution <canvas>.

I have written up more about this demo on Medium.

About

Displaying TIFF with tiff.js and HTML5 Canvas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages