Quicky convert shape files to images



Wanted to convert shape files fast, came up with this:

#!/bin/bash
import $1
convert -fuzz 15% -trim \
-filter cubic -resize 190x190 \
-background white -gravity center -extent 200x200 \
-resize 20x20 \
-gamma 0.5 \
$1 $1
#-fuzz 15% -transparent white \ #If white should be transparent
#viewnior $1

--
Killian De Volder



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]