[Date Index]
[Thread Index]
[Author Index]
Generating bitmap graphics, not Postscript
*To*: mathgroup at smc.vnet.net
*Subject*: [mg28970] Generating bitmap graphics, not Postscript
*From*: Simon Chandler <simon_chandler at agilent.com>
*Date*: Wed, 23 May 2001 01:54:35 -0400 (EDT)
*Sender*: owner-wri-mathgroup at wolfram.com
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: mathematica 4.0, base forms**
Next by Date:
**ColorFunction for ListPlot3D, ListContourPlot or ListDensityPlot ?**
Previous by thread:
**From Mathematica Notebook into Native Latex**
Next by thread:
**Re: Generating bitmap graphics, not Postscript**
| |