2057205820592060206120622063206420652066
} int w = pg.getWidth(); int h = pg.getHeight(); PdfTemplate tp = cb.createTemplate(w, h); PdfGraphics2D g2d = new PdfGraphics2D(tp, w, h, null, false, true, quality); g2d.drawImage(awtImage, 0, 0, null); g2d.dispose(); return getInstance(tp); } }
2206220722082209221022112212221322142215