exception Not_implemented
module Pixel : sig ... end
type data =
(int, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout)
Stdlib.Bigarray.Array1.t
type t_data =
| RGB of rgb
| YUV of yuv
type t = {
data : t_data;
width : int;
height : int;
}
val rgb_data : t -> data * int
val rgba32_to_bgr32 : data -> int -> data -> int -> (int * int) -> unit
val rgb24_to_rgba32 : data -> int -> data -> int -> (int * int) -> unit
val rgb32_to_rgba32 : data -> int -> data -> int -> (int * int) -> unit