Kino.Image.new
You're seeing just the function
new
, go back to Kino.Image module for more information.
Specs
new(binary(), common_image_type() | mime_type()) :: t()
Wraps the given binary content into the image struct.
The given type be either :jpeg
, :png
, :gif
, :svg
or a string with image MIME type.