rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.7-Q16
%im%\convert.exe -size 240x240 xc:black -matte -channel rgba ( -size 200x200 xc:black ) -gravity center -compose minus -composite -blur 0x20 -crop 200x200+0+0 +repage ( sf.jpg -contrast ) +swap -composite ( sf.jpg +contrast -fill #d1dd30 -tint 105 -matte -channel a -fx "0.4" -channel rgba -blur 0x1 ) -composite sample304a.png
元画像(sf.jpg)
出力画像(sample304a.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgilmtfDcB8Ro6R0zBxTnt3ixXFp3PQ6En0RldlURqFXcUk7bEy0D3DLMP6JT_mstE3XGaNoNVEi79bt6XeFrUmEH9fz9dSRXoPPaMD9TJlTWLm3SFtl1SHGsCnDCew5sZtOLgr/s320/sample304a.png)
関連項目
RMagickで画像を黄色っぽくして端を暗くする