View Full Version : getImageData() in Safari

10-03-2008, 08:02 AM
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.

10-03-2008, 04:02 PM
A quick Google of:


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?