package
0.1.0
Repository: https://github.com/go-oss/image.git
Documentation: pkg.go.dev

# Functions

Decode image file.
DetectMimeType detects MIMEType for image file.
FitCrop fit to narrow side of image and crop square.
MIMETypeByType returns MIMEType by type string.
RemoveExif remove JPEG EXIF metadata and rotate image for orientation tag.

# Constants

GIF represents gif image type.
JPEG represents jpeg image type.
PNG represents png image type.
UndefinedType represents unknown image type.
WEBP represents webp image type.

# Variables

ErrUnsupportedFileType represents unsupported error.

# Structs

Image represents image.Image wrapper.

# Type aliases

MIMEType represents MIME type for image file.