-
### Current Behavior
Advanced blend modes don't work in combination with filters.
![image](https://github.com/pixijs/pixijs/assets/31905376/3db3554a-161d-4495-a0e3-6fd33955bb08)
### Expecte…
-
```
Currently the Selection tool uses an off-screen Canvas element for
buffering the selected pixels. From the said buffer, the pixels are copied
and scaled using the drawImage method onto the desti…
-
```
Currently the Selection tool uses an off-screen Canvas element for
buffering the selected pixels. From the said buffer, the pixels are copied
and scaled using the drawImage method onto the desti…
-
Getting an `Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.` error while attempting to track face on video for one frame.
Apparently, c…
-
**Feature Description:**
The willReadFrequently attribute in the HTML Canvas API is a performance optimization hint that can be provided to the browser when frequently reading data from a canvas. This…
-
Type: Bug
I admit that the context for the debugger is kind of ambiguous. Lambdas are generated as anonymous structs and the lambda itself is a method on this anonymous struct. However
```cpp
…
-
### Context
The `canvas` provides limited help when it comes to creating UI such as buttons, input fields, text and other things used in menus, HUDs and similar. At the same time, the browser provi…
-
你肯定遇到上传图片的业务场景,你会需要对用户上传的图片做限制,文件类型,文件大小,但是如果限制死了文件大小,必然会带来糟糕的用户体验,现在通常的做法是对用户上传的原图做一次压缩减小体积后再上传。
- **方法1:利用canvas**
比较简单的处理逻辑,缺点就是会丢失画质,处理流程为图片 -> canvas压缩 -> 图片
```js
// 入参就是需要压缩的图片文件(file类…
-
The canvas API supports taking an existing HTMLCanvasElement, calling the `transferControlToOffscreen` method and obtaining a new `OffscreenCanvas` which wraps the existing canvas state. The existing …
-
It would be very useful to have support for the `ellipse()` method.
Specs: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-ellipse