Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. fbody="$(basename "$1" .pdf)"
  4. outfile="$(echo $fbody | sed -s s/-$//)"-p.png
  5.  
  6. convert -type Grayscale -density 600 -resample 100 -antialias "${fbody}.pdf" "$outfile"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement