Reading BMP files with Aspose Imaging 17.11.0 I get either an exception thrown or 0 returned for image.getFileFormat().
Please see attached images. tiger.bmp returns 0, test_pattern.bmp causes an exception.
Images.zip (615.2 KB)
Reading BMP files with Aspose Imaging 17.11.0 I get either an exception thrown or 0 returned for image.getFileFormat().
Please see attached images. tiger.bmp returns 0, test_pattern.bmp causes an exception.
Images.zip (615.2 KB)
I have worked with BMP files shared by you and have been able to observe the issues specified. An issue with ID IMAGINGJAVA-837 has been created for Tiger.bmp returning wrong file format. A separate issue with ID IMAGINGJAVA-838 has been created for resolution of exception on loading of test_pattern.bmp. This thread has been linked with the issues so that you may be automatically notified once the issues will be fixed.
Fixed in 17.12.
The issues you have found earlier (filed as IMAGINGJAVA-838) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz