Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2001

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

Search the Archive

Re: Generating bitmap graphics, not Postscript

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29002] Re: Generating bitmap graphics, not Postscript
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 24 May 2001 04:07:25 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9efkav$1dl@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Mathematica's Graphics is always PostScript !

That what is large in you Notebook are the
image cache and this format is 
  a) uncompressed
  b) not well documented.

So, no change ..

Regards
  Jens

Simon Chandler wrote:
> 
> Hello MathGroupers,
> 
> How can I automatically generate bitmap graphics rather than Postscript graphics?
> 
> I have written a Mathematica notebook that does image processing on many jpeg files that are imported from disk. I'd like to show the resulting images in my notebook, but if I simply use ListDensityPlot the Notebook becomes unreasonably large (many tens of MB), and can cause problems. I'd be quite happy to show the images as bitmaps, and expected to find an option that would produce bitmap rather than Postscript output.
> 
>   Q1: Is there such an option?
> 
> Being unable to find such an option I tried using an automatic call to the Cell:ConvertTo:Bitmap feature, using something like:
> 
>    nb = EvaluationNotebook[];
> 
>    myPlot = DensityPlot[Sin[x]*Cos[x/y], {x, -3, 3}, {y, -3, 3}];
> 
>    SelectionMove[nb, Before, EvaluationCell];
>    NotebookFind[nb, "Graphics", Next, CellStyle];
>    FrontEndExecute[FrontEndToken[nb, "ConvertToBitmap"]];
> 
> This doesn't work because "ConvertToBitmap" isn't the correct front-end token to use.
> 
>   Q2: Is there a token that will do the conversion for me?
> 
>   Q3: Can anyone tell me where I can find a list of all valid tokens?
> 
>   Q4: Is there any other way of making Mathematica produce bitmap graphics
>       rather than Postscript?
> 
> Regards,
> 
> Simon


  • Prev by Date: Re: Generating bitmap graphics, not Postscript
  • Next by Date: Re: ColorFunction for ListPlot3D, ListContourPlot or ListDensityPlot ?
  • Previous by thread: Re: Generating bitmap graphics, not Postscript
  • Next by thread: Re: Generating bitmap graphics, not Postscript