render# Session.render(width: int, height: int, aa: int = 1) → bytes# Render the current EnSight scene and return a PNG image. Parameters: widthintWidth of the rendered image in pixels. heightintHeight of the rendered image in pixels. aaint, optionalNumber of antialiasing passes to use. The default is 1. Returns: objPNG image as a bytes object. Examples >>> data = session.render(1920, 1080, aa=4) >>> with open("file.png", "wb") as fp: >>> fp.write(data)