vectorgraphics2d icon indicating copy to clipboard operation
vectorgraphics2d copied to clipboard

Can multiple graphics be saved in a single PDF file?

Open Mr14huashao opened this issue 6 years ago • 3 comments

Graphics2D vg2d_1 = new VectorGraphics2D();
//  plotcontent 

Graphics2D vg2d_2 = new VectorGraphics2D();
// plotcontent

Processor pdfProcessor = Processors.get("pdf");
//  Can I write vg2d_1 and vg2d_2 in the same pdf file?
// ...

Mr14huashao avatar Nov 14 '19 11:11 Mr14huashao

Like this, apicture, a page.

Screenshot_2019-11-16_16-53-19

Mr14huashao avatar Nov 16 '19 08:11 Mr14huashao

Unfortunately, there is no support for pages in the Graphics2D interface of Java. That’s why VectorGraphics2D also does not support this at the moment.

It’s on my list of planned features, but I don’t have any time frame yet. I will leave this issue open to track the progress.

eseifert avatar Nov 16 '19 11:11 eseifert

@eseifert Thank you very much for your reply. I am looking forward to this feature.

Mr14huashao avatar Nov 18 '19 01:11 Mr14huashao