1
0
Fork 0
digital-art-composition-book/Notes/Convert PDF Coloring Pages.md
2024-09-14 11:25:13 -04:00

1.1 KiB

tags created_at source
note
2023-02-17 KemoNine Blog

If you have access to imagemagick you can quickly convert a PDF coloring page(s) to grayscale PNG using the below procedure and notes.

Notes

  • The pdfimages command below will get you a dpi listing for each page in the PDF that has an image, use that value instead of 300 in the below, if it is present.
  • The -type Grayscale parameter can be removed if you need color output.
  • If the below fails Adobe has an online converter at: https://www.adobe.com/acrobat/online/convert-pdf.html

Conversion

  1. Install imagemagick
  2. pdfimages -list shipspage1.pdf
  3. for file in `ls *.pdf`; do convert -density 300 -type Grayscale ${file} ${file}.png; done

Resources