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

Fix RGBToString conversion #898

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Fix RGBToString conversion #898

merged 1 commit into from
Feb 26, 2024

Conversation

osm
Copy link
Contributor

@osm osm commented Feb 26, 2024

The RGBToString function is intended to serve as the inverse of TrackerStringToRGB_W, which is responsible for translating [0-9] to [0-255].

However, the previous version of RGBToString did not function correctly. For instance, the value 255 was inaccurately converted to 9, which is incorrect (it should be 15).

This patch aims to address the issue and correctly convert the bytes to their downscaled hex character representation."

@ciscon ciscon merged commit f47973c into QW-Group:master Feb 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants