Edit the photo in PhotoPaint.
Open Object Docker
If you have a Background object, convert it to object/layer. There is a button to do this
Right click the eye icon and select create ClipMask to show all.
Now with the clipmask active, use the interactive fill tool and draw a gradient. You will see how the border turn to transparent.
Play with it.