Last active
December 16, 2015 15:19
-
-
Save rtanglao/5455047 to your computer and use it in GitHub Desktop.
make a 200x200 jpeg out of 100,000 75x75 images (I am not sure this will actually work)
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
gm montage -verbose -adjoin -tile 200x200 +frame +shadow +label -adjoin -geometry '75x75+0+0<' @first40000.txt first40000.jpg #This worked!!!! | |
find . -name '*.jpg' -exec montage -tile 200x200 {} + #first try that didn't work | |
find . -name '*.jpg' -exec montage -tile 200x200 {} montage.jpg \; #second try that i think will work | |
find . -name '*.jpg' -exec montage -adjoin -tile 316x316 {} montage.png \; # third try? | |
find . -name '*.jpg' -exec montage -verbose -adjoin -tile 316x316 +frame +shadow +label -adjoin -geometry 75x75+0+0 {} montage.png \; | |
# fourth try - error: all white iamge produced! | |
# http://www.imagemagick.org/Usage/montage/#montage | |
# http://jamietalbot.com/2011/01/31/you-need-a-montage/ | |
ls -tr > files.txt | |
gm montage -verbose -adjoin -tile 316x316 +frame +shadow +label -adjoin -background -geometry 75x75+0+0 @files.txt montage.jpg #the winner! | |
gm montage -verbose -adjoin -tile 335x335 +frame +shadow +label -adjoin -geometry '75x75+0+0<' @files.txt montage5.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment