Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Nov 8, 2024
1 parent 725c416 commit 675f92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/prebuild/optimize-images.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url));

async function collectImage(imageUrl, imageFinalPath, squaredSize) {
const image = await Jimp.read(imageUrl);
await image.resize(squaredSize, squaredSize).quality(80).writeAsync(imageFinalPath);
await image.resize({ h: squaredSize, h: squaredSize }).write(imageFinalPath, { quality: 80 });
}

const quotes = [
Expand Down

0 comments on commit 675f92a

Please sign in to comment.