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
image_plug lib image plug pipeline ops sharpen.ex
Raw

lib/image/plug/pipeline/ops/sharpen.ex

defmodule Image.Plug.Pipeline.Ops.Sharpen do
@moduledoc """
Edge-enhancement operation. Holds a libvips `sigma` value derived
from the provider's native sharpen parameter (Cloudflare uses 0..10).
"""
@type t :: %__MODULE__{sigma: float()}
defstruct sigma: 0.0
end