Skip to content

Instantly share code, notes, and snippets.

View vencax's full-sized avatar
😀

Václav Klecanda vencax

😀
View GitHub Profile
#!/bin/bash
for file in `find . -type f -iname "*.png"`
do
echo -n "processing $file ... "
isWhite=`convert $file -colorspace HSL -channel g -separate +channel -format "%[fx:mean]" info:`
if [ "$isWhite" == "0" ]
then