Quicky convert shape files to images
- From: Killian De Volder <killian de volder megasoft be>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Quicky convert shape files to images
- Date: Sun, 24 Feb 2013 18:58:28 +0100
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]