Zoom

Function
This resizes the image to a given resolution.

Parameters
Type
Defaults
Function
x,yScale
float
1, xScale The scaling factor, ie .5 = half resolution, 2 = twice the resolution.
filter
string
"default" Jump to Filter Types
subPixel
int
0

Turns on quality control

0 = low quality
1 = high quality


Synopsis

 image Zoom( image,
  float xScale, 
  float yScale,
  const char * filter,
  int subPixel
 );


Script

image = Zoom( 
  image, 
  xScale, 
  yScale, 
  "filter", 
  subPixel
);


Command Line

shake -zoom xScale yScale filter subPixel

See Also
Crop, Window, ViewPort, Scale , Resize