Jarda:
const imageData = new ImageData(pixels, WIDTH, HEIGHT);
ctx.putImageData(imageData, 0, 0);
second this. I do not understand what is the problem to allow this, when it was readily available in CEP. Like 4 years of UXP development, and we still do not have basic features, available in any browser.
jolg42
August 20, 2024, 2:03pm
22
I just found this topic and I have a question / feedback about the Canvas API, I posted a new topic here:
Hello
I have an issue with canvas when writing a plugin for Photoshop 2024 - 25.11.0 Release.
For context Paper.js is a very powerful library that uses the canvas APIs, see examples of what can be done with Paper.js: Paper.js — Examples
My problem is that the CanvasRenderingContext2D object is missing the save() and .restore() methods.
This line: github dot com/paperjs/paper.js/blob/92775f5279c05fb7f0a743e9e7fa02cd40ec1e70/src/canvas/CanvasProvider.js#L49 throws when loading Paper.js
…
Let me know what you think about that in that new topic