Free Support Forum - aspose.com

There seem to be some warnings in the file aspose.word.for.java.jar

HI。
dear~ Community maintainer!
After I integrated Aspose. Word. Java. Jar into my system. It appears to have the following warning message.

Aspose.Words for Java is limited with JDK’s built-in image encoders/decoders.
In order to improve reading/writing quality use the following external graphics libraries:


How can I avoid it? Or how to make him disappear?

@her157aliyun

We suggest you please read the System Requirements for Aspose.Words for Java.

Aspose.Words for Java depends upon the Java Advanced Imaging (JAI) package from Oracle in order to process some image formats such as TIFF.

Regarding ImageMagick, could you please share the steps that you are using to reproduce the warning messages at our end? Please also share your working environment e.g. operating system, Java version, IDE etc.

hi.

My project runs in the docker container

JDK version: JDK1.8

Operating system: Linux

If I want to get rid of this warning

Do you just need to install ImageMagick in Linux?

@her157aliyun

Aspose.Words does not require ImageMagick for all cases. Moreover, Java cannot load all types of TIFF images even if we use the latest version of JAI. More precisely, core Java does not support TIFF at all. JAI supports several TIFF sub-formats, but not all. You can use ImageMagick and im4java to load tiff images.