Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to join two image files in Ubuntu 12.04. Is there any way I can accomplish this?

Is there any utility for joining image files, perhaps something like MS-Paint in Ubuntu?

share|improve this question
1  
see also here: askubuntu.com/questions/166751/merging-two-pictures –  Takkat Dec 6 '12 at 9:23
add comment

2 Answers 2

up vote 6 down vote accepted

"join two images" is a quite vague description, but I'm sure you can do what you want with Gimp. You can install it using Software Center or from the command line using

sudo apt-get install gimp

It is probably closer in functionality of Photoshop than to MSPaint though... which is a good thing.

Here's how to do it in GIMP:

  1. File > New ; create image bigger than both of your images to join combined.
  2. File > Open as Layers ; open your images.
  3. Use the Move [M] tool to arrange your images.
  4. Use the Crop [Shift+C] tool to crop everything when finished rearranging.
  5. File > Export to... to save your output file.

That's it! Instead of GIMP you can use Pinta

share|improve this answer
    
Yes, I agree, it seems that for this user it will be better a GUI-based method. –  Frantique Dec 6 '12 at 9:55
1  
I voted this down because it only answered part of the question and didn't tell the poster how to join two images. Why did I lose a point for that? –  Simon Hoare Dec 6 '12 at 11:43
3  
@SimonHoare ask a vague question and you get a vague answer :+ –  Rinzwind Dec 6 '12 at 19:18
2  
@SimonHoare: I did not give specific instructions because, as I said, the question is too vague. You understand "joining two images" as stitching two scans of a large page into a single image; I was actually thinking about making a collage, something like removing background from a photo of a person and putting it on top of another background. Also, the question asks "Is there an utility...", not "what are specific steps to ... in program X" –  Sergey Dec 6 '12 at 20:27
2  
I've added the steps. –  Bucic Dec 6 '12 at 22:29
show 2 more comments

You can use imagemagick to do this. (I am using it as well.)

First install it: sudo apt-get install imagemagick

After that look here for usage, you will find a lot of examples. The best is that you can use it from command line (integrate within a script for example).

share|improve this answer
    
is it a GUI or command line utility? –  vipin8169 Dec 6 '12 at 9:19
    
You can use the GUI for everything. The CLI is optional. –  Simon Hoare Dec 6 '12 at 9:30
    
ok but how to access the GUI, when i right imagemagick in dash nothing appears –  vipin8169 Dec 6 '12 at 9:36
3  
Imagemagick has also a kind of GUI, type display in Terminal. –  Frantique Dec 6 '12 at 9:56
1  
Vintage thing? Imagemagick? The command line is faster and more precise like any GUI. To use gimp just for joining images? Like shooting a bird with a cannon... ;) –  Frantique Dec 7 '12 at 8:21
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.