Skip to content

A CLI tool for converting images to/from PAA format

License

Notifications You must be signed in to change notification settings

AdamKearn/paa-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This tool is built using deno and powered by the grad_aff_wasm package made by the amazing devs at Gruppe Adler.

See the below notes for details on using/building this project.

Supported Formats: paa, png, jpeg, jpg, jpe, jfif, bmp, tif, tiff, gif

Usage

For a full list of options/flags run paa-cli --help.

Convert a single file.

This can be used to convert an image to and from PAA format

paa-cli -i "image.png"

Convert all files in a directory.

Optionally you can also pass in -r to convert images in sub-directories.

paa-cli -i "path/to/folder/" [-r]

Convert all PAA's in a directory back to PNG.

The --convert-paa flag tells paa-cli to only target *.paa files when searching directory(s).

paa-cli -i "path/to/folder/" [-r] --convert-paa

Building form source

git clone https://github.com/AdamKearn/paa-cli.git

cd paa-cli

deno run --allow-read --allow-write --allow-env --allow-net .\src\index.ts [args-here]

Download

Linux (x64)

Windows (x64)

MacOS (x64)

MacOS (aarch64)