class ImageExport(object)
Class ImageExport() provides the bitmap graphics exporting for Python scripting as you know it from Export/Save as Image menu. See related class PDFfile() and procedure savePageAsEPS().
Example:
i = ImageExport()
i.type = 'PNG' # select one from i.allTypes list
i.scale = 200 # I want to have 200%
i.name = '/home/subik/test.png'
i.save()
Last two lines should be replaced with: i.saveAs('/home/subik/test.png')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Saves image under previously set 'name'.
Saves image as 'filename'.
T.__new__(S, ...) -> a new object with type S, a subtype of T
Available types. Read only list of strings.
This value will be used for export as DPI. Read/write integer.
Filename of the image. With or without path. Read/write string.
Quality/compression: minimum 1 (poor), maximum 100 (qaulity). Read/write integer.
This is the scaling of the image. 100 = 100% etc. Read/write iteger.
Bitmap type. See allTypes list for more info. Read/write string.