From 7c417ee0bdf9b866d73163e65f14ff2f73589fed Mon Sep 17 00:00:00 2001 From: RedDeliciousApples <88062401+RedDeliciousApples@users.noreply.github.com> Date: Sat, 21 Oct 2023 09:32:50 -0700 Subject: [PATCH] pstoedit: add page (#10939) * pstoedit: add page --------- Co-authored-by: K.B.Dharun Krishna Co-authored-by: Juri Dispan --- pages/linux/pstoedit.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/pstoedit.md diff --git a/pages/linux/pstoedit.md b/pages/linux/pstoedit.md new file mode 100644 index 000000000..fc0f5aae6 --- /dev/null +++ b/pages/linux/pstoedit.md @@ -0,0 +1,12 @@ +# pstoedit + +> Convert PDF files into various image formats. +> More information: . + +- Convert a PDF page to PNG or JPEG format: + +`pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg]}}` + +- Convert multiple PDF pages to numbered images: + +`pstoedit -f magick {{path/to/file}} {{page%d.png|page%d.jpg}}`