mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
proportional scale of the image on image resample
This commit is contained in:
@@ -14,7 +14,7 @@ dma.comToRam(0, 0, infile, fileLen)
|
||||
println("decoding")
|
||||
|
||||
// decode
|
||||
const [imgw, imgh, imageData] = graphics.decodeImageResample(infile, fileLen, 560, 448)
|
||||
const [imgw, imgh, imageData] = graphics.decodeImageResample(infile, fileLen, 0, 448)
|
||||
|
||||
println(`dim: ${imgw}x${imgh}`)
|
||||
println(`converting to displayable format...`)
|
||||
|
||||
Reference in New Issue
Block a user