Last active
December 23, 2015 16:49
-
-
Save sepastian/6664140 to your computer and use it in GitHub Desktop.
Imagemagick recipies.
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
# Arange several images into a single images consisting of 1 tile per image. | |
# The final image will consist of a single row of 4 images, | |
# each 1200x in size, with 20 pixels padding around each border. | |
# The background color of the output image is black. | |
$ montage -tile 4x1 input_image_1 input_image_2 input_image_* -geometry 1200x+20+20 -background black output.jpg | |
# Center an original image above a white background that is larger than the original image. | |
$ convert -gravity Center INPUT.png -background white -extent 600x650 OUTPUT.png | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment