Re: Quicky convert shape files to images



-filter cubic -define filter:b=1.3 -define filter:c=1.3
<= This seems to produce sharper results.

Killian De Volder


On 24-02-13 18:58, Killian De Volder wrote:
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



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