Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CompressableImageExts = []string{"png", "jpg", "jpeg"}
View Source
var ErrNotJpeg = errors.New("the provided bytes do not look to pertain to a jpeg file")
View Source
var ErrNotPng = errors.New("the provided bytes do not look to pertain to a png file")
Functions ¶
func GetImageDimensions ¶
func JpegRemoveExifData ¶
func JpegResize ¶
originally based on https://roeber.dev/posts/resize-an-image-in-go/
func PngRemoveExifData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.