Module Bimage_io.Spec

type t
type 'a attr =
| Int : int attr
| Float : float attr
| String : string attr
val shape : t -> int * int * int
val base_type : t -> base_type
val make : ( 'a, 'b ) Bimage.Type.t -> 'c Bimage.Color.t -> int -> int -> t
val get_attr : t -> string -> 'a attr -> 'a option
val set_attr : t -> string -> 'a attr -> 'a -> unit
val attr_names : t -> string array