diff --git a/index.js b/index.js index 96cd1ce..c88ab4b 100644 --- a/index.js +++ b/index.js @@ -122,8 +122,8 @@ ws.addListener("ping", async (id, uuid, args) => { const arrayBuffer = await blob.arrayBuffer(); const imageJson = await imageToJson(new Uint8Array(arrayBuffer), { - width: 20, - height: 20, + width, + height, keepRatio: false, }); const packedImage = pack_image(imageJson.json);