mirror of
https://github.com/fumiama/imgsz.git
synced 2026-06-27 15:40:34 +08:00
f7e2ba842aee057a3684025e397e0e7c01984dbe
imgsz
Image size analyzer for jpg/png/gif/webp
Usage
// DecodeSize decodes the dimensions of an image that has
// been encoded in a registered format. The string returned is the format name
// used during format registration. Format registration is typically done by
// an init function in the codec-specific package.
func DecodeSize(r io.Reader) (Size, string, error)
Languages
Go
100%