Mathematica 9 is now available
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: [mg29004] Re: Generating bitmap graphics, not Postscript
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Thu, 24 May 2001 04:07:28 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Wed, 23 May 2001, Simon Chandler wrote:

> That's probably the solution I'll use, but my curiosity has been
> roused by the FrontEndTokenExecute method. You suggested I look in the
> MenuSetup.tr file, which I have done. The relevant part seems to be:
> 
> 	Menu["Cell", 
> 	{
> 		Menu["Convert To", 
> 		{
> 			Item["InputForm", "SelectionConvert"->InputForm, MenuKey["I", Modifiers->{Command, Shift}]],
> 			Item["OutputForm", "SelectionConvert"->OutputForm],
> 			Item["First Convert to BoxForm", "MenuListConvertFormatTypes", MenuAnchor->True],
> 			Delimiter,
> 			Item["PostScript", "SelectionConvert"->"PostScript"],
> 			Item["Bitmap", "SelectionConvert"->"Bitmap"],
> 			Item["PICT", "SelectionConvert"->"PICT"],
> 			Item["Bitmap PICT", "SelectionConvert"->"PICTBitmap"],
> 			Item["Embedded PS PICT", "SelectionConvert"->"PICTEmbeddedPS"],
> 			Item["QuickTime", "SelectionConvert"->"QuickTime"]
> 		}],
> 
> How do I use "SelectionConvert"->"Bitmap" to call the conversion?  
> I've tried various ways but it won't work.  Unfortunately I don't have
> access to the book you mentioned.

For these things, you have to use a somewhat different syntax.

FrontEndExecute[
	FrontEndToken[SelectedNotebook[], "SelectionConvert", "Bitmap"]
]

-- 
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: Re: flat box under RealTime3D
  • Next by Date: Re: Generating bitmap graphics, not Postscript
  • Previous by thread: Generating bitmap graphics, not Postscript
  • Next by thread: Re: Generating bitmap graphics, not Postscript