Storing and Loading PlantUML Diagram from buffer

0 votes
asked Apr 5 in Question / help by Cedric
Is there any possibility to load the created PlantUML picture into buffer and display it instead of creating a new picture?

Thanks for helping..

1 Answer

0 votes
answered Apr 5 by plantuml (198,400 points)

When you talk about buffer, you mean BufferedImage ?  https://docs.oracle.com/javase/8/docs/api/java/awt/image/BufferedImage.html

commented Apr 9 by anonymous
The question was rather if it is possible  to load the png image to either a BufferedImage or a ByteArrayStream(not sure what the correct way of storing images in the cache is ) without actually creating the image as a File.
...