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/flip.ex
defmodule Image.Plug.Pipeline.Ops.Flip do
@moduledoc """
Flip operation. Mirrors the working image along one or both axes.
"""
@type direction :: :horizontal | :vertical | :both
@type t :: %__MODULE__{direction: direction()}
@enforce_keys [:direction]
defstruct [:direction]
end