1 2 3
#!/bin/bash convert -density 300 "$1" -normalize -compress jpeg -quality 70 "${1%.pdf}_normalized.pdf"