ghostscript - smk28/smk28.github.io GitHub Wiki

https://superuser.com/questions/168444/using-ghostscript-to-convert-multi-page-pdf-into-single-jpg

https://www.linuxjournal.com/content/tech-tip-extract-pages-pdf

gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dFirstPage=66 -dLastPage=67 -sOutputFile=outfile_p67-p68.pdf foo.pdf