MathGroup Archive 2004

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

Search the Archive

Re: Help with Export function


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
>


  • Prev by Date: Re: Help with Export function
  • Next by Date: Re: Limits
  • Previous by thread: Re: Help with Export function
  • Next by thread: Attributes and behaviors?