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


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

How to rotate then save a PDF document?

Started byRichard Owlett <rowlett@cloud85.net>
First post2022-01-11 15:40 +0100
Last post2022-01-11 17:20 +0100
Articles 10 — 8 participants

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


Contents

  How to rotate then save a PDF document? Richard Owlett <rowlett@cloud85.net> - 2022-01-11 15:40 +0100
    Re: How to rotate then save a PDF document? "Alexander V. Makartsev" <avbetev@gmail.com> - 2022-01-11 16:30 +0100
      Re: How to rotate then save a PDF document? Richard Owlett <rowlett@cloud85.net> - 2022-01-11 17:10 +0100
        Re: How to rotate then save a PDF document? Siard <shiems@mailbox.org> - 2022-01-13 20:10 +0100
          Re: How to rotate then save a PDF document? Charles Curley <charlescurley@charlescurley.com> - 2022-01-13 20:40 +0100
          Re: How to rotate then save a PDF document? David Wright <deblis@lionunicorn.co.uk> - 2022-01-13 21:10 +0100
    Re: How to rotate then save a PDF document? Georgi Naplatanov <gosho@oles.biz> - 2022-01-11 16:40 +0100
    Re: How to rotate then save a PDF document? Jim Popovitch <jim@k4vqc.com> - 2022-01-11 16:40 +0100
    Re: How to rotate then save a PDF document? David Wright <deblis@lionunicorn.co.uk> - 2022-01-11 16:50 +0100
    Re: How to rotate then save a PDF document? Curt <curty@free.fr> - 2022-01-11 17:20 +0100

#243858 — How to rotate then save a PDF document?

FromRichard Owlett <rowlett@cloud85.net>
Date2022-01-11 15:40 +0100
SubjectHow to rotate then save a PDF document?
Message-ID<DEqtB-3O3-25@gated-at.bofh.it>
I use MATE and thus use Atril as viewer.
Typically I have no need to modify PDF documents.
I received a reading a long reading list which needs to be rotated left 
to be read. Atril rotates it but does not save it as rotated.

What's the simplest tool to permanently rotate that specific document?
TIA

[toc] | [next] | [standalone]


#243860

From"Alexander V. Makartsev" <avbetev@gmail.com>
Date2022-01-11 16:30 +0100
Message-ID<DErfY-4s6-7@gated-at.bofh.it>
In reply to#243858
On 11.01.2022 19:37, Richard Owlett wrote:
> I use MATE and thus use Atril as viewer.
> Typically I have no need to modify PDF documents.
> I received a reading a long reading list which needs to be rotated 
> left to be read. Atril rotates it but does not save it as rotated.
>
> What's the simplest tool to permanently rotate that specific document?
> TIA
I'd go with GIMP.
Simply open any .pdf file and use Transform function ( Image > Transform 
 > Rotate... ).
After that Export ( File > Export As ) the edited document as a new file 
and check the results in .pdf viewer.
GIMP will also handle multi-paged .pdf documents just fine.

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

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


#243865

FromRichard Owlett <rowlett@cloud85.net>
Date2022-01-11 17:10 +0100
Message-ID<DErSG-4Zt-11@gated-at.bofh.it>
In reply to#243860
On 01/11/2022 09:27 AM, Alexander V. Makartsev wrote:
> On 11.01.2022 19:37, Richard Owlett wrote:
>> I use MATE and thus use Atril as viewer.
>> Typically I have no need to modify PDF documents.
>> I received a reading a long reading list which needs to be rotated 
>> left to be read. Atril rotates it but does not save it as rotated.
>>
>> What's the simplest tool to permanently rotate that specific document?
>> TIA
> I'd go with GIMP.
> Simply open any .pdf file and use Transform function ( Image > Transform 
>  > Rotate... ).
> After that Export ( File > Export As ) the edited document as a new file 
> and check the results in .pdf viewer.
> GIMP will also handle multi-paged .pdf documents just fine.
> 

Worked like a charm. I tend to think of PDF as just another text format.
I date from Teletype and Decwriter era ;}
Thanks.

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


#243968

FromSiard <shiems@mailbox.org>
Date2022-01-13 20:10 +0100
Message-ID<DFdDZ-3GE-33@gated-at.bofh.it>
In reply to#243865
David Wright wrote:
> Finally, using a GUI doesn't scale well. [...] Clicking one's way round
> a GUI can't compete.

The GUI is not the problem here. But GIMP works with raster images, so
everything that is vectorized, including text, is transformed to a rasterized
image, causing loss of sharpness and a drastic increase in file size.
So GIMP is just not suitable for this purpose.

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


#243969

FromCharles Curley <charlescurley@charlescurley.com>
Date2022-01-13 20:40 +0100
Message-ID<DFe70-3QT-15@gated-at.bofh.it>
In reply to#243968
On Thu, 13 Jan 2022 19:44:23 +0100
Siard <shiems@mailbox.org> wrote:

> The GUI is not the problem here. But GIMP works with raster images, so
> everything that is vectorized, including text, is transformed to a
> rasterized image, causing loss of sharpness and a drastic increase in
> file size. So GIMP is just not suitable for this purpose.

Also, it is possible to extract the text from a PDF (pdftk does this
very well), but once it is rasterized, that capability is lost.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

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


#243970

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2022-01-13 21:10 +0100
Message-ID<DFeA1-4h8-1@gated-at.bofh.it>
In reply to#243968
On Thu 13 Jan 2022 at 19:44:23 (+0100), Siard wrote:
> David Wright wrote:
> > Finally, using a GUI doesn't scale well. [...] Clicking one's way round
> > a GUI can't compete.

> But GIMP works with raster images, so
> everything that is vectorized, including text, is transformed to a rasterized
> image, causing loss of sharpness and a drastic increase in file size.
> So GIMP is just not suitable for this purpose.

That's right, and is what I wanted to illustrate, rather
than just contradicting the post that suggested it. And
in pictures, as well as with the CPU/size statistics.

> The GUI is not the problem here.

No, not for the OP, who only has one document to rotate.
But who wants to repeat « File→Open, Image→Rotate, 90°,
OK, Export » a thousand times, even when you're operating
on an appropriate object, like a photograph. That's what
scripting is for.

For example, until bullseye, xzgv (picture viewer) didn't
honour the orientation tag, so to make it easier to show
pictures without having to press r occasionally, I would
create a shadow directory containing mainly symlinks to
the real directory, but replacing the link to any misoriented
picture with a rotated copy of the original. So easily done,
no matter how many pictures, with a script calling
jpegexiforient and convert; but so tedious with a GUI.

That's why I added the footnote that the method loses its
charm when someone else tries to scale it up to a large
number of documents.

Cheers,
David.

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


#243861

FromGeorgi Naplatanov <gosho@oles.biz>
Date2022-01-11 16:40 +0100
Message-ID<DErpE-4x4-7@gated-at.bofh.it>
In reply to#243858
On 1/11/22 16:37, Richard Owlett wrote:
> I use MATE and thus use Atril as viewer.
> Typically I have no need to modify PDF documents.
> I received a reading a long reading list which needs to be rotated left
> to be read. Atril rotates it but does not save it as rotated.
> 
> What's the simplest tool to permanently rotate that specific document?
> TIA
> 
> 

Hi Richard,

I'm not 100% sure but you can try Gimp.

Kind regards
Georgi

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


#243862

FromJim Popovitch <jim@k4vqc.com>
Date2022-01-11 16:40 +0100
Message-ID<DErpF-4x4-13@gated-at.bofh.it>
In reply to#243858
On Tue, 2022-01-11 at 08:37 -0600, Richard Owlett wrote:
> I use MATE and thus use Atril as viewer.
> Typically I have no need to modify PDF documents.
> I received a reading a long reading list which needs to be rotated left 
> to be read. Atril rotates it but does not save it as rotated.
> 
> What's the simplest tool to permanently rotate that specific document?
> TIA
> 

PDF Arranger

https://packages.debian.org/search?keywords=pdfarranger

-Jim P.

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


#243863

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2022-01-11 16:50 +0100
Message-ID<DErzk-4Cm-5@gated-at.bofh.it>
In reply to#243858
On Tue 11 Jan 2022 at 08:37:37 (-0600), Richard Owlett wrote:
> I use MATE and thus use Atril as viewer.
> Typically I have no need to modify PDF documents.
> I received a reading a long reading list which needs to be rotated
> left to be read. Atril rotates it but does not save it as rotated.
> 
> What's the simplest tool to permanently rotate that specific document?

$ pdftk original.pdf cat 1-endeast output rotated.pdf
$ pdftk original.pdf cat 1-endwest output rotated.pdf

depending on (anti)clockwise requirement.

Cheers,
David.

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


#243867

FromCurt <curty@free.fr>
Date2022-01-11 17:20 +0100
Message-ID<DEs2m-52L-3@gated-at.bofh.it>
In reply to#243858
On 2022-01-11, Richard Owlett <rowlett@cloud85.net> wrote:
> I use MATE and thus use Atril as viewer.
> Typically I have no need to modify PDF documents.
> I received a reading a long reading list which needs to be rotated left 
> to be read. Atril rotates it but does not save it as rotated.
>
> What's the simplest tool to permanently rotate that specific document?
> TIA
>
>
>

 qpdf in.pdf out.pdf --rotate=+90

(clockwise for all pages, I think, but may depend on the version you're
running).

[toc] | [prev] | [standalone]


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


csiph-web