mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
convert-to-greyed-out-image.sh: Improved grey-out algorithm in convert-to-greyed-out-image.sh
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
c0b7a4e145
commit
10c9a659bf
1 changed files with 5 additions and 1 deletions
|
|
@ -6,8 +6,12 @@ out=`echo $1 | sed 's/\.\([^.]\+$\)/-greyed-out.\1/'`
|
|||
#convert -monochrome -opaque \#e5e5e5 $in $out
|
||||
#convert -modulate 100,40 $in $out
|
||||
#convert +level 25% $in $out
|
||||
convert +level 30% $in $out
|
||||
#convert +level 30% $in $out
|
||||
#convert -colorspace Gray $in $out
|
||||
#convert +level 30% -colorspace Gray $in $out
|
||||
convert -colorspace Gray +level 30% -brightness-contrast 35 $in $out
|
||||
|
||||
# TODO: overlay same image, 1px shifted down and right, with different gray level
|
||||
|
||||
# ------------------------------------------------
|
||||
#convert small.miff -modulate 100,40 small-grey.miff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue