Image.Pad

Description

Name

class Tinman.Image.Pad

Derived from

Image

Pads this image by duplicating pixels at the borders.

Padding can be used to reduce seams that will occur when tiled geodata is imported incrementally using on-the-fly projection. The correct solution would be to merge all geodata tiles into a dataset and then perform the projection on the whole geodata.

Fields / Required

image

Type

Image

Constraint

# != null

The image to pad.

Fields / Optional

amount

Type

number

Constraint

# >= 0

Default

1

The pad amount, in pixels.

Fields / External

info

Type

Image.Info

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