Is it possible to use getimageData without an HTML Canvas element?

(Nick ) #1

I am trying to make a tool in Hype that will count the black pixels in a .png image.
I can do something similar in HTML with a canvas but is this possible to achieve in Hype with placed image elements or a rectangle element filled with an image?

Here is a link to a solution that William Malone worked on using jQuery and Canvas. (2.7 KB)

(james koh) #2

if nick doesn’t know… who knows? lol

(Nick ) #3

HA @jameskoh!! :smile:

Some features of scripting elements in the canvas are really useful but I really do dislike it compared to what we are all doing in Hype.