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
 Layers AntiAlias differs between 8.0.1 and 8.1.0

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
DRIGUS Posted - Sep 20 2018 : 06:50:24
Hi *.*,

we just updated from ImageEn 8.0.1 to 8.1.0 and got a different behaviour regarding the display of layers, take a look at the attached images.

Our program uses a TImageEnView with different layers in order to display a camera preview (DirectShow, SampleGrabber) with different buttons (layers with alpha channel PNG files).

As you can see, in 8.0.1 the display of the buttons is somehow antialiasing, but not in 8.1.0. I tried to modify AlphaEdgeFeathering, AntiAlias and LayersFastDrawing without success.


Any idea what has changed and how we get the smooth look back?


Thanks in advance.



5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 27 2018 : 01:48:53
Yes, that is correct. In 8.1.1 you won't need to modify the source.

Nigel
Xequte Software
www.imageen.com
DRIGUS Posted - Sep 26 2018 : 06:51:12
Thanks again.

The LayerShadowAlphaThreshold is missing in TIEImageEnGlobalSettings in 8.1.0. But I found the constant SoftShadow_BG_Alpha_Threshold in unit iexLayers. Setting this to 0 works.


Greetings
xequte Posted - Sep 25 2018 : 20:49:04
Hi

In 8.1.1 (ready next week) we will reduce the default alpha threshold when showing the soft shadow.

To remove it completely (same as 8.0.1) set:

IEGlobalSettings().LayerShadowAlphaThreshold := 0;


Nigel
Xequte Software
www.imageen.com
DRIGUS Posted - Sep 25 2018 : 04:51:05
Thanks for your reply.

Yes, soft shadows are enabled. And turning it off resolve the problem. But we don't want to turn it off because then the buttons are not clearly recognizable as buttons.

So how can I achieve a smooth display of the buttons with soft shadows enabled like in 8.0.1?

Greetings
xequte Posted - Sep 20 2018 : 19:41:24
Hi

Is soft shadow enabled for the layer? Does turning that off resolve it?

If so, please let us know your soft shadow settings.

Nigel
Xequte Software
www.imageen.com