MathGroup Archive 2009

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

Search the Archive

Re: How to stretch a image

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96558] Re: How to stretch a image
  • From: dh <dh at metrohm.com>
  • Date: Mon, 16 Feb 2009 06:58:37 -0500 (EST)
  • References: <gn8jat$7o0$1@smc.vnet.net>


Hi,

you may e.g. use ApsectRatio and ImageSize. E.g. try:

Import["ExampleData/lena.tif", AspectRatio -> 0.5, ImageSize -> 1000]

hope this helps, Daniel



goodhei8 at gmail.com wrote:

> such as the size of a image is 100 x 100, I want to make it stretch to 

> 200 x 600 (not 1:1). Mathematica give me 200x200 +200x400 blank. I tried 

> Padding and Margins, no working : (

> 

> PS, in Mathematica 6.

> Thanks in advance.

> 




  • Prev by Date: Printing large symbolic matrices
  • Next by Date: coloring of proteins when using Import[] from PDB
  • Previous by thread: Re: How to stretch a image
  • Next by thread: Re: How to stretch a image