Save Rounded Image loaded in TAdvSmoothPanel

Good evening everyone,

i am using an TAdvSmoothPanel to display an Image inside it:



I now want to export / save the image again in its rouned form.

I was tring with:
AdvSmoothPanel1.Fill.BackGroundPicture.SaveToFile('D:\catinpanel.png');

However the output is like the original picture:





So my question is:
How can i save the picture in the round form after loaded in TAdvSmoothPanel.

Best regards,
Chris




Hi, 


The picture is saved as the original picture. If you want to save the picture as a rounded image you will need to use the code in the following sample

http://www.tmssoftware.net/public/Sample.zip


Thanks so much Pieter!

Could you please have a look on my other TAdvSmoothPanel question as well?
https://www.tmssoftware.com/site/forum/forum_posts.asp?TID=6235&PID=23734#23734