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

SNES color conversion #50

Open
H-A-M-G-E-R opened this issue May 10, 2024 · 1 comment
Open

SNES color conversion #50

H-A-M-G-E-R opened this issue May 10, 2024 · 1 comment

Comments

@H-A-M-G-E-R
Copy link

why is it taking a color and dividing each component by 8 and flooring instead of multiplying each component by 31/255 and then rounding?

@lintbe
Copy link
Contributor

lintbe commented Jun 18, 2024

I just went to the same conclusion last night while trying to figure out why the colors on my converted image was so far from orginal. After reading the source code, I went to the same conclusion. I will try to make a patch for this.

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

No branches or pull requests

2 participants