Results 1 to 2 of 2

Thread: getImageData() in Safari

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool getImageData() in Safari

    hello friends,

    Anybody pl. tell me, how to use getImageData() in Javascript with Safari browser. Safari is not supporting getImageData(). It shows

    "Value undefined (result of expression cCtx.getImageData) is not object"

    Thanks in advance.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    A quick Google of:

    getImageData

    Yields plenty of results, but apparently none showing its supported syntax in any browser. There are however plenty of results indicating that it is not well implemented. I would advise against using it if at all possible. If memory serves, PHP can do this sort of thing and is not browser dependant.

    If you only need a few pieces of information about an image, standard javascript methods and properties of the Image Object may suffice.

    What exactly (in plain English) are you trying to do?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •