MathGroup Archive 2009

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

Search the Archive

Re: lock image size in a cell

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96918] Re: [mg96898] lock image size in a cell
  • From: Matthias Odisio <matthias at wolfram.com>
  • Date: Fri, 27 Feb 2009 06:13:01 -0500 (EST)
  • References: <200902261303.IAA26773@smc.vnet.net>

Alessandro,

alexxx.magni at gmail.com wrote:
 > often evaluating functions that output images as a result, I re-
 > evaluate an input cell many times, fine tuning its parameters.
 > Since the images I process are large, I manually resize the image
 > output to visually inspect it. Re-evaluating the input, the output
 > doesnt remember my manually-set size.
 >
 > There is a way to lock this cell size - just for display (I dont want
 > to effectively resize the image) ?
 >
 > thanks!
 >
 > alessandro magni

Would the ImageSize option work for your case?

Instead of:
     outputimage = F[input]
Try:
     outputimage = Image[F[input], ImageSize -> 400]

You can always reset the option later:
     outputimage = Image[outputimage, ImageSize -> Automatic]

Matthias Odisio
Wolfram Research




  • Prev by Date: Can't quite figure out tensors
  • Next by Date: Re: About Reduce and Mod
  • Previous by thread: lock image size in a cell
  • Next by thread: Re: lock image size in a cell