Fix there being a black background on the image grid #299

Merged
Vylpes merged 1 commit from feature/279-series-view-image-grid-3 into develop 2024-07-13 15:16:10 +01:00

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 x = i % gridWidth;
const y = Math.floor(i / gridWidth); const y = Math.floor(i / gridWidth);