gha-utilities/ImageMagick GHA
GitHub Action wrapper for ImageMagick for file conversion and/or manipulation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source_directory | Directory passed to `find` for finding files | yes | — |
| find_regex | Regular Expression passed to `find` to limit found files, example "*.png" | yes | — |
| find_regextype | Regular Expression type passed to `find` available values are; "emacs", "posix-awk", "posix-basic", "posix-egrep", or "posix-extended" | yes | emacs |
| exec_magick | Executable name, with optional path, to ImageMagick executable | yes | magick |
| destination_extensions | Comma separated list of file extensions parsed and passed to `magick`, example "jpeg,avif" | yes | — |
| magick_opts | Additional parameters to pass to `magick` for each found file and destination extension | no | — |
| destination_name_prefix | Optional prefix for output file names | no | — |
| destination_name_suffix | Optional suffix for output file names | no | — |
| destination_clobber | Enable clobbering preexisting files by setting to `1` | no | 0 |
| verbose | Enable `printf` logging by setting non-zero integer value | no | 0 |
Outputs
| name | description |
|---|---|
| found | New-line separated list of file paths found with `find` and provided inputs |
| wrote | New-line separated list of file paths written by `magick` with provided inputs |
| failed | New-line separated list of file paths `magick` failed to write |