BMP image cannot be loaded

Dear Sir/madam,


We are unable to load the attached BMP image with Aspose.Imaging.
The error is: Image loading failed. -> Cannot open an image. The image file format may be not supported at the moment.

Could you check this?

This file seems to be a valid BMP, nothing special.

Code:
var image = Image.Load(“hello_world_bmp.bmp”);

Aspose.Imaging version: 2.8.0.0

Thanks.

Hi Zsolt,


Thank you for contacting Aspose support.

We have evaluated the presented scenario while using the latest version of Aspose.Imaging for .NET 2.9,0, and we are able to replicate the said exception. We need to look further into this matter therefore we have logged this incident in our bug tracking system under the ticket IMAGING-34817. Please spare us little time to properly investigate the matter, and to get back with updates in this regard.

The issues you have found earlier (filed as IMAGING-34817) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi,
we have the same problem with attached Bitmap and aspose.imaging 17.12 for java.

Path path = Paths.get(“c:/temp/XING_B24.bmp”);
byte[] filecontent = Files.readAllBytes(path)
Image image = Image.load(new ByteArrayInputStream(filecontent));

com.aspose.imaging.coreexceptions.ImageLoadException: Cannot open an image. The image file format may be not supported at the moment.
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.b(Unknown Source)
com.aspose.imaging.Image.f(Unknown Source)
com.aspose.imaging.Image.load(Unknown Source)
at.gv.tirol.csb.dps.converter.ImageConverter.loadImage(ImageConverter.java:120)

XING_B24.zip (92.9 KB)

Kind regards, Josef

@dvtdaten,

I have worked with BMP file shared by you and have been able to observe the issue. An issue with ID IMAGINGJAVA-914 has been created in our issue tracking system to investigate and resolve the issue. We will share the feedback with you as soon as the issue will be resolved.

The issues you have found earlier (filed as IMAGINGJAVA-914) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz