In Ubuntu 16.04 LTS
, I use pdftoppm
to convert pdf
files to png files one by one like the code given below:
pdftoppm -rx 300 -ry 300 -png XYZ.pdf XYZ
However, I have to convert many pdf files to png files. I wonder if it is possible to convert many pdf files to png files with single command like
pdftoppm -rx 300 -ry 300 -png *.pdf *
Any help will be highly appreciated. Thanks
You can use simple
for
loop: