Module Bimage_io

type error = [
| Bimage.Error.t
| `File_not_found of string
]
type base_type =
| Unknown
| None
| UInt8
| Int8
| UInt16
| Int16
| UInt32
| Int32
| UInt64
| Int64
| Half
| Float
| Double
| String
| Ptr
module Spec : sig ... end
module Input : sig ... end
module Output : sig ... end
val read : ( 'a, 'b ) Bimage.Type.t -> 'c Bimage.Color.t -> string -> ( ( 'a, 'b, 'c ) Bimage.Image.t, error ) Stdlib.result
val write : string -> ( 'a, 'b, [< `Rgba | `Rgb | `Gray ] ) Bimage.Image.t -> ( unit, error ) Stdlib.result