Closed dy closed 4 years ago
With this file test_pattern.zip
I get
(node:10904) UnhandledPromiseRejectionWarning: Error: invalid compression: 8
at TIFFDecoder.readStripData (C:\projects\image-decode\node_modules\tiff\lib\index.js:813:17)
Also, that decodes this file: test_pattern.zip
Completely wrong:
Tests do not seem to cover data validity right now.
Yeah, the readme mentions that we do not support compressed images yet. Thanks for the report and examples, though. I will not have time in the near future to work on it, but would be happy to review pull requests.
Got you. Well, I moved to utif in image-decode and pretty happy with that. Possibly there is a sense to transition to image-decode in image.js, I could transfer this repo to the org. (by coincidence I run audiojs and state of affairs there is the same).
LZW is now supported
I am trying to decode this file test_pattern.zip
I get
Not sure this error is valid.