/** * @return an XmpMetadata byte array */ private byte[] createXmpMetadataBytes() { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { XmpWriter xmp = new XmpWriter(baos, pdf.getInfo(), pdfxConformance.getPDFXConformance()); xmp.close(); } catch (IOException ioe) { ioe.printStackTrace(); } return baos.toByteArray(); }
/** * @return an XmpMetadata byte array */ private byte[] createXmpMetadataBytes() { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { XmpWriter xmp = new XmpWriter(baos, pdf.getInfo(), pdfxConformance.getPDFXConformance()); xmp.close(); } catch (IOException ioe) { ioe.printStackTrace(); } return baos.toByteArray(); }
/** * @return an XmpMetadata byte array */ private byte[] createXmpMetadataBytes() { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { XmpWriter xmp = new XmpWriter(baos, pdf.getInfo(), pdfxConformance.getPDFXConformance()); xmp.close(); } catch (IOException ioe) { ioe.printStackTrace(); } return baos.toByteArray(); }