Is there a GUI to convert/extract images to/from pdf?
I am looking for something like a graphical interface / front end for Imagemagick or a simpler application that would allow converting/extracting images from pdf files through the interface (not in the Terminal).
Solution 1:
(The question poser added 'not in the terminal' only after I had posted this; however, it still stands as a relevant answer and useful for people, particularly regarding the evince
point, which is a graphical app)
You can extract individual pictures from the pdf reader evince
just by clicking and dragging them onto the desktop; sometimes you have to click more than once, but it generally works and I have found it really useful! Also, if you right click the image in the pdf you can save it in another image format instead of the default .png.
To extract all images from a pdf, you can use pdfimages
, which is part of the poppler-utils
, and is in the repository, although you probably have it installed anyway. That package has a number of other tools as well. To extract images in jpg (and the program's native format,ppm), just enter pdfimages -j name.pdf <picture name>
. Call the picture name whatever you want, and the images will be successively labelled as dog1.jpg, etc. You can obviously specify absolute locations if you want with pdfimages -j ~/KeyGuides/TSENG.PDF ~/Scripts/DOG
(where DOG is not a directory, but the name the pictures will use).
Pdfimages
is quite a simple program, but I'll see if I can find any other tools, as I manipulate images/pdfs a lot too.
Solution 2:
A GUI to convert images to/from pdf is gscan2pdf.
I found about it here. More here.
It allows importing a pdf and saving images in (various) formats,
and also importing images and saving them in pdf-format
So, the program is able to convert between the following formats: pdf, gif, jpeg, png, pnm, ps, tif, djvu.