Pngex.set_height

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

set_height(pngex, height)

Specs

set_height(t(), pos_int32()) :: t() | {:error, [{:invalid_height, any()}]}

Sets image hieght.

Examples

iex> Pngex.new() |> Pngex.set_height(128)
%Pngex{height: 128}
iex> Pngex.new() |> Pngex.set_height(0)
{:error, invalid_height: 0}