summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index e7bb328..b083604 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -51,7 +51,7 @@ async function handlePost(post: e621.Post) {
51 console.log(`Compressing...`); 51 console.log(`Compressing...`);
52 52
53 file = await Sharp(file) 53 file = await Sharp(file)
54 .resize(1000, 1000, { fit: "inside", withoutEnlargement: true }) 54 .resize(1800, 1800, { fit: "inside", withoutEnlargement: true })
55 .jpeg({ quality: 80, mozjpeg: true }) 55 .jpeg({ quality: 80, mozjpeg: true })
56 .toBuffer(); 56 .toBuffer();
57 } 57 }