An open API service indexing awesome lists of open source software.

https://github.com/dzucconi/alt-spelling

CLI tool to interlace images
https://github.com/dzucconi/alt-spelling

Last synced: 8 months ago
JSON representation

CLI tool to interlace images

Awesome Lists containing this project

README

          

# alt-spelling

Install dependencies:

```
pipenv install
```

Run the script:

```
$ pipenv run python3 script.py --help
```

```
usage: script.py [-h] [--width WIDTH] [--height HEIGHT] [--size SIZE]
[--dpi DPI] [--anchor ANCHOR] [--filename FILENAME]
[--dir DIR] [--hue HUE]

optional arguments:
-h, --help show this help message and exit
--width WIDTH Target width in inches
--height HEIGHT Target height in inches
--size SIZE Size in pixels to slice tiles
--dpi DPI Target dots per inch
--anchor ANCHOR Crop anchor position
--filename FILENAME Output filename
--dir DIR Directory to process
--hue HUE Rotate hues
```

Example:

```
$ pipenv run python3 script.py --width=30 --height=36 --dir=source/example/*.jpg
# => Cropping ████████████████████████████████ 100%
# => Building map...
# => Building output...
# => Processing ████████████████████████████████ 100%
# => Saving...
# => Done.
```