Free Support Forum - aspose.com

Linux Pictures.add gif issue

Are there any issues with the Linux Pictures.add method? I've keep trying to load in a gif and a bmp file but it keeps returning the following error. I've tried it with a FileInputStream and with a filename with no success.

javax.imageio.IIOException: Can't create cache file!
at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
at com.aspose.cells.V.a(Unknown Source)
at com.aspose.cells.bv.a(Unknown Source)
at com.aspose.cells.Picture.(Unknown Source)
at com.aspose.cells.Pictures.add(Unknown Source)
at rdExcel.rdExcel8.AddImage(rdExcel8.vb:1461)

I can read and write the files with no difficulties. The files exist with no apparent permissions issues.

Best,

Clif...

Hi Clif,

Thanks for considering Aspose.

We will get back to you soon.

Thank you.

Hi Clif,

Please check the temporary directory(by java property: java.io.tmpdir), make sure you have privilege to access it and there are enough spaces to create temporary file.

Or change this property to another available directory(for example, ./tmp is the new directory, then java -Djava.io.tmpdir=./tmp ...) and try again.

If the problem still exists, please feedback.