Page 1 of 1

'montage' mangled output

Posted: 2013-01-31T21:13:54-07:00
by gredner
I have a lot of pairs of images and I am using 'montage' to combine them side-by-side. Most of these work fine, but a few come out mangled. For example:

polar-00718.jpg:
Image

nematic-00718.jpg:
Image

When I combine them:

Code: Select all

montage -background black -geometry 400x400+4+4 -tile 2x1 polar-00718.jpg nematic-00718.jpg -quality 100% montage-00718.jpg
Image

Something looks...wrong :-)

My version is:

Code: Select all

$ montage --version
Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
and my OS is:

Code: Select all

$ uname -a
Linux libra 3.5.0-gredner #2 SMP Mon Jul 23 01:09:42 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 13 Maya
Release:	13
Codename:	maya
Please let me know if I can provide any more information! I have lots more examples I can provide, as well as plenty that don't exhibit the problem.

Re: 'montage' mangled output

Posted: 2013-01-31T21:39:10-07:00
by fmw42
Your command and images work just fine for me on IM 6.8.2.2 Q16 Mac OSX Snow Leopard.

I would guess that you might have an issue with an overly full tmp directory for where IM is keeping its intermediate images or something stopped your processing prematurely. Are you on a shared server?

Otherwise, I would suggest that you upgrade, since your version if IM is over 100 version old.

Re: 'montage' mangled output

Posted: 2013-02-11T14:28:02-07:00
by gredner
It looks like the bug is fixed in newer versions of ImageMagick - I built 6.8.2-10 Q16 from source and the problem does not seem to occur anymore. I'll bump this topic if I run into it again. Thanks!

edit: for completeness: my /tmp is not full, and this is not a shared server.