rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.4.4-Q16
%im%\convert.exe -size 300x225 xc:none -fill white -draw "roundrectangle 0,0,94,224,10,10" -matte -channel rgba ( sf2.jpg -colorspace gray -fill #c06030 -colorize 30% ) -compose src_in -composite sample729a.png
%im%\convert.exe -size 300x225 xc:none -fill white -draw "roundrectangle 100,0,194,224,10,10" -matte -channel rgba ( sf2.jpg -colorspace gray -fill #50b030 -colorize 30% ) -compose src_in -composite sample729b.png
%im%\convert.exe -size 300x225 xc:none -fill white -draw "roundrectangle 200,0,294,224,10,10" -matte -channel rgba ( sf2.jpg -colorspace gray -fill #3040c0 -colorize 30% ) -compose src_in -composite sample729c.png
%im%\convert.exe sample729a.png sample729b.png sample729c.png -flatten sample729d.png
元画像(sf2.jpg)

出力画像(sample729d.png)

No comments:
Post a Comment