tiff
tiff copied to clipboard
TIFF image decoder written entirely in JavaScript
When I try to decode a 32 page TIFF file (either LZW compressed or uncompressed), I get very poor performance. The decoding takes over a minute and in that time,...
Hello, I have been looking for an npm package that is able to handle multi-page tiff files. Both the .pageCount() & .isMultiPage() are working great but I am getting an...
Make a PR where: - [ ] we export the `TiffIfd` type - [ ] the I for interface are removed
Looking at the spec: https://www.fileformat.info/format/tiff/corion-lzw.htm > The function GetNextCode() retrieves the next code from the LZW- > coded data. It must keep track of bit boundaries. It knows that >...
Error message: ` Uncaught TypeError: Cannot read property 'length' of undefined at TIFFDecoder.readStripData (.../node_modules/tiff/lib/tiffDecoder.js:180:42) at TIFFDecoder.decodeImageData (.../node_modules/tiff/lib/tiffDecoder.js:151:22) at TIFFDecoder.decodeIFD (.../node_modules/tiff/lib/tiffDecoder.js:100:18) at TIFFDecoder.decode (.../node_modules/tiff/lib/tiffDecoder.js:54:30) at Object.decodeTIFF [as decode] (.../node_modules/tiff/lib/index.js:10:20) ` This...
It would be interesting to have an option to always return 4-component alpha representation, even if the image is only 3-channel. The idea being that you can then directly use...
:robot: I have created a release *beep* *boop* --- ## [6.0.0](https://github.com/image-js/tiff/compare/v5.0.3...v6.0.0) (2023-12-22) ### ⚠ BREAKING CHANGES * removed `firstImage` option, use `pages` option instead. ### Features * add `pages` option...
closes #52