package
0.0.4
Repository: https://github.com/aaronland/go-image-rotate.git
Documentation: pkg.go.dev

# README

just the necessary bits of github.com/disintegration/imaging to do image rotation see also: https://github.com/anthonynsimon/bild

# Functions

Clone returns a copy of the given image.
Crop cuts out a rectangular region with the specified bounds from the image and returns the cropped image.
CropAnchor cuts out a rectangular region with the specified size from the image using the specified anchor point and returns the cropped image.
CropCenter cuts out a rectangular region with the specified size from the center of the image and returns the cropped image.
FlipH flips the image horizontally (from left to right) and returns the transformed image.
FlipV flips the image vertically (from top to bottom) and returns the transformed image.
New creates a new image with the specified width and height, and fills it with the specified color.
Overlay draws the img image over the background image at given position and returns the combined image.
OverlayCenter overlays the img image to the center of the background image and returns the combined image.
Paste pastes the img image to the background image at the specified position and returns the combined image.
PasteCenter pastes the img image to the center of the background image and returns the combined image.
Rotate rotates an image by the given angle counter-clockwise .
Rotate180 rotates the image 180 degrees counter-clockwise and returns the transformed image.
Rotate270 rotates the image 270 degrees counter-clockwise and returns the transformed image.
Rotate90 rotates the image 90 degrees counter-clockwise and returns the transformed image.
Transpose flips the image horizontally and rotates 90 degrees counter-clockwise.
Transverse flips the image vertically and rotates 90 degrees counter-clockwise.

# Constants

Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.
Anchor point positions.

# Type aliases

Anchor is the anchor point for image alignment.