'montage' mangled output

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
gredner
Posts: 2
Joined: 2013-01-31T20:04:03-07:00
Authentication code: 6789

'montage' mangled output

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 'montage' mangled output

Post 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.
gredner
Posts: 2
Joined: 2013-01-31T20:04:03-07:00
Authentication code: 6789

Re: 'montage' mangled output

Post 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.
Post Reply