tiff-js
tiff-js copied to clipboard
Image with high resolution does not appear in web page
.tif image with 2000 px X 3000 px does not appear in screen while the canvas is created with that size.
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!