Created
May 25, 2020 15:36
-
-
Save sepastian/23f106cab4fae99454211ae4e600071c to your computer and use it in GitHub Desktop.
Annotate images in parallel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Annotate images with respective filename. | |
# Note: quotes must be escaped, or parallel will 'swallow' them... | |
find height_1000 -type f -name '*png' \ | |
| parallel convert \ | |
-verbose \ | |
-background \'#0009\' \ | |
-gravity center \ | |
-fill white \ | |
caption:\"{/}\" \ | |
{} \ | |
+swap \ | |
-gravity south \ | |
-composite {.}.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment