For AI agents: the complete documentation index is available at /pds2img/llms.txt, the full documentation bundle is available at /pds2img/llms-full.txt, and this page is available as Markdown at /pds2img/api/index.md.

API Overview

Everything is exported from the package root. Loaders turn files, buffers or URLs into an image object, and encoders turn that object into a PNG or TIFF file.

import { loadPDS3ImageByFile, toPNG, version } from 'pds2img';

The package also exports two metadata constants: version (for example '0.2.3') and date, the build date in ISO 8601 format.

Loaders

Images

Encoders

Parsers

Types