User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_bitmap.scalebitmap_tgis_pixels_integer_integer_tgis_pixels_integer_integer_tgis_scalingfilter

Table of Contents

TGIS_Bitmap.ScaleBitmap method

DK for Java | tatukgis.jdk.TGIS_Bitmap.ScaleBitmap | Constructors | Methods | Properties

Scale bitmap pixels using the selected resampling filter.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public static void ScaleBitmap(
  int[] _srcBmp,
  int _srcWidth,
  int _srcHeight,
  int[] _dstBmp,
  int _dstWidth,
  int _dstHeight,
  TGIS_ScalingFilter _filtering
);
// Oxygene
public
  class procedure ScaleBitmap(
    _srcBmp : TGIS_Pixels;
    _srcWidth : Integer;
    _srcHeight : Integer;
    _dstBmp : TGIS_Pixels;
    _dstWidth : Integer;
    _dstHeight : Integer;
    _filtering : TGIS_ScalingFilter
  );

Parameters

Name Type Description
_srcBmp int[]
TGIS_Pixels
source pixel buffer
_srcWidth int
Integer
width of the source bitmap in _srcBmp
_srcHeight int
Integer
height of the source bitmap in _srcBmp
_dstBmp int[]
TGIS_Pixels
destination pixel buffer
_dstWidth int
Integer
width of the output bitmap in _dstBmp
_dstHeight int
Integer
height of the output bitmap in _dstBmp
_filtering TGIS_ScalingFilter scaling resampling filter
2026/07/11 01:21

Page Tools