Extension:UploadConvert

The UploadConvert extension allows you to execute a program when uploading a file, possibly changing the file or renaming it in the process. The original thrust of this extension was to provide a mechanism to avoid manually converting BMP images into PNG for upload.

It's possible to use UploadConvert for other utilities. For instance, you may wish to run an image optimizer on your PNG files (such as optipng) or validate a ZIP file's integrity (unzip -t). UploadConvert by default checks the return code from the executed command to determine success and can be configured to refuse an upload which fails to "convert".

The title of the extension is, admittedly, mostly search engine bait. Your author was unable to find any existing extension that would convert images on upload and hopes that this extension is easy to find for those that wish to do so.