#3575 - Support 'transcoding' non-websafe uploaded images formats

Identifier #3575
Issue type Feature request or suggestion
Title Support 'transcoding' non-websafe uploaded images formats
Status Open
Handling member Deleted
Addon core
Description If tif/tiff files are uploaded, automatically convert to PNG. Possibly also do the same for webm, and other exotic formats like JPEG HD.

For this to work there'll need to be quite a few changes...

1) All the code that validates allowable file extensions for upload will need to add the file types we can transcode.

2) BUT only if we have a working copy of imagemagick configured.

3) The optimisation pipeline will need to do the conversion.

4) The optimisation pipeline will need to support changing the path/filename, to reflect the new file extension. *

* While doing this it makes sense to make the 'save_jpegs_as_png' option implementation cleaner. png_compress would therefore need be able to change path/filename too, and anything else that calls png_compress. Make the config an official option, next to jpeg_quality.
Steps to reproduce

Additional information There's an 'find_imagemagick' function. This will want altering to just be based on a config option, with current search code moved to determining the default for that option.
Related to

#2052 - Formal implementation for cleanup of uploaded images

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated