The non-QStringList variant of QProcess::start() was removed in Qt 5.15. The adapted method handles escaping of the arguments, which simplifies code in some locations.
* Refactor image generation into separate function