Image.Plug.Pipeline.Ops.Background (image_plug v0.1.0)

Copy Markdown View Source

Background fill operation. Flattens any transparency in the working image against the given solid colour.

The colour is parsed lazily by the interpreter — accepted forms are #rgb, #rrggbb, #rrggbbaa, CSS colour names, and rgb() / rgba() functional notation.

Summary

Types

t()

@type t() :: %Image.Plug.Pipeline.Ops.Background{color: String.t()}