make embeds less huge for neo boxels

This commit is contained in:
biglyderv 2025-05-27 18:05:06 -04:00
parent 77892000cb
commit 7e35461f1b
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

5
lib.js
View file

@ -52,9 +52,8 @@ async function splitUp(content) {
if (contentJson.pal) {
ext = '!neoboxels';
console.log(Object.keys(contentJson))
width = contentJson.width * 4;
height = contentJson.height *4;
width = contentJson.width;
height = contentJson.height;
}
out[i] = { type: 'file', path, ext, content, width, height };