Bug 103510 - [Feature request] Add `pdftopdf`CLI utility to manipulate PDF files
Summary: [Feature request] Add `pdftopdf`CLI utility to manipulate PDF files
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-30 00:50 UTC by kurt.pfeifle
Modified: 2018-08-20 21:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description kurt.pfeifle 2017-10-30 00:50:45 UTC
I'd like to see a `pdftopdf` util for Poppler. It should contain the following features:

- reorder the pages of a document (esp. reverse page ordering);
- rotate pages (by 90/180/270 degrees -- individually as well as collectively);
- extract page ranges (not necessarily contingious ones);
- create 2-up, 4-up and booklet imposed output;
- insert watermarks over (selected) pages;
- mirror content (left-right + top-bottom) on pages;
- invert colors on pages;
- remove (selected) images from (selected) pages;
- remove all text from (selected) pages;
- remove all vector graphics from (selected) pages.

There are certainly even more features users of poppler command line utils may find useful, but here are what I deem the most important ones.
Comment 1 Adrian Johnson 2017-10-30 07:47:59 UTC
This is basically bug 71213. Bug 71213 is more focused on printing options but it it should not be hard to include additional options.
Comment 2 kurt.pfeifle 2017-10-30 10:53:36 UTC
(In reply to Adrian Johnson from comment #1)
> This is basically bug 71213. Bug 71213 is more focused on printing options
> but it it should not be hard to include additional options.

Thanks for the hint to #71213. Didn't find it when looking for duplicates.

I wouldn't call it "printing options", thought. They're rather "prepare-for-printing" options. With "printing options" I associate the idea that you ask the *printer* or the queuing softare to apply these options on-the-fly, while keeping your original PDF as is.
Comment 3 kurt.pfeifle 2017-10-30 10:57:45 UTC
(In reply to kurt.pfeifle from comment #0)
> - reorder the pages of a document (esp. reverse page ordering);
> - rotate pages (by 90/180/270 degrees -- individually as well as
> collectively);
> - extract page ranges (not necessarily contingious ones);
> - create 2-up, 4-up and booklet imposed output;
> - insert watermarks over (selected) pages;
> - mirror content (left-right + top-bottom) on pages;
> - invert colors on pages;
> - remove (selected) images from (selected) pages;
> - remove all text from (selected) pages;
> - remove all vector graphics from (selected) pages.

I forgot to list another one:

- scale up or down (selected) pages to a different size (not necessarily an ISO defined fixed pagesize -- also allow to use custom width/height.
- allow scaling to be different in x- and y-directions (sort of "liquid" scaling)

And thinking a bit more about it:

- convert glyphs/fonts into outline/vector shapes (for fonts whose licenses
  do not allow re-distribution and embedding)
Comment 4 GitLab Migration User 2018-08-20 21:44:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/55.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.