Skip to content

Instantly share code, notes, and snippets.

@shmatov
Created January 7, 2014 16:30
Show Gist options
  • Save shmatov/8302000 to your computer and use it in GitHub Desktop.
Save shmatov/8302000 to your computer and use it in GitHub Desktop.
GraphicsMagick thumbnail.
gm convert original.jpg -thumbnail 200x200^ -gravity center -extent 200x200 +profile "*" thumbnail.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment