Module Cairo_png


module Cairo_png: sig .. end
PNG reading/writing functions

val image_surface_create_from_channel : Pervasives.in_channel -> Cairo.image_surface
val image_surface_create_from_file : string -> Cairo.image_surface
val image_surface_create_from_stream : (string -> unit) -> Cairo.image_surface
val surface_write_to_channel : [> `Any ] Cairo.surface -> Pervasives.out_channel -> unit
val surface_write_to_file : [> `Any ] Cairo.surface -> string -> unit
val surface_write_to_stream : [> `Any ] Cairo.surface -> (string -> unit) -> unit