The image can be provided as a file path, or an
IO, such as the response to an HTTP request.
The image is processed byte by byte, so large images can be handled without loading the full image into memory.
This component is NOT intended to check if a file is a valid image and may return nonsensical values if given a non-image file.
If using this component within the Athena Framework, it is already installed and required for you. Otherwise, you will first need to add it as a dependency:
version: ~> 0.1.0
shards install, being sure to require it via
From here you can use
AIS::Image as needed.