Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Merge photos with ImageMagick

I just wanted to merge some pictures into one. I found out that ImageMagick has the montage command, which does exactly what I needed.

To install ImageMagick in Ubuntu:

$ sudo apt-get install imagemagick

To merge pictures Pic1.jpg and Pic2.jpg into file Result.png, just run the following command:

$ montage Pic1.jpg Pic2.jpg -geometry +2+2 Result.png

There are many parameters to change the way pictures are merged. For more montage examples, see the montage examples page.

  • Delicious
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • Twitter

2 comments to Merge photos with ImageMagick

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>