tiff-decoder
v1.0.1
Published
a node module that decodes information from tiff files based
Downloads
11
Maintainers
Readme
A Node.js module written to decode various information from a Tif/Tiff file. For Now, the module only returns the compression type but more to come later.
How to intall npm i tiff-decoder
How to use
Extracting compression type const fs = require('fs'); const {compression} = require('tiff-decoder'); const data = fs.readFileSync('./CCITT_1.TIF'); compression(data).then(comp => console.log(comp)).catch(err => console.log(err))
Heres a website i used with multiple compression types https://www.fileformat.info/format/tiff/sample/index.htm
Let me know if you have any concerns or questions or any tips for me to make my code more user friendly.
Thanks!