Skip to content

Super Light and Fast Method for Checking if a TIFF is a GeoTIFF

License

Notifications You must be signed in to change notification settings

GeoTIFF/is-geotiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-geotiff

Super Light and Fast Method for Checking if a TIFF is a GeoTIFF

install

npm install is-geotiff

usage

const fs = require("fs");
const isGeoTIFF = require("is-geotiff");

const buffer = fs.readFileSync("./example.tiff");

const { result } = isGeoTIFF({
    data: buffer,
    debug: false // set debug to true for increased logging
});
// result is true

About

Super Light and Fast Method for Checking if a TIFF is a GeoTIFF

Resources

License

Stars

Watchers

Forks

Packages

No packages published