Thread:Project:Support desk/Execute bash script, upload and create page/reply

This sort of work (async thumbnailing) is already done for the most part. Have a look at thumb.php.

Using this method, MediaWiki can convert to different formats (e.g. svg to png).

If you have another use case in mind, I would look at thumb.php to see how to extend it for what you want.