Last active
October 25, 2016 14:03
-
-
Save codyjlandstrom/8d5f12729d6f7b8cef49f401913f2baa to your computer and use it in GitHub Desktop.
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
| # Set formatting options to save titles | |
| convert *.psd -set filename:base "%[base]" "%[filename:base].png" | |
| # Convert frame from video to image | |
| convert input.mp4[100] thumbnail.png | |
| # The [100] tells ImageMagick to take the 100th frame from input.mp4. | |
| # Scale and crop image to center | |
| convert myPhoto.jpg -resize 200x200^ -gravity Center -crop 200x200+0+0 +repage myThumb.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment