Re: MatrixForm to JPG
- To: mathgroup at smc.vnet.net
- Subject: [mg64892] Re: MatrixForm to JPG
- From: "Jon McLoone" <jonm at wolfram.co.uk>
- Date: Tue, 7 Mar 2006 06:11:43 -0500 (EST)
- References: <due7n1$9qb$1@smc.vnet.net><440B0620.2090006@dordos.net> <duh3hq$60e$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Export handles Box expressions as well as graphics. Try...
expr=MatrixForm[{{a,b},{c,d}}]
Export["file.jpg",ToBoxes[expr,StandardForm],"JPEG",
ImageResolution->1000]
Bruce W. Colletti wrote:
> Peter
>
> Thank you for the reply.
>
> I have always used your approach, but it now falls short because the image
> quality isn't good enough.
>
> If there is a way (in a Mathematica session) to convert the MatrixForm
> output to a graphic G, then I could use Export[..., G,
> ImageResolution->X...] to produce a quality graphic.
>
> Any ideas?
>
> Thanks again.
>
> Bruce
>
> ----- Original Message -----
> From: "Peter Pein" <petsie at dordos.net>
To: mathgroup at smc.vnet.net
> Subject: [mg64892] Re: MatrixForm to JPG
>
>
> >
> > Bruce W. Colletti schrieb:
> >> Re Mathematica 5.2 under WinXP.
> >>
> >> How would I export the output of MatrixForm to a JPG file?
> >>
> >> Thankx.
> >>
> >> Bruce
> >>
> >>
> > Hi Bruce,
> >
> > select the output-cell, menu->Edit->Save Selection As->BMP and use an
> > external program to convert the bitmap to jpg (www.irfanview.com)
> >
> > Peter
> >