RosettaCodeData/Task/Bitmap/OCaml/bitmap-5.ocaml

7 lines
144 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
let get_pixel_unsafe (_, r_channel, g_channel, b_channel) =
(fun x y ->
(r_channel.{x,y},
g_channel.{x,y},
b_channel.{x,y})
)