ExOptimizer (ExOptimizer v0.1.1) View Source
ExOptimizer is a tool to optimize pictures by running them through a chain of various image optimization tools.
Link to this section Summary
Functions
Optimize a picture
Link to this section Functions
Specs
optimize(String.t(), List.t()) :: {:ok, Map.t()} | {:error, Map.t()} | {:error, :file_not_found}
Optimize a picture
Options:
optimizers
accepts a list of optimizers (seeExOptimizer.Optimizer
) module names or tuples with the module name and the custom options to pass to the binary command.