Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165209 > unrolled thread

Manipulating pdf pages

Started byRenaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org>
First post2016-03-10 15:10 +0100
Last post2016-03-10 15:50 +0100
Articles 4 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Manipulating pdf pages Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2016-03-10 15:10 +0100
    Re: Manipulating pdf pages Dan Ritter <dsr@randomstring.org> - 2016-03-10 15:20 +0100
    Re: Manipulating pdf pages jdd <jdd@dodin.org> - 2016-03-10 15:30 +0100
    Re: Manipulating pdf pages Teemu Likonen <tlikonen@iki.fi> - 2016-03-10 15:50 +0100

#165209 — Manipulating pdf pages

FromRenaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org>
Date2016-03-10 15:10 +0100
SubjectManipulating pdf pages
Message-ID<rb9rQ-823-13@gated-at.bofh.it>
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 ?
 
Cheers,
 
Ron.
-- 
        In judging human behaviour, one must go by what an individual
        believes is true - not by what is actually true.             
                                                -- Sir Thomas Leseaux
                                    
                   -- http://www.olgiati-in-paraguay.org --
 

[toc] | [next] | [standalone]


#165211

FromDan Ritter <dsr@randomstring.org>
Date2016-03-10 15:20 +0100
Message-ID<rb9Bw-85J-15@gated-at.bofh.it>
In reply to#165209
On Thu, Mar 10, 2016 at 11:03:21AM -0300, Renaud OLGIATI 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 ?
>  

unpaper?

 unpaper is a post-processing tool for scanned sheets of paper,
 especially for book pages that have been scanned from previously
 created photocopies.

 
 The main purpose is to make scanned book pages better readable on
 screen after conversion to PDF. Additionally, unpaper might be useful to
 enhance the quality of scanned pages before performing optical character
 recognition (OCR).

-dsr-

[toc] | [prev] | [next] | [standalone]


#165212

Fromjdd <jdd@dodin.org>
Date2016-03-10 15:30 +0100
Message-ID<rb9Ld-89a-25@gated-at.bofh.it>
In reply to#165209
Le 10/03/2016 15:03, Renaud (Ron) OLGIATI a écrit :
> 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 ?
>
> Cheers,
>
> Ron.
>
imagemagic can probably do this

jdd

[toc] | [prev] | [next] | [standalone]


#165215

FromTeemu Likonen <tlikonen@iki.fi>
Date2016-03-10 15:50 +0100
Message-ID<rba4y-8hd-23@gated-at.bofh.it>
In reply to#165209

[Multipart message — attachments visible in raw view] — view raw

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 ///

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web