[
https://issues.apache.org/jira/browse/PDFBOX-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008744#comment-15008744
]
Maruan Sahyoun commented on PDFBOX-3113:
----------------------------------------
or use {{PDFStreamParser(PDContentStream contentStream)}} with {{PDPage}}
implementing {{PDContentStream}}
> Scratch file already closed using PDStream
> ------------------------------------------
>
> Key: PDFBOX-3113
> URL: https://issues.apache.org/jira/browse/PDFBOX-3113
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Attachments: PDFToPDF2.java
>
>
> I get when i try to create a PDStream from a page contents:
> Exception in thread "main" java.io.IOException: Scratch file already closed
> at org.apache.pdfbox.io.ScratchFile.checkClosed(ScratchFile.java:390
> We used to be able to do:
> PDStream pdStream = page.getContents();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]