r/Basic • u/TheOuterLinux • Jul 27 '19
The RGB outputs of this script are wrong. Any way to fix?
https://theouterlinux.gitlab.io/website/Downloads/COLORHLP.BAS
1
Upvotes
r/Basic • u/TheOuterLinux • Jul 27 '19
1
u/TheOuterLinux Jul 27 '19
I've been working on a Python script (https://theouterlinux.gitlab.io/website/Projects/Linux/img2qb/img2qb.html) to convert modern image formats to QuickBasic DATA format for things such as game sprites. However, the 256 palette part of the Python script is still a work in progress (16 color and lower works fine) and I thought I could write a BASIC script to help print RGB values instead of having to manually increment DRAW color values and then use a color picker. However, the RGB values from the COLORHLP.BAS (https://theouterlinux.gitlab.io/website/Downloads/COLORHLP.BAS) script are wrong. How do I fix this?