Packages
A pluggable Plug-based image server. Maps URLs to a canonical image processing pipeline executed via the Image library, with named, stored variants. Ships a Cloudflare Images URL provider.
Current section
Files
Jump to
Current section
Files
lib/image/plug/pipeline/ops/draw.ex
defmodule Image.Plug.Pipeline.Ops.Draw do
@moduledoc """
Overlay/watermark operation. Wraps an ordered list of
`Image.Plug.Pipeline.Ops.Draw.Layer` structs.
Layers render in list order; later entries appear on top.
"""
alias Image.Plug.Pipeline.Ops.Draw.Layer
@type t :: %__MODULE__{layers: [Layer.t()]}
defstruct layers: []
end