Created
October 1, 2013 15:32
-
-
Save mnn/6780318 to your computer and use it in GitHub Desktop.
Converts wallpaper picture to 1920x1080 dual monitor setup - left monitor filled with gray, right with input image. Uses ImageMagick.
This file contains 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
#!/bin/bash | |
if [ "$#" -ne 2 ]; then | |
echo "$0 <input_file> <output_file>" | |
exit 1 | |
fi | |
convert "$1" -resize 1920x1080 -background "#222222" -gravity east -extent 3840x1080 "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment