ImageminEx (imagemin_ex v0.1.0)

A Elixir wrapper around imagemin-cli

Link to this section Summary

Functions

Converts src to dest with the given config (or with the default config). You can specify the used plugins in the config.

Returns a {:ok, binary} with the help text

Prints help to console

Link to this section Functions

Link to this function

convert(src, dest, cfg \\ nil)

Converts src to dest with the given config (or with the default config). You can specify the used plugins in the config.

Link to this function

help(cfg \\ nil)

Returns a {:ok, binary} with the help text

iex> ImageminEx.help()