Board index » delphi » Will RGB on other PC Monitors match my RGB?

Will RGB on other PC Monitors match my RGB?


2004-08-07 05:13:30 AM
delphi30
I have a small database table full of the RGB values and a name for
each, that I have determined are in my image.
If I were to distribute this image to my user group, who have unknown
different monitors and video cards, and they were to click on the
TImage with my same image file loaded, would they get the same RGB
values that I did?
I know they wont get the same TColor, I got stung on that before
because Windows will substitute colors it can not render on the client
machine compared to mine.
My image may be a bitmap, jpg, or png. I need to know if they click
on pixel 120,98 they will get the very same RGB values as I do when I
click on the same pixel with the same image loaded.
Thanks in advance.
 
 

Re:Will RGB on other PC Monitors match my RGB?

"Red" <XXXX@XXXXX.COM>wrote
Quote
If I were to distribute this image to my user group, who have unknown
different monitors and video cards, and they were to click on the
TImage with my same image file loaded, would they get the same RGB
values that I did?
Hint: Switch your display to a 15/56bpp or even to an 8bpp mode and check
for yourself.
 

Re:Will RGB on other PC Monitors match my RGB?

Make sure to use pf24bit and not pfDevice in your bitmap, then you should be
fine I think.
Kind regards,
Nils
"Red" <XXXX@XXXXX.COM>writes
Quote
I have a small database table full of the RGB values and a name for
each, that I have determined are in my image.

If I were to distribute this image to my user group, who have unknown
different monitors and video cards, and they were to click on the
TImage with my same image file loaded, would they get the same RGB
values that I did?

I know they wont get the same TColor, I got stung on that before
because Windows will substitute colors it can not render on the client
machine compared to mine.

My image may be a bitmap, jpg, or png. I need to know if they click
on pixel 120,98 they will get the very same RGB values as I do when I
click on the same pixel with the same image loaded.

Thanks in advance.
 

Re:Will RGB on other PC Monitors match my RGB?

In article <XXXX@XXXXX.COM>, Red writes:
Quote
I have a small database table full of the RGB values and a name for
each, that I have determined are in my image.

If I were to distribute this image to my user group, who have unknown
different monitors and video cards, and they were to click on the
TImage with my same image file loaded, would they get the same RGB
values that I did?
Only if they are running a video mode with the same color depth you are
running, at least if you are determining the color of the screen pixel
the user clicked on, instead of the color of the equivalent pixel in
your off-screen image.
Quote
I know they wont get the same TColor,
A TColor is made up of the R, G, and B values.
Peter Below (TeamB)
Use the newsgroup archives :
www.mers.com/searchsite.html
www.tamaracka.com/search.htm
groups.google.com
www.prolix.be