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:

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,


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

Thanks so much Pieter!

Could you please have a look on my other TAdvSmoothPanel question as well?