Extract images from a PDF document
$ pdfimages -j foo.pdf bar
This will extract all images from foo.pdf and save them in JPEG format
(option -j) to bar-000.jpg, bar-001.jpg, bar-002.jpg, etc.
>From the man page:
DESCRIPTION
Pdfimages saves images from a Portable Document Format (PDF) file
as
Portable Pixmap (PPM), Portable Bitmap (PBM), or JPEG files.
Pdfimages reads the PDF file PDF-file, scans one or more pages,
and
writes one PPM, PBM, or JPEG file for each image,
image-root-nnn.xxx,
where nnn is the image number and xxx is the image type (.ppm,
.pbm,
.jpg).
OPTIONS
-j Normally, all images are written as PBM (for monochrome
images)
or PPM (for non-monochrome images) files. With this
option,
images in DCT format are saved as JPEG files. All
non-DCT
images are saved in PBM/PPM format as usual.
--
Warm Regards,
Tha.Suresh
My experiences with Linux: http://thasulinux.wordpress.com
Cooool Linux Tips & Tricks: http://gnutips.wordpress.com
Free/Open Source Jobs: http://fossjobs.in
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer