You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is observed with pdfcpu version v0.6.0.
span, trim, and extract commands produce expected result, if the result is opened with a PDF viewer app (e.g. Preview), but the size of the file does not change significantly.
The original pdf file is created with gopdf library.
hhrutter
changed the title
span, trim, and export commands copy extra data to their results.
split, trim, and extract commands copy extra data to their results.
Jan 29, 2024
I remember that the initial version of some of these just resorted to filtering out pages during writePages which admittedly was a quick hack and meant for small files.
Seems like the time to make this right.
hhrutter
changed the title
split, trim, and extract commands copy extra data to their results.
Split, Trim, and Extract cmds keep original extra data in result
Jan 29, 2024
The problem is observed with pdfcpu version v0.6.0.
span
,trim
, andextract
commands produce expected result, if the result is opened with a PDF viewer app (e.g. Preview), but the size of the file does not change significantly.The original pdf file is created with gopdf library.
An example of original file:
generated-export.pdf
size is 3.1M
pdfcpu split -m span generated-export.pdf result 2
produces files into
result/
directory, each file is 3.1M.The text was updated successfully, but these errors were encountered: