Fastimage v0.0.6 Fastimage
Summary
Functions
Returns the dimensions of the image as a map in the form %{width: _w, height: _h}
. Supports “bmp”, “gif”, “jpeg”
or “png” image files only. Returns :unknown_type if the image file type is not supported
Returns the type of file. Only “bmp”, “gif”, “jpeg” or “png” files are currently detected
Functions
Specs
size(url_or_file :: String.t) :: map | :unknown_type
Returns the dimensions of the image as a map in the form %{width: _w, height: _h}
. Supports “bmp”, “gif”, “jpeg”
or “png” image files only. Returns :unknown_type if the image file type is not supported.