Jpeg 2k support in blitzmax?

BlitzMax Forums/BlitzMax Programming/Jpeg 2k support in blitzmax?

windows users try:

syncmods -u username -p password axe.jasper

you may need to rebuild the module, there is an example with image you can test in mod/axe.mod/jasper.mod/testjasper.bmx that looks something like this:
' testjasper.bmx

Import axe.jasper

Graphics 1024,768
pic=LoadJpeg2000("fral.jp2")
Cls
DrawImage pic,0,0
Flip
WaitKey
End


Warning, it's very work in progress, won't handle incbin files, uses the file "temp.bmp" as an intermediate so only 3 channel (no alpha) jpeg 2000 files are supported. Once the decoding is streamed directly to pixmap will have alpha channel support and I would also expect some improvement in speed also.