Support smaller user uploads unscaled (with smaller file sizes), expecting
browser upscaling if necessary (lower quality should not be a problem).
'-interlace', 'plane', # progressive
'-strip', '-taint', # omit metadata
'-sampling-factor', '4:2:0', '-colorspace', 'sRGB', # half chroma
'-interlace', 'plane', # progressive
'-strip', '-taint', # omit metadata
'-sampling-factor', '4:2:0', '-colorspace', 'sRGB', # half chroma
- '-resize', "${width}x${height}",
+ '-resize', "${width}x${height}>",
'-quality', '85%',
$source, "jpg:$target"
]));
'-quality', '85%',
$source, "jpg:$target"
]));