I should also add that I can output images from the ParaView GUI in the linux machine with no problems. It's just pvpython WriteImage output that is corrupted.
On 4/11/13 11:08 AM, "Taylor, Erin M." <[email protected]> wrote: >Hi all, > >I have a pvpython script that I've been developing and running >successfully on Mac OSX 10.6.8. It renders a csv data set as points, then >saves an image to file. It basically boils down to this: > >cr = CSVReader() >cr.FileName = filename >cr.UpdatePipeline() >tp = TableToPoints(cr) >tp.XColumn = 'x' >tp.YColumn = 'y' >tp.ZColumn = 'z' >tp.UpdatePipeline() > >Render() >view = GetRenderView() >WriteImage(image_path, view, Magnification = 2) > > >This works on the mac using pvpython. However when I try to run the same >script on a 64 bit linux machine (same version of paraview, 3.98.1), the >image that is output from WriteImage is corrupted. By that I mean the >image is a mess of black and white noise. Sometimes the images have a >portion of the script output rendered correctly in a tile of the image. I >should note that the image is rendered properly in the view window on this >linux machine, it is just the saved output that is corrupted. I have >tried .png and .jpg image output with the same result. > >I appreciate any ideas anyone might have on the cause of this! > >Many thanks, > >Erin > > >_______________________________________________ >Powered by www.kitware.com > >Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > >Please keep messages on-topic and check the ParaView Wiki at: >http://paraview.org/Wiki/ParaView > >Follow this link to subscribe/unsubscribe: >http://www.paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
