Show / Hide Table of Contents

Class Enums.RegionShrink

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

Inheritance
System.Object
Enums.RegionShrink
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public static class RegionShrink

Fields

| Improve this Doc View Source

Max

Use the maximum.

Declaration
public const string Max = "max"
Field Value
Type Description
System.String
| Improve this Doc View Source

Mean

Use the average.

Declaration
public const string Mean = "mean"
Field Value
Type Description
System.String
| Improve this Doc View Source

Median

Use the median.

Declaration
public const string Median = "median"
Field Value
Type Description
System.String
| Improve this Doc View Source

Min

Use the minimum.

Declaration
public const string Min = "min"
Field Value
Type Description
System.String
| Improve this Doc View Source

Mode

Use the mode.

Declaration
public const string Mode = "mode"
Field Value
Type Description
System.String
| Improve this Doc View Source

Nearest

Use the top-left pixel.

Declaration
public const string Nearest = "nearest"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX