Hello, a friend of mine has this ASM project to do and he needs to pass a bitmap to pure DB declarations.
So I wrote this project (It is not neat, I know.. But I am in a hurry) that scans pixel per pixel a picture that it is given... My question is... How can I know which is the color it is using as in ASM's colors?
This is the list of colors I have:
[list=1][*]color 0 'black[*]color 1 'dark blue[*]color 2 'dark green[*]color 3 'light blue[*]color 4 'red[*]color 5 'purple[*]color 6 'brown[*]color 7 'white/grey[*]color 8 'dark grey[*]color 9 'light dark blue[*]color 10 'light green[*]color 11 'light light blue[*]color 12 'light red/orange[*]color 13 'pink[*]color 14 'yellow[*]color 15 'white [/list=1]
Could anyone help me? I just need to know that... Currently I am just displaying the number GetPixel is giving me...
Everything I am doing is in the module "obtenerImagenASM" in the procedure "obtenerColorASM"
I really appreciate your help!
We miss you, friend... Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico