special resizing key to fit within screen

This commit is contained in:
minjaesong
2022-04-07 14:07:33 +09:00
parent 23579b3809
commit 4ec8692e04
2 changed files with 19 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ dma.comToRam(0, 0, infile, fileLen)
println("decoding")
// decode
const [imgw, imgh, imageData] = graphics.decodeImageResample(infile, fileLen, 0, 448)
const [imgw, imgh, imageData] = graphics.decodeImageResample(infile, fileLen, -1, -1)
println(`dim: ${imgw}x${imgh}`)
println(`converting to displayable format...`)