T O P I C R E V I E W |
pierrotsc |
Posted - Apr 14 2018 : 17:41:46 I am trying to show the K% value of points while moving and although the image in photoshop does display the correct one, it does not in my program. The RGB values match so i assume it is my formula. I am using that: TestLum := FormatFloat('##0', (255 - GetRValue(AColor)) / 2.55);
Acolor is a Tcolor variable. the image isin grayscale so theR,G and B values are the same.
Advice Pierre
|
2 L A T E S T R E P L I E S (Newest First) |
pierrotsc |
Posted - Apr 16 2018 : 16:46:02 Thanks, I think i got my formula working and appreciate the link for this command I was unaware off. Really cool
|
xequte |
Posted - Apr 15 2018 : 19:14:02 Hi Pierre
You can use SetInteractionHint to display a hover hint at a mouse position:
https://www.imageen.com/help/TImageEnView.SetInteractionHint.html
Nigel Xequte Software www.imageen.com |