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
 Changes made by MouseAdjustBlackWhite-Action from ImageEnView into ImageEnMView

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
BBriefs Posted - Oct 09 2023 : 09:19:33
Hello,

I am using a standard setup with an TImageEnMView as an image-list combined with an TImageEnView to show and edit the selected images.
To edit the imagein the TImageEnView I am using actions. To apply the changes to the TImageEnMView I simply call ImageEnMView.SetImage(Index, ImageenView.IEBitmap) in the OnActionExecute of the ImageEnView.

That works for most actions like cropping, rotating and so on, but not for MouseAdjustBlackWhite, where the SetImage-Call simply resets the brightness/contrast-changes. The threads and demos I have found with regard to that topic explain how to save manual changes to brightness/contrast, but not how to do that when using the MouseAdjustBlackWhite-action.

I would be grateful if someone could explain how to achieve that.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 09 2023 : 14:32:14
Hi

MouseAdjustBlackWhite enables the miAdjustBlackWhite interaction

https://www.imageen.com/help/TImageEnView.MouseInteractGeneral.html

Which sets:

https://www.imageen.com/help/TIEBitmap.BlackValue.html
https://www.imageen.com/help/TIEBitmap.WhiteValue.html

To apply those changes you must call:

https://www.imageen.com/help/TIEBitmap.StretchValues


Nigel
Xequte Software
www.imageen.com