Replace jimp with sharp (#6774)

* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
This commit is contained in:
Barış Soner Uşaklı
2018-09-20 17:05:52 -04:00
committed by GitHub
parent 69c7260fe9
commit b7ead6dc9c
16 changed files with 140 additions and 126 deletions

View File

@@ -34,7 +34,6 @@ module.exports = {
image.resizeImage({
path: sourcePath,
target: uploadPath,
extension: 'png',
height: 50,
}, next);
});