BlueSpray - Help
© SchoonerTurtles, Inc. 2012-2015

Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About

Class STCrop

Extends STSample

Sample an existing raster into a new raster. This is used for resizing images
either to a new spatial extent or to a new resolution (or both). This is a core
transform that is used to draw data to the screen and resample data prior to other
transforms such as paste.


Copyright, SchoonerTurtles LLP, 2009
@author Jim Graham

Static Functions

ReturnsFunctionThrows
STRaster CropByPixels(STRaster TheInput,int X,int Y,
     int WidthInPixels,int HeightInPixels)
Exception
STRaster CropByRef(STRaster TheInput,double RefX,double RefY,
     double RefWidth,double RefHeight)
Exception

Static Functions


STRaster CropByPixels(STRaster TheInput,int X,int Y,
     int WidthInPixels,int HeightInPixels) Exception


STRaster CropByRef(STRaster TheInput,double RefX,double RefY,
     double RefWidth,double RefHeight) Exception

Crop an existing raster to a new bounds in reference coordinates. This function
will not scale the image but will pad if needed.

Parameters:
    TheInput
    NewRefBounds
    SamplingMethod
    TheProcess
Returns: