Enumeration

VipsRegionShrink

Declaration

enum Vips.RegionShrink

Description [src]

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

Members

VIPS_REGION_SHRINK_MEAN

Use the average.

  • Value: 0
  • Available since: 8.0
VIPS_REGION_SHRINK_MEDIAN

Use the median.

  • Value: 1
  • Available since: 8.0
VIPS_REGION_SHRINK_MODE

Use the mode.

  • Value: 2
  • Available since: 8.0
VIPS_REGION_SHRINK_MAX

Use the maximum.

  • Value: 3
  • Available since: 8.0
VIPS_REGION_SHRINK_MIN

Use the minimum.

  • Value: 4
  • Available since: 8.0
VIPS_REGION_SHRINK_NEAREST

Use the top-left pixel.

  • Value: 5
  • Available since: 8.0
VIPS_REGION_SHRINK_LAST

No description available.

  • Value: 6
  • Available since: 8.0