LoginSignup
2
1

More than 5 years have passed since last update.

ImageMagickでよく使うメモ

Last updated at Posted at 2017-02-10

透明部分以外を黒塗りにしたい

convert in.png -fill black -colorize 100 out.png
in.png out.png
in.png out.png

-colorizeの値を変えると塗る量を調節できます。

convert in.png -fill black -colorize 70 out.png
in.png out.png
in.png out.png

ドット絵を拡大したい

convert icon015.png -sample 480x480 item.png
icon015.png item.png
icon015.png item.png

タイル状の画像を分割したい

convert sprite.png -crop 32x32 icon%03d.png

参考

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1