[
https://issues.apache.org/jira/browse/PDFBOX-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928758#comment-15928758
]
Alex Yolkin commented on PDFBOX-3716:
-------------------------------------
[~tilman], hello. Thanks for commit.
I have question: is it ok, that in all methods have PDDocument parameter in
last position (in PDImageXObject.java), but in "createFromByteArray", this
parameter is first?
And I'm thinking, it will be good, if user can caching PDImageXObject not
related with PDDocument, and get this object to several documents. I could
deal with this issue, but not sure that this is possible. Can you tell me your
opinion about this?
> Read images from byte array
> ---------------------------
>
> Key: PDFBOX-3716
> URL: https://issues.apache.org/jira/browse/PDFBOX-3716
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.4
> Reporter: Alex Yolkin
> Labels: features, patch
> Fix For: 2.0.6
>
> Attachments: patch.diff
>
>
> When we create several PDF files with the same images, a lot of time spend to
> read image's files. I added possibility to create image from byte array,
> which user can keep in memory.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]