▲ 573 ▼ Zoomers & Boomers are the same (lemmy.ca) submitted 2 years ago by n7gifmdn@lemmy.ca to c/memes@lemmy.ml 165 comments fedilink hide all child comments
[–] MonkderVierte@lemmy.ml 4 points 2 years ago (3 children) Is there a ghostscript way to rotate pdf? permalink fedilink source hideshow 3 child comments replies: [–] rice@lemmy.org 3 points 2 years ago* (2 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 permalink fedilink source parent hideshow 2 child comments replies: [–] MonkderVierte@lemmy.ml 2 points 2 years ago (1 child) Can confirm, imagemagick is bad with PDF quality. permalink fedilink source parent hideshow 1 child comment replies: [–] rice@lemmy.org 3 points 2 years 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 permalink fedilink source parent
[–] rice@lemmy.org 3 points 2 years ago* (2 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 permalink fedilink source parent hideshow 2 child comments replies: [–] MonkderVierte@lemmy.ml 2 points 2 years ago (1 child) Can confirm, imagemagick is bad with PDF quality. permalink fedilink source parent hideshow 1 child comment replies: [–] rice@lemmy.org 3 points 2 years 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 permalink fedilink source parent
[–] MonkderVierte@lemmy.ml 2 points 2 years ago (1 child) Can confirm, imagemagick is bad with PDF quality. permalink fedilink source parent hideshow 1 child comment replies: [–] rice@lemmy.org 3 points 2 years 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 permalink fedilink source parent
[–] rice@lemmy.org 3 points 2 years 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 permalink fedilink source parent