package
0.14.0
Repository: https://github.com/anthonynsimon/bild.git
Documentation: pkg.go.dev

# Functions

Crop returns a new image which contains the intersection between the rect and the image provided as params.
FlipH returns a horizontally flipped version of the image.
FlipV returns a vertically flipped version of the image.
Resize returns a new image with its size adjusted to the new width and height.
Rotate returns a rotated image by the provided angle using the pivot as an anchor.
ShearH applies a shear linear transformation along the horizontal axis, the parameter angle is the shear angle to be applied.
ShearV applies a shear linear transformation along the vertical axis, the parameter angle is the shear angle to be applied.
Translate repositions a copy of the provided image by dx on the x-axis and by dy on the y-axis and returns the result.

# Variables

Box resampling filter, only let pass values in the x < 0.5 range from sample.
CatmullRom resampling filter interpolates between the four nearest samples per dimension.
Gaussian resampling filter interpolates using a Gaussian function between the two nearest samples per dimension.
Lanczos resampling filter interpolates between the six nearest samples per dimension.
Linear resampling filter interpolates linearly between the two nearest samples per dimension.
MitchellNetravali resampling filter interpolates between the four nearest samples per dimension.
NearestNeighbor resampling filter assigns to each point the sample point nearest to it.

# Structs

ResampleFilter is used to evaluate sample points and interpolate between them.
RotationOptions are the rotation parameters ResizeBounds set to false will keep the original image bounds, cutting any pixels that go past it when rotating.