Cropped pixels on rotation #6972
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2024-07-30 by Ivor Issues: https://github.com/espruino/Espruino/issues Posted at 2024-07-30 by arvere Thanks for the links. Posted at 2024-07-31 by @gfwilliams It'd be great if you could come up with an example if you're going to file an issue. I guess you mean something like this?
It definitely feels like there is some kind of issue there - seems to be missing at least the right and bottom edge... Posted at 2024-08-03 by arvere Issue raised here. Thanks for the sample code btw |
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 2024-07-30 by arvere
Hello, I'm trying to draw images using the Graphics library. I have a few small scale images (11x11px) which need to be displayed in different rotations. To save bytes, I am attempting to use the rotate option, as in:
g.drawImage(img, x, y, { rotate: Math.PI })
The image is drawn, but the end result has a 2px wide crop at the bottom edge. Is that a bug? Btw where can I find the bug tracker of this project? I am sure someone else ran across this before but I couldn't tell
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions