Gi.save

You're seeing just the function save, go back to Gi module for more information.

Specs

save(Gi.Image.t(), Keyword.t()) :: Gi.Image.t()

Save image.

Options

  • :path - Value as path. Save as image to path

Example

Gi.open("example.jpg")
|> Gi.save()

Gi.open("example.jpg")
|> Gi.save(path: "new_example.jpg")