Generalize PDF-to-JPEG conversion script
feat: accept PDF filename as input argument - Allow PDF file to be specified on the command line - Derive output JPEG name from input PDF basename - Generate files using IMG_<pdf-name>.jpg naming convention - Retain first-page conversion behavior - Improve script reusability for multiple PDFs
This commit is contained in:
1 parent
d0b6444332
commit
a209038263
2 files changed
+28
-1
No files matched your search
@@ -1 +0,0 @@
|
||||
for file in Logo*; do pdftoppm -f 1 -l 1 Logo.pdf | pnmtojpeg - > IMG_Logo.jpg; done
|
||||
Reference in new issue
Block a user