Bug#841089: wrong file type recognized for J2K and WEBP images (and most likely SGI, EXR, JP2, PFM, PICT, RAW, JXR)

2017-01-04 Thread Boris Lesner
Hi, I am not a FreeImage dev at all, just a user who encountered a bug and tried to fix it. Maybe my patch wasn't the best way to solve this issue, it passed a very basic unit test but was merely a suggestion. The real problem here is that a previous debian patch in FreeImage, disabled the s

Bug#850027: libfreeimage3: freeimage 3.17.0+ds1-4 makes rviz unusable

2017-01-06 Thread Boris Lesner
Hi, This is a much better fix indeed. Boris On 05/01/2017 22:57, James Cowgill wrote: Control: block 849696 by -1 Control: tags -1 patch Hi, This is of course the same bug as #849696 in OGRE, but I still think it should be fixed in freeimage. I'd like to propose this patch (a new version of

Bug#841089: wrong file type recognized for J2K and WEBP images (and most likely SGI, EXR, JP2, PFM, PICT, RAW, JXR)

2016-10-17 Thread Boris Lesner
it fails the same. Please note that the attached patch also include updated fipMakefile.srcs and Makefile.srcs (generated with the appropriate scripts) that where required to properly build the package. I've found this bug while backporting freeimage 3.17 to jessie. Best regards, Boris L

Bug#841089: wrong file type recognized for J2K and WEBP images (and most likely SGI, EXR, JP2, PFM, PICT, RAW, JXR)

2016-10-18 Thread Boris Lesner
I attached the wrong testcase, it showed the bug for for webp images. Here is the one that works for j2k images. Regards Boris #include "FreeImage.h" #include int main(int argc, char** argv) { FREE_IMAGE_FORMAT fif = FreeImage_GetFileType(argv[1], 0); assert(fif == FIF_EXR); //passes: