Forrest logo
back to the pdfimages tool

pdfimages:tldr:16138

pdfimages: List information about all the images in a PDF file.
$ pdfimages -list ${filename-pdf}
try on your machine

The command "pdfimages -list ${filename.pdf}" is used to list the images present in a PDF file.

Here's a breakdown of the command:

  • "pdfimages" is a command-line tool that comes with the Poppler utilities. It is used to extract images from PDF files.

  • "-list" is an option or flag provided to the "pdfimages" command. It tells the command to list the images, rather than extracting them.

  • "${filename.pdf}" is a placeholder indicating the name of the PDF file you want to list the images from. You need to replace "${filename.pdf}" with the actual path or name of the PDF file you want to work with.

When you run this command, it will display a list of images contained within the PDF file specified. The list typically includes details such as the image's page number, object ID, width, height, color space, and the file size.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pdfimages tool