Enum Enums.Extend
How to extend image edges.
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public enum Enums.Extend
Remarks
When the edges of an image are extended, you can specify how you want the extension done. See Embed(int, int, int, int, Extend?, double[]), Conv(Image, Precision?, int?, int?), Affine(double[], GObject, int[], double?, double?, double?, double?, double[], bool?, Extend?) and so on.
Fields
Name | Description |
---|---|
Background | Colour set from the @background property. |
Black | New pixels are black, ie. all bits are zero. |
Copy | Each new pixel takes the value of the nearest edge pixel. |
Mirror | The image is reflected and tiled to reduce hash edges. |
Repeat | The image is tiled to fill the new area. |
White | New pixels are white, ie. all bits are set. |