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

Re: Manipulating pdf pages



Renaud OLGIATI [2016-03-10 11:03:21-03] wrote:

> I have the .pdf scan of an old book, with some pages leaning at an
> angle.
>
> Is there in Debian a program that would let me rectify the offending
> pages one by one, but, avoiding the hassle of turning the .pdf in
> individual .jpg, modifying the jpg and turning back into .pdf ?

Pdfjam has options like --angle, --trim and --scale. First maybe fix
some pages:

    pdfjam -o fixed.pdf --angle 2 old_book.pdf 10-15

Then construct a new book:

    pdfjam -o ready.pdf old_book.pdf 1-9 fixed.pdf - old_book.pdf 16-

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature


Reply to: