<div dir="ltr">Hi,<div><br></div><div>I am trying to generate a 2d raster image from paraview in order to generate a texture for another program. </div><div><br></div><div>Ideally I would like to extract an image with a number of pixels in the x and y direction that is in the same ratio as the x and y bounds.</div><div><br></div><div>For example. Say I have a dataset with bounds [0, 19m] and [-10m, 23m] and i generate a 2D contour. I would like a raster image with [19 * s, 33 * s] pixel dimensions, where s is a scale factor. This image should also be perfectly fitted with the vtk dataset so that</div><div><br></div><div>x_min => x_pixel = 0</div><div>x_max => x_pixel = x_max * s</div><div>y_min => y_pixel = y_max * s</div><div>y_max => y_pixel = 0</div><div><br></div><div>Is this possible at all? I assume that involves using python and this is not a problem.</div><div><br></div><div>Thanks for any advice</div><div><br></div><div><br></div></div>