Pngex.set_width

You're seeing just the function set_width, go back to Pngex module for more information.
Link to this function

set_width(pngex, width)

Specs

set_width(t(), pos_int32()) :: t() | {:error, [{:invalid_width, any()}]}

Sets image width.

Examples

iex> Pngex.new() |> Pngex.set_width(128)
%Pngex{width: 128}
iex> Pngex.new() |> Pngex.set_width(0)
{:error, invalid_width: 0}