1.0.1 • Published 5 years ago

tiff-decoder v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

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!