Extending the HTML Canvas API

Hello everyone

here is the question from Wednesday’s Office Hours to the Canvas API with more details.

It’s great that the canvas element is now available and that you can draw shapes. What also would be very helpful are pixel manipulations with Canvas.

I’m thinking of these two methods, for example:

drawImage()

getImageData()

My specific use case is that an image is displayed on the canvas element. The user draws a marker or a cutout on that image, which is then sent to a web API for further analysis.

Here are a few more use cases from the Photoshop colleagues:

Roland