package scope

  1. Overview
  2. Docs

Module Netpbm.Ppm

PPM - https://netpbm.sourceforge.net/doc/ppm.html

val to_sdl_color : int -> int -> int -> int -> Tsdl.Sdl.color
val parse_ppm_header : string -> (int64 * string * int * int * int) option

Parse PPM header and return (cursor pos, magic number, width, height, maxval)

class ppm : string -> Scope__Formats.Format.format