Skip to content

Instantly share code, notes, and snippets.

@u1tnk
Created April 18, 2011 13:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save u1tnk/925293 to your computer and use it in GitHub Desktop.
Save u1tnk/925293 to your computer and use it in GitHub Desktop.
ImageMagickで指定サイズで空白を埋める。
convert input.jpg -resize 1024x1024\> -size 1024x1024 xc:white +swap -gravity center -composite output.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment