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
 Strange Zoom Filter Effect

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
Sybaritica Posted - Oct 10 2021 : 09:44:33
This is less a question than a notification of something I discovered.

I adopted the code from the DisplayAdjust Demo to limit brightness and contrast adjustments to the area selected: To wit,

   ImageEnView1.IEBitmap.AdjustmentsMask.Assign( ImageEnView1.SelectionMask );
   if ImageEnView1.IEBitmap.AdjustmentsMask.IsEmpty then
     ImageEnView1.IEBitmap.AdjustmentsMask.Fill();
   ImageEnView1.Update();


This was not working with my application. Any Contrast or Brightness change was applied to the entire image whether or not there was an active selection. It turns out that the following line in my startup code was causing this result.

Pic.ZoomFilter := rfLanczos3;

It appears that Setting a ZoomFilter other than rfNone has the above effect.

Just FYI
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 13 2021 : 21:46:27
Hi

OnSelectionChange is only for user changes, so call the OnSelectionChange event after your selection change code.

Nigel
Xequte Software
www.imageen.com
Sybaritica Posted - Oct 12 2021 : 17:16:08
Oh, no problem. I have a workaround for now. I am wondering, though, if the TImageEnview OnSelectionChange event could be fired by programmatic changes as well as user interaction? My current workaround in this instance also needs to work around the fact that it doesn't.
xequte Posted - Oct 12 2021 : 17:00:31
Sorry John,

I see you are not a source code user, and at present the fix is source code only. Please wait until the official 10.2.1 release.

Nigel
Xequte Software
www.imageen.com
Sybaritica Posted - Oct 12 2021 : 08:41:42
Hi Nigel ...

I would like to receive a copy of the fix. The Form mail system will not allow me to send e-mail to others (apparently I haven't made enough posts, or something?).

Cheers

John T.
xequte Posted - Oct 11 2021 : 21:05:17
You can email me for a fix for this.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Oct 10 2021 : 20:52:51
Thank you.

We can reproduce this and are investigating.

Nigel
Xequte Software
www.imageen.com