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

Rotate wind direction icon to improve precision #63

Closed
orontee opened this issue Oct 30, 2023 · 3 comments
Closed

Rotate wind direction icon to improve precision #63

orontee opened this issue Oct 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@orontee
Copy link
Owner

orontee commented Oct 30, 2023

Context

Currently wind direction is represented by 8 icons. It's not very precise and it increases the executable size for no good reason.

Analysis

Tried to rotate a single icon using opencv but the application freeze. To debug...

@orontee orontee added the enhancement New feature or request label Oct 30, 2023
orontee added a commit that referenced this issue Nov 1, 2023
@orontee
Copy link
Owner Author

orontee commented Nov 1, 2023

Removed use of NewBitmap(), fixed copying data between images with incompatible types and... seems to work!

screenshot

orontee added a commit that referenced this issue Nov 1, 2023
@orontee
Copy link
Owner Author

orontee commented Nov 1, 2023

Hum... Looks like the rotation isn't right 😄

orontee added a commit that referenced this issue Nov 1, 2023
@orontee
Copy link
Owner Author

orontee commented Nov 1, 2023

Hum... Looks like the rotation isn't right 😄

Fixed.

@orontee orontee closed this as completed Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant