ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 RoundImage Border Smooth (blending)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hs shin

Korea
1 Posts

Posted - Mar 21 2017 :  00:03:33  Show Profile  Reply
Hello,

50pixel bitmap image round
The boundary area is not smooth
I want to smooth out the border
How can I do it?

// source 
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
  ImageEnView1.Proc.RoundImage(25, 25);
  ImageEnView1.Bitmap.Modified := True;
  ImageEnView1.Update;
end;




Insert Image:

xequte

38616 Posts

Posted - Mar 21 2017 :  05:03:09  Show Profile  Reply
Hi

Please try feathering the alpha channel after calling RoundImage:

https://www.imageen.com/help/TImageEnProc.FeatherAlphaEdges.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: