Excract images from pdf/scan/etc

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
myspacee
Posts: 136
Joined: 2007-06-14T02:09:35-07:00

Excract images from pdf/scan/etc

Post by myspacee » 2012-01-18T11:17:54-07:00

Hello,
I'm a Windows user.

Try to extract images from a lot of archieved pages. Read about fmw42's script multicrop,
and see result. I'm here to ask if anyone know if is possibile to reach this goal uing IM.

I think to convert my .pdf in an image, then crop single image using script.

anyone can help me to choose right direction ?

thank you,
m.

User avatar
fmw42
Posts: 22101
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Excract images from pdf/scan/etc

Post by fmw42 » 2012-01-18T12:55:37-07:00

My multicrop script is for unix and will not work on Windows without Cygwin.

Post an example of your pdf so we can see what you have? Is it only one image from the PDF or more than one image? What kind of background or other things are there in the PDF that need avoiding?

I don't know if this is relevant, but see my post with commands for viewtopic.php?f=1&t=19123
at the bottom.

Windows users should see http://www.imagemagick.org/Usage/windows/ as there are syntax differences between windows and unix IM and in scripting.

User avatar
whugemann
Posts: 257
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

Re: Excract images from pdf/scan/etc

Post by whugemann » 2012-01-19T22:19:17-07:00

See especially the section http://www.imagemagick.org/Usage/windows/#auxiliary. Reading it anew I have to correct myself that pdfimages is not only intended for the extraction of JPEG images, but will in fact extract all raster images from a PDF, if it's not protected by an unknown password.
Wolfgang Hugemann

nibor
Posts: 1
Joined: 2017-08-16T22:32:15-07:00
Authentication code: 1151

Re: Excract images from pdf/scan/etc

Post by nibor » 2017-08-16T22:36:45-07:00

Hello there,
How to scan a document in pdf format?
Thanks in advance
:shock: :shock: :shock:

User avatar
fmw42
Posts: 22101
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Excract images from pdf/scan/etc

Post by fmw42 » 2017-08-16T23:09:07-07:00

nibor wrote:
2017-08-16T22:36:45-07:00
How to scan a document in pdf format?
The scan output format is determined by settings in your scanner.

Post Reply