mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-14 23:16:06 +09:00
resample-dithering wip
This commit is contained in:
@@ -22,7 +22,7 @@ println(`dim: ${imgw}x${imgh}`)
|
||||
println(`converting to displayable format...`)
|
||||
|
||||
// convert colour
|
||||
graphics.imageToDisplayableFormat(imageData, -1048577, imgw*imgh, 4)
|
||||
graphics.imageToDisplayableFormat(imageData, -1048577, imgw, imgh, 4, true)
|
||||
|
||||
sys.free(imageData)
|
||||
sys.free(infile)
|
||||
|
||||
Reference in New Issue
Block a user