[
https://issues.apache.org/jira/browse/PDFBOX-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361599#comment-17361599
]
Michael Klink commented on PDFBOX-5211:
---------------------------------------
{quote}Where can I go for a description of an object like "PieceInfo"?{quote}
Take a look at the PDF specification ISO 32000.
{panel:title=ISO 32000-2:2017}
h2. 14.5 Page-piece dictionaries
A page-piece dictionary (_PDF 1.3_) may be used to hold private PDF processor
data. The data may be associated with a page or form XObject by means of the
optional *PieceInfo* entry in the page object (see "Table 31 — Entries in a
page object") or form dictionary (see "Table 93 — Additional entries specific
to a Type 1 form dictionary"). Beginning with PDF 1.4, private data may also be
associated with the PDF document by means of the *PieceInfo* entry in the
document catalog dictionary (see "Table 29 — Entries in the catalog
dictionary").
NOTE PDF writers can use this dictionary as a place to store private data in
connection with that document, page, or form. Such private data can convey
information meaningful to the PDF processor that produces it (such as
information on object grouping for a graphics editor or the layer information
used by Adobe Photoshop®) but can be ignored by general-purpose PDF processors.
{panel}
> How can I clear unused data?
> -----------------------------
>
> Key: PDFBOX-5211
> URL: https://issues.apache.org/jira/browse/PDFBOX-5211
> Project: PDFBox
> Issue Type: Wish
> Environment: mac os
> Reporter: yoonho
> Priority: Major
> Attachments: 스크린샷 2021-06-10 오후 8.08.39.png
>
>
> How can I delete unused elements (for Photoshop, for InDesign, etc) within a
> PDF file?
> After applying Adobe DC's optimization options (I posted in the screenshot),
> I found that a pdf file of 380mb was reduced to around 48mb. This feature is
> very useful to me. How can I implement it with pdfbox?
> I tried several ways, but couldn't find a way. I need advice.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]