Even most basic montage not producing anything usable linux
Posted: 2013-08-12T10:39:31-07:00
I'm trying to use the montage command for the most basic tasks, but am having troubles getting anything to work right. I've spend a few hours searching online for a possible solution but have come up empty handed and was hoping someone could steer me in the correct direction.
I just want to put (n) photos stitched together.
The 4 images I'm attempting to test this on are: http://imgur.com/a/wjmYS
I tried quite a few different commands to see what kind of output is generated.
Test #1:
>montage *.jpg out.jpg
OR
>montage 1.jpg 2.jpg 3.jpg 4.jpg out.jpg
This is the result of out.jpg: http://imgur.com/wiphorO
Nothing! An unreadable image file. I found this to be quite strange since this is one of the most basic tasks as illustrated at http://www.imagemagick.org/Usage/montage/
I then tried the montage command linked by that example to http://www.imagemagick.org/www/montage.html
Test #2:
>montage -background #336699 -geometry +4+4 1.jpg 2.jpg out.jpg
this just ended up showing the usage in the command line, like I was using it wrong. I figured it really doesn't like that background flag, so I'll try it without it...
Test #3:
>montage -geometry +4+4 1.jpg 2.jpg out.jpg
This produced the same thing as test #1. A much larger, unreadable file.
At this point, I figured I would try something else. Let's convert an image.
Test #4:
>convert 1.jpg 1.png
Again...an unreadable file.
Finally I tried this:
>montage *.jpg -geometry +2+2 out.jpg
Which produced this: http://imgur.com/oAkK01U
Not sure what happened there, but at least it's not a completely unreadable file.
I thought maybe I was missing some dependencies for imagemagick, but after searching around that doesn't seem to be the case. What I found was there are no required dependencies?
I'm doing this on Ubuntu Server 12.04.
This is what displays from montage: Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
My end goal is to use montage in a DIY photo booth build for my wedding next year to stitch together photos and send it off to a printer.
Any idea what's going on? Thank you for any help.
I just want to put (n) photos stitched together.
The 4 images I'm attempting to test this on are: http://imgur.com/a/wjmYS
I tried quite a few different commands to see what kind of output is generated.
Test #1:
>montage *.jpg out.jpg
OR
>montage 1.jpg 2.jpg 3.jpg 4.jpg out.jpg
This is the result of out.jpg: http://imgur.com/wiphorO
Nothing! An unreadable image file. I found this to be quite strange since this is one of the most basic tasks as illustrated at http://www.imagemagick.org/Usage/montage/
I then tried the montage command linked by that example to http://www.imagemagick.org/www/montage.html
Test #2:
>montage -background #336699 -geometry +4+4 1.jpg 2.jpg out.jpg
this just ended up showing the usage in the command line, like I was using it wrong. I figured it really doesn't like that background flag, so I'll try it without it...
Test #3:
>montage -geometry +4+4 1.jpg 2.jpg out.jpg
This produced the same thing as test #1. A much larger, unreadable file.
At this point, I figured I would try something else. Let's convert an image.
Test #4:
>convert 1.jpg 1.png
Again...an unreadable file.
Finally I tried this:
>montage *.jpg -geometry +2+2 out.jpg
Which produced this: http://imgur.com/oAkK01U
Not sure what happened there, but at least it's not a completely unreadable file.
I thought maybe I was missing some dependencies for imagemagick, but after searching around that doesn't seem to be the case. What I found was there are no required dependencies?
I'm doing this on Ubuntu Server 12.04.
This is what displays from montage: Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
My end goal is to use montage in a DIY photo booth build for my wedding next year to stitch together photos and send it off to a printer.
Any idea what's going on? Thank you for any help.