Hi all,

I've started using OpenImageIO as a replacement for FreeImage. Now I've got a problem with LibOpenJPG, and I'm not sure if its an configuration problem or an OIIO problem:

OIIO is compiled as a DLL with static linking for most of the plugins.

Inside my application I use the ImageCache. Now I've got a link to a gif image for loading. OIIO should ignore it, but I always got an exception inside Jpeg2000Input::open (...) in jpeg2000input.cpp:


opj_image_t* j2k_decode(opj_j2k_t *j2k, opj_cio_t *cio, opj_codestream_info_t *cstr_info) {
        opj_image_t *image = NULL;



....

                if (id >> 8 != 0xff) {
                        opj_image_destroy(image);
opj_event_msg(cinfo, EVT_ERROR, "%.8x: expected a marker instead of %x\n", cio_tell(cio) - 2, id);
                        return 0;


> OpenImageIO.dll!j2k_decode(opj_j2k * j2k, opj_cio * cio, opj_codestream_info * cstr_info) Zeile 1798 C


Is this a known problem or a problem with my CMake settings?

OIIO is build for VC2010 64 bit debug version.

Thanks for any info,

Patrik
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to