@FunctionalInterface public interface CustomFactory
PDImageXObject.| Modifier and Type | Method and Description |
|---|---|
PDImageXObject |
createFromByteArray(PDDocument document,
byte[] byteArray)
Creates a
PDImageXObject from the given image byte array and document context. |
PDImageXObject createFromByteArray(PDDocument document, byte[] byteArray) throws IOException
PDImageXObject from the given image byte array and document context.document - the document that shall use this PDImageXObject.byteArray - the image data as a byte arrayIOException - if there is an error when creating the PDImageXObject.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.