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

Maruan Sahyoun commented on PDFBOX-4697:
----------------------------------------

For that specific are I'm not aware that we will loose functionality. It makes 
it a little harder to compare the results or find issues as it's convenient to 
compare the specific content streams. There are areas where this is also used 
to be able to detect added content such as page headers and footers by Adobe as 
some properties are added which makes it possible to find it.

When creating the flattening "feature" I tried to match Adobe's behaviour 
although there are some open areas which still need to be sorted such as 
transformations which are not correctly done at the moment on our side.

So for testability I'd prefer to keep the old behaviour if you think that 
warrants the memory impact.

> Reduce memory footprint when flattening
> ---------------------------------------
>
>                 Key: PDFBOX-4697
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4697
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 2.0.17
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.18, 3.0.0 PDFBox
>
>
> Flattening produces many small extra content streams. We can make one single 
> content stream from these instead, because each content streams means one 
> "page" of our memory management is used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to