vg4->image->save()
Save image to file.
SYNTAX
FUNCTION PARAMETERS
imgp | Image |
filename | File to save to |
noalpha | If set to VG_TRUE, opaqueness will be discarded (set alpha to 255) |
RETURN VALUE
Returns boolean:
- VG_TRUE: OK
- VG_FALSE: Error
DESCRIPTION
Save image to file.
The image can be saved only to
bitmap files .bmp or PNM (.ppm, .pgm, .pbm or .pam as RGB or RGB_ALPHA).
When using PNM, opaqueness will be discarded (besides of PAM).