image_postscript_prev#
- file.image_postscript_prev(p0: str) int #
Include a windows preview image in an encapsulated postscript (eps) file.
If a preview image is not included a EPS file will be shown as a grey rectangle in Windows applications. Many applications which can normally read a EPS file will not be able to read one which includes a windows preview image.- Args:
- p0:
‘toggle’
ON
OFF
- Examples:
ensight.file.image_format("postscript") ensight.file.image_encapsulated("ON") ensight.file.image_postscript_prev("ON") ensight.file.image_file("/tmp/test_image") ensight.file.save_image()
- Returns:
zero on success, non-zero on error