Please take note before down voting, this solution is for Gimp using a graphical interface, and not for ImageMagick using a command line, but it worked perfectly fine for me as an alternative, and that is why I found it needful to share here.
Follow these simple steps to extract images in any format from PDF documents
- Download GIMP Image Manipulation Program
- Open the Program after installation
- Open the PDF document that you want to extract Images
- Select only the pages of the PDF document that you would want to extract images from.
N/B: If you need only the cover images, select only the first page.
- Click open after selecting the pages that you want to extract images from
- Click on File menu when GIMP when the pages open
- Select Export as in the File menu
- Select your preferred file type by extension (say png) below the dialog box that pops up.
- Click on Export to export your image to your desired location.
- You can then check your file explorer for the exported image.
That's all.
I hope this helps