Package Usage: go: github.com/rubenfonseca/fastimage
Package fastimage allows you to find the type and/or size of a remote image by
downloading as little as possible.
Why?
Sometimes you need to know the size of a remote image before downloading it.
How?
fastimage parses the image data as it is downloaded. As soon as it finds out
the size and type of the image, it stops the download.
This example shows basic usage of the package: just pass an url to the
detector, and analyze the results.
1 version
Latest release: over 8 years ago
1 dependent package
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/rubenfonseca/fastimage