Monday, October 17, 2011

convert all pdf files in current directory to jpgs

for FILE in *pdf ; do echo "processing $FILE"; pdftoppm $FILE |ppmtojpeg > `basename $FILE .pdf`.jpg ; done

No comments:

Post a Comment

Sociable