Image types Methods: Bitmap.Save()

This method lets you save the bitmap you created. - The following formats are supported:

  • PNG
  • JPEG
  • JPEG_FAIR
  • JPEG_HIGH
  • BMP
Note: The method raises an error in the following two cases:
  • If another file type is passed.
  • If an erroneous file path is entered.

This page discusses:

Signature

Bitmap.Save(path : String, format : String)

Arguments

NameInput/OutputRequired?TypeComment
pathInStringEnter the file path.
formatInStringEnter the file format.

Example

Let f (Feature)
set f = …
let b (Bitmap)
b = CreateBitmapFromObject(f, 400,300)
if b <> NULL
{
	b.Save(“e:\\tmp\\test.png”, “PNG”)
}