jpeg2000 doesn't work

BlitzMax Forums/BlitzMax Beginners Area/jpeg2000 doesn't work

anawiki(Posted 2006) [#1]
Hi
I succesfully upgraded to BMX 1.18, received axe modules, rebuiled stuff, but I can't load jpeg2000 files. Neither my files or fral.jp2 work. Or maybe I should use other command than LoadImage?

best
Roman


fredborg(Posted 2006) [#2]
You need to manually import the jpeg2000 loader, along the lines of this:
Import axe.jasper
Then you should be able to load jpeg2000 files with LoadImage.


anawiki(Posted 2006) [#3]
Shame on me. So obvious. This kind of things happen when you work to many hours.


anawiki(Posted 2006) [#4]
Important note:
You have to import axe.jasper before any other image loaders, otherwise you will receive error (don't remember what it was).