Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Digital Archaeology » Extract images from PDF (Linux)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Extract images from PDF (Linux) [message #301823] Tue, 06 October 2015 09:43 Go to next message
CyberkNight is currently offline  CyberkNight
Messages: 1499
Registered: July 2012
Karma: 0
Senior Member
To extract images in jpg format from a PDF file, use the following command:

pdfimages -j /Documents/SampleWithImages.pdf /Documents/ExtractedImages/image


See http://www.howtogeek.com/228796/how-to-extract-and-save-imag es-from-a-pdf-file-in-linux/ for more info and examples.


Re: Extract images from PDF (Linux) [message #330475 is a reply to message #301823] Fri, 14 October 2016 17:05 Go to previous message
CyberkNight is currently offline  CyberkNight
Messages: 1499
Registered: July 2012
Karma: 0
Senior Member
If the images need rotating, you can use convert:

for file in *.jpg; do convert $file -rotate 180 $file; done


The above example rotates all of the *.jpg images in the current directory by 180 degrees.


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Archivists Grapple With Problems Of Preserving Recent Culture Held On Cassettes And Floppy Drives
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu May 25 15:59:14 EDT 2017

Total time taken to generate the page: 0.00457 seconds