summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f8288b7)
Ensure consistent background for some SVG and PNG originals.
$cmd = implode(' ', array_map('escapeshellarg', [
'convert',
'-trim',
$cmd = implode(' ', array_map('escapeshellarg', [
'convert',
'-trim',
+ '-background', 'white', '-layers', 'flatten',
'-resize', "${width}x${height}",
'-quality', '90%',
$source, "jpg:$target"
'-resize', "${width}x${height}",
'-quality', '90%',
$source, "jpg:$target"