Re: [pdfmod] Feature Request: Cropping



Hi John,

Thanks for the request.  We have a bug open requesting this feature already:

https://bugzilla.gnome.org/show_bug.cgi?id=595635

Please feel free to CC yourself to that bug to get e-mailed when there
are updates to it, and comment to add any missing information.

Thanks!

Gabriel

On Wed, Jul 14, 2010 at 6:51 PM, John Williams <jwilliams gnome org> wrote:
> Firstly, thank you very much indeed for PDFMod!  It's enabled me to move one
> further step away from using proprietary software to modify PDFs.  I really
> appreciate that.
>
> I currently use PDFMod to delete pages and pdfcrop to crop them.  The latter
> software appears to be a perl wrapper around Ghostscript functionality.  I'm
> wondering if it would be quick and easy to integrate that functionality (of
> pdfcrop) into PDFMod?  From a non-programmer's viewpoint (i.e. mine) it
> seems so.
>
> A basic implementation for single page documents would entail:
>
> (a) the user drawing a rectangle over a page displayed in PDFMod
> (b) calculating the page margins from that rectangle
> (c) calling pdfcrop with those margins as an argument
> (d) reloading the cropped version of the original PDF
>
> Seems simple, no?  I suppose the hard part would be calculating the margins
> from the user-drawn rectangle to correspond to those expected by pdfcrop.
>
> I would help if I could, but only have experience with writing command-line
> type perl software (and a smattering of C and C++).
>
> I think the user benefit in relation to developer effort ratio of this
> feature would be huge.  (But I would, wouldn't I? ;-)
>
> Cheers,
>
> John
>
> _______________________________________________
> pdfmod-list mailing list
> pdfmod-list gnome org
> http://mail.gnome.org/mailman/listinfo/pdfmod-list (unsubscribe here)
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]