Bug 45871 - trimbox cropping added
Summary: trimbox cropping added
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-10 01:17 UTC by szabolcs.hodossy
Modified: 2014-02-18 23:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (25.47 KB, application/octet-stream)
2012-02-10 01:17 UTC, szabolcs.hodossy
Details

Description szabolcs.hodossy 2012-02-10 01:17:50 UTC
Created attachment 56853 [details]
patch

Hi

In the pdftoppm only cropping to cropbox was available. Unfortunatelly i need to use trimbox, so i added some new options to it.
You can use the code if you want. Or just treat this as an enhancement request :-)

regards
Szabolcs
Comment 1 Albert Astals Cid 2012-02-12 14:23:44 UTC
You need to update the manpage (pdftoppm.1)

"PDFRectangle *useMediaBox" What that parameter is supposed to mean?
Comment 2 szabolcs.hodossy 2013-02-19 14:46:59 UTC
Ohh, I don't have too much experinece with manpages.

"PDFRectangle *useMediaBox" What that parameter is supposed to mean?
There can be different boxes defined in a pdf, like cropbox, trimbox, bleedbox, mediabox. (MediaBox used the be the whole page).
In the code there was an option to use only the cropbox, i added the others.
Comment 3 Albert Astals Cid 2013-02-19 19:25:08 UTC
Your patch does not apply anymore, please rebase it
Comment 4 Albert Astals Cid 2014-02-18 23:46:42 UTC
Reporter failed to follow up


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.