ExternalImageLibTest
Overview
ExternalImageLibTest is a class in Aspose.Words FOSS for Java.
Allows to test if Aspose.Words for Java can find on its classpath and use external graphics libraries such as PngEncoder.
Edition status of its 3 listed members (a property and its accessor methods are listed separately, overloads once): 3 not yet exercised by a verified example.
This class declares 3 methods for ExternalImageLibTest objects in Java programs.
Available methods include: checkLibraries, read, write.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Methods
| Signature | Description |
|---|---|
checkLibraries() | Prints detailed message how to install supported external libraries in case if the are not found on classpath. |
read(imageBytes: byte[]) → BufferedImage | Reads the image from the given byte array if can. |
write(image: BufferedImage, saveFormat: int) → byte[] | Converts the given image into a byte array if can. |