Gi.open
You're seeing just the function
open
, go back to Gi module for more information.
Specs
open(binary()) :: Gi.Image.t()
Opens image source, raises a File.Error
exception in case of failure.
Parameters
- string_path: path to file image.
Example
iex> Gi.open("example.jpg")
%Gi.Image{
animated: false,
dirty: %{},
ext: ".jpg",
format: nil,
frame_count: 1,
height: nil,
list_command: [],
path: "example.jpg",
width: nil
}