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. |