You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
203 B
7 lines
203 B
11 years ago
|
#!/bin/bash
|
||
|
input="$1"
|
||
|
output=`basename "$1"`
|
||
|
output="images/${output%.*}.png"
|
||
|
|
||
|
convert "$input" -sigmoidal-contrast 3,50% -resize 1024x1024^ -gravity center -extent 1024x1024 -colorspace Gray "$output"
|