Add demo / tester for 16 bit png loading

This commit is contained in:
Edwin Jakobs
2020-06-08 21:56:36 +02:00
parent fb3447981f
commit 8f9e9c9d9e
2 changed files with 16 additions and 0 deletions

BIN
demo-data/images/16-bit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -0,0 +1,16 @@
import org.openrndr.application
import org.openrndr.draw.loadImage
fun main() {
application {
program {
val image16 = loadImage("demo-data/images/16-bit.png")
val image8 = loadImage("demo-data/images/image-001.png")
extend {
drawer.image(image16)
drawer.image(image8, 320.0, 0.0)
}
}
}
}