Moul

TODO: Add description

Installation

If available in Hex, the package can be installed by adding moul to your list of dependencies in mix.exs:

def deps do
[
{:moul, "~> 0.1.0"}
]
end

Example

test/images/DSCF0527.JPG
iex(1)> Moul.moulify("test/images/DSCF0527.JPG")
{:ok,
%{
hash: "yygKJQaEeJZ3B4rXhodHqHSHUGcH",
height: "6240",
width: "4160"
}}

File created:

test/images/profile.png
iex(1)> Moul.avatarize("test/images/profile.png")
{:ok,
%{
hash: "GwgSFwKLZYZ/eHZHZ1aWZ4iHyAgpjaAC",
height: "1190",
width: "1190"
}}

File created:

Preview: xl | blurhash | thumbhash

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/moul.