Given a folder containing images in pdf-format (each of which has a name of the form NAME.pdf, with NAME being composed of several words separated by spaces),how do I batch convert the images to jpg-format and preserve their names in the form NAME.jpg ?
Using pdftoppm as indicated in How to convert a .pdf file into a folder of images? seems rather complicated, since it requires treating each image separately.