While thanks to the sandboxing provided by Cloud Functions / AWS Lambda, executing an external shell command(including ImageMagick) is not a nightmare any more! Safety burden transferred to these cloud container services.