com.aspose.cad.cadexceptions.ImageLoadException: Image loading failed: The Dxf version isn’t valid. Only Dxf: R11/R12/R13/R14/R2000/R2004/R2007/R2010/R2013/R2014/R2015/R2016/R2017/R2018/R2019/R2020 are currently supported.
如何解决?
I use this version: aspose-cad-22.1-jdk16.jar
Image objImage = Image.load(inputStream);
objImage.save(outputStream, pngOptions);
The code throw this exception. but 20.11 not this expection
@sunny.xian,
we can not reproduce the issue on our end. Could you please provide the entire piece of code that throws this exception?
It doesn’t have to do with the code, it might have to do with the environment, we’re running an exception in the Dokcer environment; It works on both Windows and MAC. Other Maven versions are also available
@sunny.xian,
please, provide more details, e.g. what base image do you use when get this exception? Probably, you can create small example we can run and observe this error?