I'm having trouble loading Jpeg 2000 images using the library in C++.
From what I can tell it needs the plugin, but I can't find any docs on how to load or use it.
Here is my code:
Code: Select all
error = bitmap.loadFromFile( "R:\\Picture.j2c", load_option, info );
if ( !error )
int width, height;
width = info.getWidth();
height = info.getHeight();
The error code is 6 - Unknown Format.
Could someone please point me in the right direction?
Thanks so much,