Created
July 30, 2015 10:12
-
-
Save namikuguri/18f1c55c0543e2112b73 to your computer and use it in GitHub Desktop.
Revisions
-
thleap created this gist
Jul 30, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # ImageMagick 画像サイズを縦横比維持したまま縮小(幅2560px -> 1280px): ```sh mogrify -resize 1280x -unsharp 2x1.4 -verbose dest/*.png ``` 画像の一部を裁ち落とし: ```sh mogrify -crop '1280x682+0+118' -verbose dest/*.png ``` - http://d.hatena.ne.jp/weblinuxmemo/20090929/p1 - http://www.ecoop.net/memo/archives/imagemagick_reverse_lookup.html