-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoding TIFF very slow #580
Comments
Okay, this is probably because the uncompressed version of this TIFF is over 1 GiB |
Did you try to load the uncompressed image ? I'm able to load uncompressed tiff of 1.5Gb in just couple of seconds. In tiff the compression could be Zip or LZW. This can be checked using the command (from ImageMagick):
You may open an issue with an image example in the project https://github.com/image-js/tiff. You may also open a PR if you see how to improve performances. |
Yes, I tried that and got similarly poor performance I will open an issue there |
I created the issue in image-js/tiff#41 |
I also noticed that Image.getRGBAData() is quite slow (~ 80ms per page for the image I'm using) |
I'm using image-js to decode multipage TIFF images. However, the performance is really poor. I have a 32 page TIFF for example, which takes almost 2 minutes to decode in Chrome on a decent machine. I'm using
Image.load(tiffBytes)
to decode the image. Is there any chance I could speed up the decoding time as this is almost unbearable for the end user?The text was updated successfully, but these errors were encountered: