You can already do that with a cutout/frame. There are some included with Qimage but you can create your own that have any style including drop shadows, wooden frames, etc.
https://www.ddisoftware.com/qimage-u/help/function.htm#cutouts
Regards,
Mike