Quoted By:
made an iamgemagick script for automagic shartification:
#!/bin/bash
if [ "$TMPDIR" = "" ]
then
TMPDIR=/tmp
fi
rotation=$(echo "$RANDOM%360"|bc)
widthbackground=$(identify -format "%[fx:w]" "$2")
heightbackground=$(identify -format "%[fx:h]" "$2")
foregroundresizefactor=$(echo "$heightbackground*0.15"|bc)x
foregroundLegalMovingDistanceWidth=$(echo "$widthbackground/2"|bc)
foregroundLegalMovingDistanceHeight=$(echo "$heightbackground/2"|bc)
foregroundActualMovingDistanceWidth=$(echo "$RANDOM%$foregroundLegalMovingDistanceWidth"|bc)
foregroundActualMovingDistanceHeight=$(echo "$RANDOM%$foregroundLegalMovingDistanceHeight"|bc)
if [[ $(echo "$RANDOM%2"|bc) == 0 ]]
then
foregroundActualMovingDistanceWidth=-$foregroundActualMovingDistanceWidth
fi
if [[ $(echo "$RANDOM%2"|bc) == 0 ]]
then
foregroundActualMovingDistanceHeight=-$foregroundActualMovingDistanceHeight
fi
convert "$1" -alpha set -background none -colorspace RGB -trim -rotate "$rotation" -fuzz 10% -transparent White -resize "$foregroundresizefactor" -trim "$TMPDIR/trans.png"
composite -dissolve 70% -gravity center -geometry +"$foregroundActualMovingDistanceWidth"+"$foregroundActualMovingDistanceHeight" "$TMPDIR/trans.png" "$2" "$3"