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
The buffer field is missing from the output of Graphics.asImage when bpp != 8 and msb = false.
Test case:
let g = Graphics.createArrayBuffer(8,8,1); let image = g.asImage(); print(image);
Output:
{ "width": 8, "height": 8 }
Expected output:
{ "width": 8, "height": 8, "bpp": 1, "buffer": new ArrayBuffer(8) }
Looks to be the root cause of http://forum.espruino.com/conversations/349170/#comment15347262
The text was updated successfully, but these errors were encountered:
Argh, sorry - looks like it should have fallen through to copying pixels and it somehow didn't
Sorry, something went wrong.
40a3584
No branches or pull requests
The buffer field is missing from the output of Graphics.asImage when bpp != 8 and msb = false.
Test case:
Output:
Expected output:
Looks to be the root cause of http://forum.espruino.com/conversations/349170/#comment15347262
The text was updated successfully, but these errors were encountered: