Lower all GIF quality

This commit is contained in:
Dragon Fire
2024-04-24 00:41:13 -04:00
parent 8a96738e1a
commit e81024273d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class PetCommand extends Command {
encoder.start();
encoder.setRepeat(0);
encoder.setDelay(20);
encoder.setQuality(200);
encoder.setQuality(10);
encoder.setTransparent('#000000');
let squish = 0;
for (let i = 0; i < frameCount; i++) {
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class ShakeCommand extends Command {
encoder.start();
encoder.setRepeat(0);
encoder.setDelay(20);
encoder.setQuality(200);
encoder.setQuality(10);
const frames = this.generateFrames(amount);
for (const { x, y } of frames) {
ctx.clearRect(0, 0, canvas.width, canvas.height);