# HTML Canvas API - research

**URL:** <https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266>\
**Category:** UXP Plugin API\
**Tags:** research\
**Created:** [February 8, 2022, 6:51pm UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266 "2022-02-08T18:51:53Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![arcusfelis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/arcusfelis/32/3009_2.png) [@arcusfelis](https://forums.creativeclouddeveloper.com/u/arcusfelis)\
**Post date:** [May 7, 2024, 5:58pm UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266/21 "2024-05-07T17:58:08Z")

</div>

> [@Jarda](#):
>
> ```auto
> 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.

---

<div class="post-metadata">

**Author:** ![jolg42](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jolg42/32/3888_2.png) [@jolg42](https://forums.creativeclouddeveloper.com/u/jolg42)\
**Post date:** [August 20, 2024, 2:03pm UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266/22 "2024-08-20T14:03:28Z")

</div>

I just found this topic and I have a question / feedback about the Canvas API, I posted a new topic here:

> [@Missing methods for the canvas API (\`.save()\` / \`.restore()\`)](http://forums.creativeclouddeveloper.com/t/missing-methods-for-the-canvas-api-save-restore/8307):
>
> Hello wave 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](http://paperjs.org/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 🙏

---

<div class="post-metadata">

**Author:** ![arcusfelis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/arcusfelis/32/3009_2.png) [@arcusfelis](https://forums.creativeclouddeveloper.com/u/arcusfelis)\
**Post date:** [June 18, 2025, 10:48am UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266/23 "2025-06-18T10:48:47Z")

</div>

WebGl would be even more useful, because canvas API from web is pretty slow if we want to draw many objects (while WebGl could use GPU acceleration)

---

<div class="post-metadata">

**Author:** ![blackRGB](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@blackRGB](https://forums.creativeclouddeveloper.com/u/blackRGB)\
**Post date:** [June 23, 2025, 9:55am UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266/24 "2025-06-23T09:55:53Z")

</div>

Apparently due to resource savings, the CSS property “opacity” still hasn’t been added. And as for WebGL - that’s from a fantasy world with unicorns

---

<div class="post-metadata">

**Author:** ![arcusfelis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/arcusfelis/32/3009_2.png) [@arcusfelis](https://forums.creativeclouddeveloper.com/u/arcusfelis)\
**Post date:** [June 23, 2025, 10:17am UTC](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266/25 "2025-06-23T10:17:28Z")

</div>

WebGL is supported in webview though, it is enough 🙂

[Previous page](https://forums.creativeclouddeveloper.com/t/html-canvas-api-research/4266.md?page=1)
