bugfile size issuehelp wanted
Metriche repository
- Star
- (13.218 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Expected Behavior
Decrease the file size with decrement in image quality.
Current Behavior
Increase the file size with decrement in image quality.
Code
jimp.read("./forest-patrol.jpg", (err, lenna) => {
if (err) throw err;
lenna
.quality(60) // set JPEG quality
.write("./forest-patrol-jimp-mini.jpg"); // save
});
Here, we can see that original image forest-patrol.jpg is smaller than the processed image forest-patrol-jimp.jpg