GPHemsley / tiff-js

A JavaScript-based parser for the TIFF image format.
Mozilla Public License 2.0
71 stars 30 forks source link

Image with high resolution does not appear in web page #14

Open rajatcse1 opened 10 years ago

rajatcse1 commented 10 years ago

.tif image with 2000 px X 3000 px does not appear in screen while the canvas is created with that size.

chrishmorris commented 10 years ago

Which browser was this? If you have canvas.toBlob() then you can implement prepareTIFF in a more efficient way.

Secondly, are you sure that the issue is size? There is a silent failure in tiff.js for an unknown compression method, if you replace these with a throw you may find that the image is compressed with an unsupported method.

Gordon, thanks a lot for tiff-js!