Command line
The package includes a pds2img command.
Options
Use either -i or -d, not both.
Examples
How inputs are resolved
- A
.xmlpath is read as PDS4. The data file comes from<file_name>in the label. - A
.IMGpath is read as PDS3 with the.LBLfile of the same name (.LBLor.lbl). - A base path without an extension is tried as PDS3 (
.IMG+.LBL) first, then as PDS4 (.xml). - In directory mode, every
.IMGwith a matching.LBL, and every.xml, is converted. Output files are named after the source file.
Windows
In PowerShell, run ./bin/pds2img.cmd from a repository checkout.
Running from a checkout
The CLI loads the built library from dist/, so build it first: