Re: Quicky convert shape files to images
- From: Killian De Volder <killian de volder megasoft be>
- To: dia-list gnome org
- Subject: Re: Quicky convert shape files to images
- Date: Sun, 24 Feb 2013 21:47:05 +0100
-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]