ExVenture.Images (ExVenture v0.1.0) View Source
Common module for dealing with image conversion
Link to this section Summary
Functions
Convert an image file using image magick
Delete the old images for the passed in struct
Upload the file to the path in storage
Link to this section Types
Specs
opts() :: Keyword.t()
Link to this section Functions
Specs
convert(Stein.Storage.FileUpload.t(), opts()) :: {:ok, Path.t()} | {:error, :convert}
Convert an image file using image magick
Delete the old images for the passed in struct
Deletes original and thumbnail sizes if present.
Upload the file to the path in storage