Vibe.Image.Dimensions (vibe v0.2.2)

Copy Markdown View Source

Pure Elixir image dimension parsers for supported inline image formats.

Summary

Functions

detect(binary, arg2)

@spec detect(binary(), String.t()) :: {:ok, {pos_integer(), pos_integer()}} | :error

gif(arg1)

@spec gif(binary()) :: {:ok, {pos_integer(), pos_integer()}} | :error

jpeg(arg1)

@spec jpeg(binary()) :: {:ok, {pos_integer(), pos_integer()}} | :error

png(arg1)

@spec png(binary()) :: {:ok, {pos_integer(), pos_integer()}} | :error

webp(arg1)

@spec webp(binary()) :: {:ok, {pos_integer(), pos_integer()}} | :error