Module Bimage_io.Input

type t
val init : string -> ( t, error ) Stdlib.result
val spec : t -> Spec.t
val read_image : ?index:int -> t -> ( 'a, 'b, [ `Rgb ] ) Bimage.Image.t -> ( unit, error ) Stdlib.result
val read : ?index:int -> t -> ( 'a, 'b ) Bimage.Type.t -> [ `Rgb ] as 'c Bimage.Color.t -> ( ( 'a, 'b, 'c ) Bimage.Image.t, error ) Stdlib.result