The library also allows you to create an image of any web page or supplied HTML text.
CODE ONLY IN JAVA
There are Java methods to convert:
- Highcharts, Highcharts Stock and Apexcharts chart options to a base64 encoded image in PNG, JPEG, WEBP or PDF format
- HTML to a base64 encoded image in PNG, JPEG, WEBP or PDF format
- A URL to a base64 encoded image in PNG, JPEG, WEBP or PDF format
The chart options method above allows for direct integration with HyJavaCharts, HyJavaStock and HyJavaApex.
The library will start a Chrome headless server/or connect to an existing running Chrome headless server.
It then uses the DevTools Protocol to control Chrome.
There are methods to tune Chrome in high volume applications. See the Chrome.setPoolSize() method in the API.
Download an example Java application showing usage of the HyJavaImages library.
View the API for the HyJavaImages library.
Start a demonstration Java web application using the HyJavaImages library.
You must have Chrome 71 or later installed on your system. The library requires a Chrome version that supports the DevTools protocol v1.3.
A 30 day evaluation version of the HyJavaImages library is available to ensure the library meet your requirements.
The evaluation version is suitable for:
- Proof of Concept testing
- Integration testing
- Performance testing
If you have any further questions on the library or wish to test the evaluation version, please contact our support team via the Contact Us area on the home page.