View Issue Details

IDProjectCategoryView StatusLast Update
0003575Composrcorepublic2018-04-02 01:49
ReporterChris GrahamAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0003575: Support 'transcoding' non-websafe uploaded images formats
DescriptionIf 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.
Additional InformationThere'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.
TagsNo tags attached.
Time estimation (hours)5
Sponsorship open

Relationships

related to 0002052 resolvedChris Graham Formal implementation for cleanup of uploaded images 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-04-02 01:43 Chris Graham New Issue
2018-04-02 01:45 Chris Graham Relationship added related to 0002052
2018-04-02 01:49 Chris Graham Sponsorship open 0 =>
2018-04-02 01:49 Chris Graham Description Updated View Revisions