Extract images from PDF-files
The following work sequence shows you how to install a script that makes it possible to extract all image files from a PDF file by using the menue of the right mouse button. The images are saved in a new folder that has the name of the PDF file (e.g. "puclication.pdf") plus "_images". In this case the name of the new folder would be "publication.pdf_images".
- Install the package "nautilus-script-manager" on your system
- Open the folder /home/username/.gnome2/nautilus-scripts
- Create a file e.g. with the name "extract PDF images.sh"
Click with the right mouse button on the file and change the properties to "executable".
Open the file with a text editor (e.g. with gedit) and enter the following commands:
# Extracts image files from PDF files
# For more information see www.boekhoff.info
pdfimages -j "$1" ./"$1_images"/PDFimage
gdialog --title "Report" --msgbox "Images were successfully extracted!"
After saving the script is active and can be used by clicking with the right mouse button on a particular PDF file:
- Useful software that is installed on my system
- [FireFox] Useful add-ons for Firefox
- Extract all image-files from PDF-files by using the right mouse button
- [IrfanView] Installation on your Linux machine
- [SplitsTree4] Installation on your 64 bit system