Results 1 to 6 of 6

Thread: To 16-Colors?

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    To 16-Colors?

    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!
    Attached Files Attached Files
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width