package hugin

  1. Overview
  2. Docs

Module Ucairo.PngSource

Sourceval write : surface -> string -> unit

write surface filename writes surface as a PNG file.

Sourceval write_to_stream : surface -> (string -> unit) -> unit

write_to_stream surface f writes surface as PNG data, calling f with each chunk.