jpeg2000 doesn't work

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

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

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.

Shame on me. So obvious. This kind of things happen when you work to many hours.

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