MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to merge images that are exterior to each other?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120923] Re: How to merge images that are exterior to each other?
  • From: Yves Klett <yves.klett at googlemail.com>
  • Date: Tue, 16 Aug 2011 01:26:57 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <j1tnta$pp4$1@smc.vnet.net>

There are many ways to achieve this. You could use Grid or GraphicsGrid
(which produces a list of Insets), which offer a lot of placing and
formatting options, or e.g. ImageAssemble, perhaps in conjuction with
Rasterize.

Depending on what exactly you want to achieve, ImageCompose or Overlay
could also be helpful.

Regards,
Yves

Am 10.08.2011 12:52, schrieb Gilmar Rodriguez-pierluissi:
> Imagine that you are designing the cover of a book. The main picture on your bookcover
> is an image (call this image "img1") with ImageDimensions[img1]={p,q}. Now you wish to put another image (containing the title of your book; call this image "img2") on top and exterior to img1. Here ImageDimensions[img2]=
> {r,q}, i.e.; img1 and img 2 have different heights but, the same length. How can we build an "imagepad" above img1 with the same area as imag 2, so that we can insert img2 in that area above img1. We want to do this using Mathematica; without the aid of Paintbrush, Photoshop or similar softwares.  Wouldn't be nice to have a Mathematica function, perhaps called "Outset" (as opposed to "Inset"; and different from "Offset") to do this sort of trick?  Thank you for your help!  Gilmar Rodriguez-Pierluissi
> 




  • Prev by Date: Re: Cataloging apps for Finder files? (Mathematica notebooks especially)
  • Next by Date: Re: Map legend
  • Previous by thread: How to merge images that are exterior to each other?
  • Next by thread: R: Re: Problems with NETLink C#