MathGroup Archive 2003

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

Search the Archive

Re: Convert all graphics to reduce file size?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43548] Re: [mg43495] Convert all graphics to reduce file size?
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Fri, 19 Sep 2003 03:42:24 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Thu, 18 Sep 2003, Jim Jennings wrote:

> I have a notebook that creates a large amount of graphics cells and when
> saved the notebook can be very big.  However, I don't need to keep the
> postscript for each graphics cell when the notebook is saved; bitmaps
> will be fine.
> 
> I know how to use the Cell->Convert To->Bitmap menu command to convert
> selected graphics cells to Bitmap form.  This greatly reduces the size
> of the selected cells, but it is a pain to manually select each group of
> graphics cells, one at a time, for conversion.  If I select all cells
> and convert, then *everything*, including things like Standard Form
> cells, will get converted to Bitmap form.  This is not what I want.
> 
> Is there a way to automatically convert *all* graphics cells, but *only*
> graphics cells, before saving a notebook?
> 
> I am running Mathematica version 4 on Mac OS X. I hope to upgrade to
> version 5 soon, but I will be stuck in version 4 for a while...

There is an undocumented key-mouse combination that can be used to select 
all cells of a given style.  The combination is platform-specific:

MacOS X : Option-Click
Windows : Alt-Left Click
X Window: Mod2-Mouse 1

If you perform this operation while clicking on the bracket of a Graphics 
style cell, then all cells having that same style will be selected.

This should help you to adjust your cell selection before performing the 
front end menu command that converts selected cells to bitmaps.

-- 
P.J. Hinton
User Interface Programmer                         paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.


  • Prev by Date: how to simplify a complicated equation?
  • Next by Date: Speeding up code producing sound
  • Previous by thread: Re: Convert all graphics to reduce file size?
  • Next by thread: Re: Convert all graphics to reduce file size?