summaryrefslogtreecommitdiff
path: root/.scripts/pdfpicconv
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-08-04 08:02:50 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-08-04 08:02:50 +0530
commitce09a55db0752021da343788e4a0dbfbaa1d958f (patch)
tree75ffe31f83594a4eb1b131b52fcfb69bd156241e /.scripts/pdfpicconv
parent90e0a07bfb63fcfdeb6791d0f5d4586af55b4ee1 (diff)
addition of picconv and pdfpicconv script
Diffstat (limited to '.scripts/pdfpicconv')
-rwxr-xr-x.scripts/pdfpicconv3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/pdfpicconv b/.scripts/pdfpicconv
new file mode 100755
index 0000000..8b7a551
--- /dev/null
+++ b/.scripts/pdfpicconv
@@ -0,0 +1,3 @@
+#!/bin/sh
+output=$(echo $1 | cut -d. -f1)
+pdftoppm -jpeg -r 300 $1 $output.jpg