ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 K%

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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