Available also on: Delphi | .NET | Java.
Save the bitmap to a file using the specified pixel format and subformat.
# Python def ToFile( self, _path: str, _format: TGIS_PixelFormat, _subformat: TGIS_PixelSubFormat, _compression: int ) -> None:
| Name | Type | Description |
|---|---|---|
| _path | str | destination file path |
| _format | TGIS_PixelFormat | output pixel format |
| _subformat | TGIS_PixelSubFormat | output pixel subformat |
| _compression | int | compression level for formats that support compression |