granular quality
This commit is contained in:
parent
1f5dd5023a
commit
63096f5237
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import sharp from 'sharp';
|
|||
const dirIn = 'tools/in';
|
||||
const dirOut = 'tools/out';
|
||||
const thresholdBytes = 2 * 1024 * 1024;
|
||||
const quality = [100, 87, 75, 62, 50, 37, 25, 12];
|
||||
const quality = [100, 99, 97, 95, 90, 80, 75, 70, 60, 50, 40];
|
||||
|
||||
async function main() {
|
||||
for (const base of await fs.readdir(dirIn)) {
|
||||
|
|
Loading…
Reference in a new issue