100
rated 0 times
[
106]
[
6]
/ answers: 1 / hits: 29758
/ 12 Years ago, sun, may 6, 2012, 12:00:00
Is it possible to get an array of pixels from a PNG or BMP image in Javascript? I'd like to obtain an RGB array from an image so that I can manipulate the array of pixels, and then draw the modified image on a canvas.
UPDATE: I found an exact duplicate here: how to get the RGB value of an image in a page using javascript?
However, the answers don't go into much detail about how to actually solve this problem.
More From » canvas