You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in wrong RGB colors. As result of that, the pixel conversion from BMP to palette (line 643-658) goes wrong, even when I used 100% the same colors as in the palette in the BMP.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In MiniGrafx::drawBmpFromFile, at the beginning of the routine the current palette RGB565 codes are converted to RGB888 (line 556-560):
This results in wrong RGB colors. As result of that, the pixel conversion from BMP to palette (line 643-658) goes wrong, even when I used 100% the same colors as in the palette in the BMP.
The code I found correct is:
Maybe useful to update.
The text was updated successfully, but these errors were encountered: