Raster Image - Resample

From RealWorld Wiki

Jump to: navigation, search

The Resample operation is an operation plug-in working with raster images and changing their dimensions in pixels.

No margins are added or removed by this operation. To manipulate canvas size, use the Canvas size or the Remove empty border operations. The operation works with 32-bit RGBA images. More about image resampling methods.

[edit] Internals

GUID: 04F9937C-4135-474C-AD27-E414E14DCE7A

Configuration
Parameter nameTypeDefaultValueNote
Modeinteger00=relative, 1=absolute, 2=width, 3=height0,2,3 keep aspect ratio
SizeXAbsinteger256 pixels>=1only used if Mode is 1
SizeYAbsinteger256 pixels>=1only used if Mode is 1
SizeRelinteger50%>=1only used if Mode is 0
SizeXOnlyinteger256 pixels>=1only used if Mode is 2
SizeYOnlyinteger256 pixels>=1only used if Mode is 3
Methodinteger10=nearest, 1=linear, 2=cubic(cubic is only used for magnifying)
Personal tools