Unfortunately there's no plugin that could perform this kind of convertion, what could be done would be to manipulate screenshots (images) with the ScreenSnipe plugin, please see below more information about this plugin:
It is a little different from what you asked for but it provides more options about working with images and screenshots, so maybe this can help.
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs