MathGroup Archive 2011

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

Search the Archive

How to merge images that are exterior to each other?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120793] How to merge images that are exterior to each other?
  • From: Gilmar Rodriguez-pierluissi <peacenova at yahoo.com>
  • Date: Wed, 10 Aug 2011 06:47:10 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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: Getting TraditionalForm to put in a multiplication sign.
  • Next by Date: Re: More robust pattern based replacement rules?
  • Previous by thread: Import Via FTP
  • Next by thread: Re: How to merge images that are exterior to each other?