We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I feel like there could be some optimizations concerning the image update.
context.putImageData(binary_data);
instead of creating a Blob that is png encoded. That would also allow the back-end to not waste time encoding into png (if that is possible).
The text was updated successfully, but these errors were encountered:
iirc @mdboom did some bench marking on this to get to the current set up.
png will do run-length encoding so if you have many identical pixels in a row, you will get pretty extreme compression.
Sorry, something went wrong.
No branches or pull requests
I feel like there could be some optimizations concerning the image update.
instead of creating a Blob that is png encoded. That would also allow the back-end to not waste time encoding into png (if that is possible).
Plus, we are still sending a full image. Maybe the png encoding does some compression if lots of pixels are transparent? If that is not the case, we are still sending the same amount of data.
The text was updated successfully, but these errors were encountered: