Minor bug in Graphics.drawImage() #7421
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2020-10-29 by @gfwilliams Ahh - I believe this may be related to how multi-byte pixels are interpreted in images. I think they're big endian while the Uint24Array is little endian? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-10-29 by SergeP
Hi!
I've just tried to write an image to my famous clock :) and found a bug with transparent color.
I expect transparent point is in first image line (I can find it even if image is mirrored because there is second color line near) but it is actually in last one. If I set transparent to 0x10000 I see transparent point in first line while expect it in last one.
Beta Was this translation helpful? Give feedback.
All reactions