You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
PDF="$1"
|
|
echo "$PDF"
|
|
DIR=`echo "$PDF" | sed s/\.pdf//`
|
|
echo "$DIR"
|
|
mkdir "$DIR"
|
|
echo "Starting convertion ..."
|
|
convert -quality 100 -density 300 "$PDF" "$DIR/"%02d.jpg
|
|
echo "PDF converted thanks to Damla aka Imagemagick ninja"
|