Last active
August 29, 2015 14:24
-
-
Save deltam/ce21db7692de83dabf5a to your computer and use it in GitHub Desktop.
画像を平行移動してずらす ref: http://qiita.com/deltam/items/63306db4d46224a22b43
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 characters
$ convert A.png -distort Affine '10,10 3,5' B.png |
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 characters
$ convert A.png -distort Affine '10,10 10,10' A2.png | |
$ compare A.png A2.png compare.png |
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 characters
$ convert -version | |
Version: ImageMagick 6.9.0-10 Q16 x86_64 2015-03-09 http://www.imagemagick.org | |
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC | |
License: http://www.imagemagick.org/script/license.php | |
Features: DPC Modules | |
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png xml zlib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment