this post was submitted on 28 Mar 2025
565 points (95.8% liked)

Memes

49342 readers
1398 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
 

screenshot, probably from Ex-Twitter but I saw it on NOSTR, showing a guy saying that training a zoomer to use a PC at work is as difficult as training a boomer, with a reply indicating that there is only one generation that can rotate a PDF and that knowledge dies with us

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 4 days ago (1 children)

Is there a ghostscript way to rotate pdf?

[–] [email protected] 3 points 3 days ago* (last edited 3 days ago) (1 children)

Yes. (not sure if you wanted it actually posted the GS way is kinda long) there are a good 10+ different tools to do it on command line though. Even imagemagick's "convert" command that does virtually every image format can also rotate a pdf. qpdf, pdftk are very popular too.

I actually found a thread that lists all the tools I did and even the "gs" command lol https://unix.stackexchange.com/questions/394065/command-line-how-do-you-rotate-a-pdf-file-90-degrees

[–] [email protected] 2 points 3 days ago (1 children)

Can confirm, imagemagick is bad with PDF quality.

[–] [email protected] 3 points 3 days ago

You have to set the quality to 100 and density to something high (150 or 300) because it'll set it to 72ppi and it also has to become before the input file name. It's like GS and wants virtually every parameter set by you and the defaults are like bare minimum it doesn't take them from the actual file.

That being said just use qpdf or pdftk lmao