It worked for me. Way cool!
Let's hope that the browser developers get together and reach feature
parity soon with regards to canvas.
--- In email@example.com
, "Don Frehulfer"
> Its been a while since there was activity on this list, but I just
> noticed something noteworthy.
> It seems, at least on Firefox 184.108.40.206 the getImageData() spec (see
> http://www.whatwg.org/specs/web-apps/current-work/#the-canvas) is
> What this means is you can cycle through the pixels and change colors,
> doing any kind of compositing you wish.
> What I did in the example code (uploaded to the files section in a
> file called "buttons.html") is a draw a bunch of shapes with varying
> levels of red, then I cycle through part of the image swapping the
> red/blue color values.
> This does not work with the version of Opera that I'm using (9.00
> build 8501) but it may be supported in the current(?) version.
> Anyway, just thought it was interesting.
> Let me know if my sample code doesn't work.