'JFreeChart and PDFbox
How to add JFreeChart as png/jpeg in PDFBox? I tried using PDXObject image, but its not available in version 1.8.11 which is currently used in the project. Kindly help me with the sample code and version.
Solution 1:[1]
In 1.8.* the classes to be used are PDJpeg for jpg and PDPixelMap for png. They are instanciated with new. But you should really update, not just to 1.8.16, but migrate to 2.0.26.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
