Fix there being a black background on the image grid
All checks were successful
Test / build (push) Successful in 9s

This commit is contained in:
Ethan Lane 2024-07-13 15:06:41 +01:00
parent b6f814f895
commit b79312ece4

View file

@ -46,7 +46,7 @@ export default class ImageHelper {
}
}
const image = await loadImage(await imageData.getBufferAsync("image/jpeg"));
const image = await loadImage(await imageData.getBufferAsync("image/png"));
const x = i % gridWidth;
const y = Math.floor(i / gridWidth);