Mogrify.create

You're seeing just the function create, go back to Mogrify module for more information.
Link to this function

create(image, opts \\ [])

View Source

Creates or saves image.

Uses the convert command, which accepts both existing images, or image operators. If you have an existing image, prefer save/2.

Options

  • :path - The output path of the image. Defaults to a temporary file.
  • :in_place - Overwrite the original image, ignoring :path option. Default false.
  • :buffer - Pass true to write to Collectable in Image.buffer instead of file.
  • :into - Used with :buffer to specify a Collectable. Defaults to "". See System.cmd/3.