Re: Help with Export function
- To: mathgroup at smc.vnet.net
- Subject: [mg46575] Re: Help with Export function
- From: "Hans Michel" <hansjm at bellsouth.net>
- Date: Mon, 23 Feb 2004 22:34:19 -0500 (EST)
- References: <c1ca3r$b14$1@smc.vnet.net>
- Reply-to: "Hans Michel" <hansjm at bellsouth.net>
- Sender: owner-wri-mathgroup at wolfram.com
Massimo:
Try the following:
Export["g:\\test.jpg", Plot3D[Sin[x] y, {x,-Pi,Pi},{y, -10,10}], "JPEG",
ConversionOptions -> {"Colorspace" -> Automatic, "Progressive" -> False,
"Quality" -> 100, "Smoothing" -> 0}]
Please note the ConversionOptions are in the form of a list of rules
string -> rule value.
Also play aroung with the Graphics options also to get the best quality
graphics before export.
Hans
"Massimo Sironi" <massimo.sironi at st.com> wrote in message
news:c1ca3r$b14$1 at smc.vnet.net...
> Hi All!
>
> A simple question about Export option: I need a best quality factor when I
> export a graph into jpeg format.
> Export function have a "Quality" option (for jpeg format) but I don't
> understand how to use ConversionOptions parameter.
>
> The sintax is:
> Export["file", expr, "format", ConversionOptions -> {opts}].
>
> I've tried to put my quality factor in same way but it doesn't work.....
>
> What is the right syntax??
>
> Thanks for help,
> Massimo Sironi
>