Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- fbody="$(basename "$1" .pdf)"
- outfile="$(echo $fbody | sed -s s/-$//)"-p.png
- convert -type Grayscale -density 600 -resample 100 -antialias "${fbody}.pdf" "$outfile"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement