Skip to content

Instantly share code, notes, and snippets.

View hollanderbart's full-sized avatar
💭
📱

Bart den Hollander hollanderbart

💭
📱
View GitHub Profile
@hollanderbart
hollanderbart / grayscale-all-png.sh
Created March 20, 2018 13:10
Grayscale all image in current folder (PNG)
#!/bin/sh
mogrify -colorspace Gray -format png *.png
@hollanderbart
hollanderbart / add-title-to-all-png.sh
Created March 20, 2018 13:10
Add a title to a image (PNG)
#!/bin/zsh
if [[ ! -e output ]]
then
echo creating output directory
mkdir output
else
echo clearing output folder
rm -rf output
echo creating output directory
mkdir output