rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.4.8-Q16
%im%\convert.exe sf.jpg -matte -channel rgba ( -size 200x200 gradient:#ffffffff-#00000000 -distort SRT 45 ) -compose dst_in -composite sample912a.png
rem 市松模様と重ね合わせ
%im%\convert.exe -size 200x200 pattern:CHECKERBOARD sample912a.png -composite sample912b.png
元画像(sf.jpg)
出力画像1(sample912a.png)

出力画像2(sample912b.png)

関連項目
ImageMagickとPHPで回転させた半透明グラデーションで画像を切り取る
No comments:
Post a Comment