envi-image-reader
v0.0.1
Published
Process images from the ENVI geospatial analysis software
Downloads
23
Maintainers
Readme
ENVI image reader
Process images from the ENVI geospatial analysis software.
Usage
import { EnviImage } from 'envi-image-reader/image';
// headerFile and bilFile must be File objects
const image = new EnviImage(headerFile, bilFile);
await image.loading; // Wait until the image header has been read
console.log(image.headerData); // Object with header metadata
const channels = [0, 1, 2]; // specify the channels to read
const data = await image.getBilData(channels); // Uint8ArrayContributing
Publication to npm
To publish a new version of the package to npm, create a git tag in the format vX.Y.Z. Leave the version in package.json unchanged.
