User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_bitmapabstract.tofile_string_tgis_pixelformat_tgis_pixelsubformat_integer

Table of Contents

TGIS_BitmapAbstract.ToFile(java.lang.String, TGIS_PixelFormat, TGIS_PixelSubFormat, int) method

DK for Java | tatukgis.jdk.TGIS_BitmapAbstract.ToFile | Overloads | Fields | Methods | Properties

Save the bitmap to a file using the specified pixel format and subformat.

Available also on: Delphi | .NET | Python.

Syntax

// Java
public abstract void ToFile(
  java.lang.String _path,
  TGIS_PixelFormat _format,
  TGIS_PixelSubFormat _subformat,
  int _compression
);
// Oxygene
public
  procedure ToFile(
    _path : String;
    _format : TGIS_PixelFormat;
    _subformat : TGIS_PixelSubFormat;
    _compression : Integer
  ); virtual; abstract;

Parameters

Name Type Description
_path java.lang.String
String
destination file path
_format TGIS_PixelFormat output pixel format
_subformat TGIS_PixelSubFormat output pixel subformat
_compression int
Integer
compression level for formats that support compression
2026/07/11 01:21

Page Tools