Re: Quicky convert shape files to images



Greetings, Killian De Volder!

PS results look like this:

On 24-02-13 18:58, Killian De Volder wrote:
Wanted to convert shape files fast, came up with this:

Is this ImageMagick?


#!/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



--
WBR,
Andrey Repin (anrdaemon freemail ru) 24.02.2013, <23:30>

Sorry for my terrible english...



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