JPEG parameter struct mismatch
BlitzMax Forums/Brucey's Modules/JPEG parameter struct mismatch
| ||
hi! got another error message as i try to import jpg picture: Building Tom1MAIN Compiling:Tom1.bmx flat assembler version 1.66 3 passes, 28271 bytes. Compiling:Tom1MAIN.bmx flat assembler version 1.66 3 passes, 23657 bytes. Linking:Tom1MAIN.exe Executing:Tom1MAIN.exe JPEG parameter struct mismatch: library thinks size is 520, caller expects 464 Unhandled Memory Exception Error Process complete using: WinXp, Sp2, wxFormBuilder, wxCodeGen, 382 already checked out.... help |
| ||
Sounds like a corrupted image file -- can you open it without errors in other programs? |
| ||
I wonder if it isn't a conflict between wxWidget's libjpeg and BlitzMax's.... Perhaps we need a wxJPEGLoader module to use instead of the BRL one... ..or we leave out the static libs for jpeg, tiff and png, and have the user import the required ones instead (maybe, dunno if that would work though, given that the static lib might have more in it other than the pure library code). |
| ||
Image File is ok. I've tried some other files, and always the same error message appears.... BMP files works great.... greez tom |