Link to home
Start Free TrialLog in
Avatar of nurul_julia
nurul_julia

asked on

convert bitmap color to symbols

HELP ME!!!! I need a C++ source code on converting the bitmap color(RGB value) to symbols when it printed out later.
ASKER CERTIFIED SOLUTION
Avatar of scrapdog
scrapdog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pauloserra
pauloserra

If you have the RGB values in 32-bit format (it depends on the format of the bitmap, which may be device specific), you can use the macros:
GetBValue(color)
GetGValue(color)
GetRValue(color)
to get the Blue, Green and Red values and format them according to your convenience.