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

Potential performance improvement by removing the canvas creation #508

Open
sedghi opened this issue Jan 27, 2023 · 0 comments
Open

Potential performance improvement by removing the canvas creation #508

sedghi opened this issue Jan 27, 2023 · 0 comments

Comments

@sedghi
Copy link
Member

sedghi commented Jan 27, 2023

Here we are creating the canvas which is only used in one of the decoders via decodeImageFrame and also later in the code if the image is color.

So we don't need to always create a canvas, the code should get refactored to only create canvas when needed which is much better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant