Bug 692855

Summary: Patch proposal for option -@ to pdfdraw: optional target size limit in MegaPixels
Product: MuPDF Reporter: Benoit Mortgat <mortgat>
Component: appsAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: robin.watts
Priority: P4    
Version: unspecified   
Hardware: All   
OS: All   
Customer: Word Size: ---
Attachments: Unified patch (git diff)

Description Benoit Mortgat 2012-02-13 14:36:28 UTC
Created attachment 8354 [details]
Unified patch (git diff)

This patch adds an option (-@) to pdfdraw that can be used optionally to decrease the resolution parameter, such that the output file dimension does not exceed a given value in Megapixels.
Comment 1 Robin Watts 2012-03-13 21:07:16 UTC
We will not be taking this patch on as we can't see that this is generally useful.

We have recently added -w, -h and -f flags that discussions on irc suggest would suit your purpose too.