Convert PDF to Image (JPG, PNG, GIF ...)

Converting Files is a Regular time to time process, but it is painful when there are too many files to convert, below is a solution on how to convert pdf file with a single terminal command regardless how many files you have...

For a Single File
convert -quality 100 filename.pdf filename.jpg

For Multiple Files
for f in *.pdf; do convert -quality 100 $f ${f%%.*}.jpg; done



Popular Posts