Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixel editor sometimes mangles bitmaps in Arc #407

Closed
cjdenio opened this issue Sep 27, 2022 · 3 comments
Closed

Pixel editor sometimes mangles bitmaps in Arc #407

cjdenio opened this issue Sep 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@cjdenio
Copy link
Member

cjdenio commented Sep 27, 2022

Screen.Recording.2022-09-27.at.12.18.09.AM.mov

It looks like some of the pixel data from ctx.getImageData is slightly off.

I can't reproduce this in any other Chromium-based browser.

@Omay238 Omay238 added the bug Something isn't working label Sep 29, 2022
@kognise
Copy link
Member

kognise commented Oct 14, 2022

CNR in latest Arc, are you still having this issue?

@cjdenio
Copy link
Member Author

cjdenio commented Oct 14, 2022

Can't reproduce this on the computer I'm currently on— I'll make sure it's also fixed on my main machine

@kognise
Copy link
Member

kognise commented Oct 20, 2022

Truly horrible bug. Apparently canvas will occasionally slightly mangle colors, rendering a single channel off by one. When this happens and which channels are mangled seems to be up to entropy and this only happens on some browsers on some computers (and not a set with any seeming pattern, either). I'm just writing to an ImageData directly now and skipping the offscreen canvas, and all seems to be well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants