Nearest Scale
object NearestScale
Integer nearest-neighbour enlargement of a Raster: every output pixel is one the input holds.
Properties
Functions
Link copied to clipboard
A new raster in which each pixel of raster is a factor by factor block; raster is not changed. A factor outside MIN_FACTOR..MAX_FACTOR, or a result over MAX_SIDE on either side, fails with an IllegalArgumentException.