Apache PDFBox add Image to PDF Document

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Andrew
Andrew
June 23, 2020 06:28

You could also:

PDImageXObject.createFromByteArray(doc, image, null)

instead of:

PDImageXObject.createFromFile(image, doc)

if you have a byteArray.
 

1
0
Would love your thoughts, please comment.x
()
x