Quantcast
Channel: User Dennis Williamson - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 61

Answer by Dennis Williamson for remove extra tilespace from a montage (ImageMagick) composite image?

$
0
0

Try something like this:

montage file1.jpg file2.jpg -geometry +0+0 -background none output.jpg

This will make the border between images as small as possible and whatever is there will be transparent.

To see a demo of the difference using builtin images, try these and compare:

$ montage rose: -resize 100x60 rose: -geometry +0+0 -background none montage.jpg
$ display montage.jpg &
$ montage rose: -resize 100x60 rose: montage.jpg
$ display montage.jpg &

See Montage Usage.

If you post an example of what you're getting and manually edit together an example of what you'd like as a result, we might be able to get a little closer to that.

Here are examples that I like better than the ones I originally posted above:

montage \( rose: -resize 100x46\! \) rose: -background gray montage.jpg

enter image description here

montage \( rose: -resize 100x46\! \) rose: -geometry +0+0 -background none montage.jpg

enter image description here


Viewing all articles
Browse latest Browse all 61

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>