Turbojpeg.get_jpeg_header

You're seeing just the function get_jpeg_header, go back to Turbojpeg module for more information.

Specs

get_jpeg_header(binary()) :: {:ok, jpeg_header()} | error()

Gets the header from a jpegv

 iex> {:ok, header} = Turbojpeg.get_jpeg_header(jpeg)
   {:ok,
     %{
        format: :I422,
        width: 192,
        height: 192
      }
   }