Bimage.PixelPixel defines operations on individual pixels, which are stored as floatarray
val fill : 'a t -> float -> unitval length : 'a t -> intGet the number of channels in a pixel
val get : 'a t -> int -> floatGet value at index
val set : 'a t -> int -> float -> unitSet value at index
val data : 'a t -> floatarrayReturns the underlying pixel data
val iter : ( int -> float -> unit ) -> 'a t -> unitIterate over pixel values
map f x executes f for each value in x, returning a new Pixel.t
map_inplace f x executes f for each value in x, assigning the new value to the same * index
Executes a function over each item in two pixels
map2 f x y executes f for each value in x and y, returning a new Pixel.t
val fold : ?ignore_alpha:bool -> ( float -> 'a -> 'a ) -> 'b t -> 'a -> 'aReduction over a pixel
val pp : Stdlib.Format.formatter -> 'a t -> unitmodule Infix : sig ... end