TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Image.Scale

Short Name:
  • class Image.Scale
Derived From:
Fields:

Scales the given image. Shrinking is applied by using an average filter, enlarging is performed using Catmull-Rom interpolation.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required image Image
# != null
 

The image to scale.

required width number
# >= 0
 

The new image width, in pixels.

required height number
# >= 0
 

The new image height, in pixels.

optional mode Interpolation  
UniformB

The interpolation mode to use for scaling image pixels.

external info Image.Info    

Contains information about the image data source, including image format and embedded georeferencing information.