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 SourceMax
Use the maximum.
Declaration
public const string Max = "max"
Field Value
Type | Description |
---|---|
System.String |
Mean
Use the average.
Declaration
public const string Mean = "mean"
Field Value
Type | Description |
---|---|
System.String |
Median
Use the median.
Declaration
public const string Median = "median"
Field Value
Type | Description |
---|---|
System.String |
Min
Use the minimum.
Declaration
public const string Min = "min"
Field Value
Type | Description |
---|---|
System.String |
Mode
Use the mode.
Declaration
public const string Mode = "mode"
Field Value
Type | Description |
---|---|
System.String |
Nearest
Use the top-left pixel.
Declaration
public const string Nearest = "nearest"
Field Value
Type | Description |
---|---|
System.String |