Class: Vips::Extend
- Inherits:
-
Object
- Object
- Vips::Extend
- Defined in:
- lib/vips8/extend.rb
Overview
When the edges of an image are extended, you can specify how you want the extension done. See Image.embed, Image.conv, Image.affine and so on.
:blacknew pixels are black, ie. all bits are zero.:copyeach new pixel takes the value of the nearest edge pixel:repeatthe image is tiled to fill the new area:mirrorthe image is reflected and tiled to reduce hash edges:whitenew pixels are white, ie. all bits are set:backgroundcolour set from the @background property