save_images#
- anim_flipbook.save_images(p0: str) int #
Specify the file name prefix into which each flipbook animation page (or each image) will be recorded.
Each page image will be saved into a file of the form “fileprefix_ipage.ext” where “filename_prefix” is the path and name of the file, “ipage” is the corresponding page number, and “ext” is the appropriate image format extension name.- Args:
- p0:
‘filename_prefix’ file name prefix of the recorded media
- Examples:
# # Set the recording image format to sgi RGB # ensight.file.image_format("sgi_rgb") # # Record each page of the flipbook of main graphics window size # into a file named "demo_ipage.rgb" where "ipage" is the page # number of the animation. # ensight.anim_flipbook.save_win_type("normal") ensight.anim_flipbook.save_images("demo")
- Returns:
zero on success, non-zero on error