[ 
https://issues.apache.org/jira/browse/PDFBOX-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928785#comment-15928785
 ] 

Tilman Hausherr commented on PDFBOX-3716:
-----------------------------------------

I had a look... all factory methods have the document first, except in 
PDImageXObject.java there it isn't. Oops... We can't change that now, only in 
3.0 and by that time I doubt anybody cares anymore. (I could of course change 
todays commit, but not the existing methods)

Re caching across documents, this isn't possible because each document has its 
own buffering. As soon as you'd close one object, the others would no longer 
work properly.

> 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]

Reply via email to