<div dir="ltr">Hi Jordan,<div><br></div><div>   I wonder if that is the issue that is addressed in this topic:</div><div><br></div><div><a href="http://review.source.kitware.com/#/t/5425/">http://review.source.kitware.com/#/t/5425/</a><br></div><div><br></div><div>   If so, I think this fix may be merged soon, as it has already been approved.  If you built the ParaView release you're running yourself, you could always try to check out the topic and see if it fixes the issue you're seeing.</div><div><br></div><div>Cheers,</div><div>Scott</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 1:32 PM, Jordan Deyton <span dir="ltr"><<a href="mailto:deytonjh@ornl.gov" target="_blank">deytonjh@ornl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ParaView gurus,<br>
<br>
I am working on a project that uses the JSON RPC protocols provided by ParaViewWeb. I've noticed that the image quality for ViewPorts seems bad regardless of what is specified in the call to viewport.image.render (docs here: <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/protocols.ParaViewWebViewPortImageDelivery" target="_blank">http://www.paraview.org/<u></u>ParaView3/Doc/Nightly/www/js-<u></u>doc/index.html#!/api/<u></u>protocols.<u></u>ParaViewWebViewPortImageDelive<u></u>ry</a> ).<br>
<br>
After decoding the returned image from the Base64 encoding, the JPEG image comes out as 636x420, while the quality is listed as 100 and the original size is 1440x850.<br>
<br>
The JSON object passed to viewport.image.render looks like<br>
<br>
{"args":[{<br>
    "localtime":1425413914878,<br>
    "view":-1,<br>
    "size":[1440,850],<br>
    "quality":100}]<br>
}<br>
<br>
While the returned object from that RPC call looks like<br>
<br>
{<br>
    "image": "very long encoded image text here",<br>
    "localTime": 0,<br>
    "stale": false,<br>
    "size": [1440,850],<br>
    "format": "jpeg;base64",<br>
    "global_id": "315",<br>
    "mtime": 3068929,<br>
    "workTime": 1<br>
}<br>
<br>
I've used two separate Base64 decoders, and both result in a JPEG image that is 636x420, not the reported 1440x850.<br>
<br>
Any idea what could be the problem here? Is this a bug in ParaViewWeb? I'm running the latest stable ParaView release (4.3.1) on RHEL.<br>
<br>
Thanks,<br>
Jordan<br>
<br>
-- <br>
Jordan Deyton<br>
Oak Ridge National Laboratory<br>
Telephone: <a href="tel:%28865%29%20574-1091" value="+18655741091" target="_blank">(865) 574-1091</a><br>
Email: <a href="mailto:deytonjh@ornl.gov" target="_blank">deytonjh@ornl.gov</a><br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>