<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=171014909-07012009><FONT face=Arial size=2>Hello
All,</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial size=2>I am working with
pvpython/pvbatch. I need to save some JPEG files, which I do using something
like:</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171014909-07012009>
<DIV><SPAN class=171014909-07012009><FONT face="Courier New"
size=2>view.WriteImage(outputdir + filename,
"vtkJPEGWriter")</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial size=2>The resulting JPEG
files have a 95% quality, which turns out to be too much for what I am
doing (in terms of file size).</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2>I</FONT></SPAN></SPAN><SPAN class=171014909-07012009><FONT face=Arial
size=2>s there a way to specify the quality of the JPEG files saved using
WriteImage()?</FONT></SPAN></DIV></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial size=2>If this is not
possible, can somebody suggest how to tweak the ParaView sources to save with a
different quality?</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial size=2>Many
thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=171014909-07012009><FONT face=Arial
size=2>-Marzio</DIV></FONT></SPAN>
<DIV> </DIV></BODY></HTML>