Loading ...
Sorry, an error occurred while loading the content.

Re: getImageData()

Expand Messages
  • Andrew
    It worked for me. Way cool! Let s hope that the browser developers get together and reach feature parity soon with regards to canvas.
    Message 1 of 2 , Jan 25, 2007
    • 0 Attachment
      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 canvas-developers@yahoogroups.com, "Don Frehulfer"
      <dfrehulf@...> wrote:
      >
      > Its been a while since there was activity on this list, but I just
      > noticed something noteworthy.
      >
      > It seems, at least on Firefox 2.0.0.1 the getImageData() spec (see
      > http://www.whatwg.org/specs/web-apps/current-work/#the-canvas) is
      > implemented.
      >
      > 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.
      >
      > -Don
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.