gimp-layer-scale

Spencer Kimball & Peter Mattis

Description

Scale the layer using the default interpolation method.

Help

This procedure scales the layer so that its new width and height are equal to the supplied parameters. The 'local-origin' parameter specifies whether to scale from the center of the layer, or from the image origin. This operation only works if the layer has been added to an image. The interpolation method used can be set with 'gimp-context-set-interpolation'.


Type

unknown

Parameters

Type Name Description
PF_LAYER layer The layer
PF_INT new-width New layer width (1 <= new-width <= 524288)
PF_INT new-height New layer height (1 <= new-height <= 524288)
PF_INT local-origin Use a local origin (as opposed to the image origin) (TRUE or FALSE)

Return

None