MathGroup Archive 2004

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

Search the Archive

Re: how to save a mathematica-made imagebox.image as jpg, gif, bmp in c#/.netlink?


"Hans Michel" <hansjm at bellsouth.net> wrote in message news:<c7kl76$2jj$1 at smc.vnet.net>...
> cdj:
> 
> Try this:
> 
> private Bitmap MyImage ;
> MyImage = new Bitmap(mathKernel.Graphics[0]);
> graphicsBox.Image = (Image) MyImage ;
> 
> Hans

Hi Hans,

Thanks a bunch for the solution. A few questions tho:

(1) can you explain why my original code (graphicsBox.Image =
mathKernel.Graphics[0];) won't work?

(2) Will your code allow the user to save in jpg and/or gif, or just
in bitmap format?

thanks again,

cdj


  • Prev by Date: Re: Re: FindRoot cannot find obvious solution
  • Next by Date: Eliminate duplicates using Union [] in a
  • Previous by thread: Re: how to save a mathematica-made imagebox.image as jpg, gif, bmp in c#/.netlink?
  • Next by thread: Re: how to save a mathematica-made imagebox.image as jpg, gif, bmp in c#/.netlink?