combining images

Joel Hammer Joel
Mon May 17 11:43:50 PDT 2004


montage works pretty well for this. The only problem is that each individual
image is the same size as all the other images. I'd like to combine images
of unequal size, and keep them that way in the final image.

What I am doing is generating images (photos) and want to have a set of
labels and images (arrows and the like) that can be quickly cut and pasted
into the photo. It might be most convenient for the user to have the labels
and arrows in the same image to allow easy cut and pasting, then, when done,
just crop the photo.

This will evolve over several weeks!

Joel

On Sat, Feb 01, 2003 at 06:02:42PM -0800, Bill Campbell wrote:
> On Sat, Feb 01, 2003 at 02:58:09PM -0500, Joel Hammer wrote:
> >I am trying to use combine to just join together two images of similar width
> >but different length. I want the resulting image to be a simple
> >combination of the two, top to bottom, like so:
> 
> The ImageMagick ``montage'' program my be just the ticket for
> this is you want to script it.
> 
> >   -------
> >  | Image1|
> >  |       |
> >   ------- 
> >and 
> >   -------
> >  | Image2|
> >  |       |
> >  |       |
> >   ------- 
> >The desired result is :
> >
> >   -------
> >  | Image1|
> >  |       |
> >  | Image2|
> >  |       |
> >  |       |
> >   ------- 
> >
> >
> >Combine seems to work by overlying the second image on the first ( or
> >vice versa).  If you specify an offset, you wind up with image two getting
> >truncated. That is to say, the size of the canvas is the size of image1.
> >
> >I could solve my problem if I could figure out how to increase the canvas
> >size of image one to accommodate image 2.
> >
> >
> >Any insight appreciated,
> >
> >Joel
> >
> >_______________________________________________
> >Linux-users mailing list
> >Linux-users at linux-sxs.org
> >Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
> >
> 
> -- 
> Bill
> --
> INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
> UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
> FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
> URL: http://www.celestial.com/
> 
> ``If we got one-tenth of what was promised to us in these acceptance
> speeches there wouldn't be any inducement to go to heaven.''
>     Will Rogers
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list