We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

AddPicture exception

Hello,

I use aspose.cells for java.

I'm creating workbooks with pictures (untill now without problems). Today I encountered a problem with one picture.

Exception error :
"java.lang.IllegalArgumentException:
bandOffsets.length is wrong!" when calling method "add" with signature
"(IILjava.io.InputStream;)I" in class "com.aspose.cells.Pictures"

Picture in attachment.

Thanks,

Goddeau Hendrik

Hi,

Thanks for providing us details.

We could not find your attached picture, could you post / re-attach it here, we will check your issue soon.

Thank you.