SaveImage()
Save the image of the screen in a file.
Usage
fileName = SaveImage( width = 600, height = 400,
fileName = None, fileType = 'png',
dirName = None )
Parameters
- width (integer)
- Width of image.
- height (integer)
- Height of image.
- fileName (string)
- Image file name.
- fileType (string)
- Image file type.
- dirName (string)
- The directory that image will be saved in it.
Return Value
- fileName (string)
- Saved image file name (including the full path of file).
Error
The fileType should be valid.
Description
SaveImage( fileName = 'file.png',