Type Alias VipsRegionShrink

Source
pub type VipsRegionShrink = c_uint;
Expand description

VipsRegionShrink: @VIPS_REGION_SHRINK_MEAN: use the average @VIPS_REGION_SHRINK_MEDIAN: use the median @VIPS_REGION_SHRINK_MODE: use the mode @VIPS_REGION_SHRINK_MAX: use the maximum @VIPS_REGION_SHRINK_MIN: use the minimum @VIPS_REGION_SHRINK_NEAREST: use the top-left pixel

How to calculate the output pixels when shrinking a 2x2 region.