turn off rgba on thumbnails to avoid being unable to upload files which don't fithe .contain() box

pull/462/merge
Hoppy 8 years ago committed by Nicolas Giard
parent 0d81b529e5
commit 3420d914fc

@ -235,6 +235,7 @@ module.exports = {
return jimp.read(sourcePath).then(img => { return jimp.read(sourcePath).then(img => {
return img return img
.contain(150, 150) .contain(150, 150)
.rgba(false)
.write(destPath) .write(destPath)
}) })
}, },

Loading…
Cancel
Save