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
 White border around text layer

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
yeohray2 Posted - Nov 17 2021 : 11:45:52
My text layer has a white border regardless of the layer's BorderWidth and BorderColor values.



If I turn off AntiAlias for the text layer, the white border disappears.



Am attaching a sample project to reproduce the error. Is there some setting I can use to remove the white border?

Thanks in advance.

attach/yeohray2/20211117114142_source.zip
5567.25 KB
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 22 2021 : 23:59:41
Hi Klaus

In the next release you achieve the same with loEdgeSmoothing of ImageEnView1.LayerOptions (it will be enabled by default).

Nigel
Xequte Software
www.imageen.com
xequte Posted - Nov 19 2021 : 23:07:20
Sorry Ray, I misunderstood. I have fixed that now. You can email me for an update.


Nigel
Xequte Software
www.imageen.com
yeohray2 Posted - Nov 19 2021 : 02:12:02
Hi Klaus,

I think your solution works to remove the lines around the text? My issue is there is a white border around the text layer that shouldn't be there. I can either turn off anti-aliasing, or don't use a fill color, to remove that border.

Ray
xequte Posted - Nov 18 2021 : 23:26:59
Hi Klaus

That actually works very well. I'll look at adding this kind of smoothing to the next release.

Nigel
Xequte Software
www.imageen.com
klausdoege Posted - Nov 18 2021 : 04:55:55
Hi,
I had the same problem.
My tip, to use inner shine with text color.
That reduces the effect quite well.
Example:
ImageEnView1.CurrentLayer.InnerGlow.Enabled: = True;
ImageEnView1.CurrentLayer.InnerGlow.Radius: = 1;
ImageEnView1.CurrentLayer.InnerGlow.ShadowColor: = TColor2TRGB (your Textcolor);
ImageEnView1.Update ();

Klaus
DigiFoto
www.klausdoege.de
yeohray2 Posted - Nov 17 2021 : 21:57:11
Noted, thanks.
xequte Posted - Nov 17 2021 : 15:00:59
Hi

Yes, this is a limitation of the way alpha is handled in layers. Unfortunately there is not an easy solution to this.



Nigel
Xequte Software
www.imageen.com