comp • gb.image.io • image • save

Image.Save (gb.image.io)

Sub Save ( Path As String [ , Quality As Integer ] )

Saves the image to a file. The file extension of Path will give the format of the saved image.

Supported formats are all formats provided by the gdk-pixbuf library (at least JPEG, PNG, BMP, GIF and XPM).

The Quality argument is used when saving a JPEG or a PNG.