Hi Team,
When ever i am trying to load a .bmp file, the load method is throwing me an unsupported exception. It would be really helpful if someone could help me on this ASAP .
PFB. the stack trace.
com.aspose.imaging.internal.Exceptions.NotSupportedException: Compression other than RGB or Bitfields currently is not supported at the moment.
at com.aspose.imaging.internal.af.f.a(Unknown Source)
at com.aspose.imaging.internal.eC.a.load(Unknown Source)
at com.aspose.imaging.Image.a(Unknown Source)
at com.aspose.imaging.Image.load(Unknown Source)
at com.aspose.imaging.examples.ConvertingImages.BMPToPDF.main(BMPToPDF.java:27)
Exception in thread “main” class com.aspose.imaging.coreexceptions.ImageLoadException: Image loading failed. —> com.aspose.imaging.internal.Exceptions.NotSupportedException: Compression other than RGB or Bitfields currently is not supported at the moment.
— End of inner exception stack trace —
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.load(Unknown Source)
com.aspose.imaging.examples.ConvertingImages.BMPToPDF.main(BMPToPDF.java:27)
at com.aspose.imaging.Image.a(Unknown Source)
at com.aspose.imaging.Image.load(Unknown Source)
at com.aspose.imaging.examples.ConvertingImages.BMPToPDF.main(BMPToPDF.java:27)
Caused by: com.aspose.imaging.internal.Exceptions.NotSupportedException: Compression other than RGB or Bitfields currently is not supported at the moment.
at com.aspose.imaging.internal.af.f.a(Unknown Source)
at com.aspose.imaging.internal.eC.a.load(Unknown Source)
… 3 more
Thanks,
Sirish