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.
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.
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
Can confirm, imagemagick is bad with PDF quality.
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