Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have hundreds of multipage pdf documents that I would like to save out as jpg's files.
I know I can convert them individually but if anyone knows a program that could do this for me automatically that would be great
If these PDFs are simply scans (raster, not vector), then "converting" is not the best approach. In this case, you should simply extract the images from the PDF container using "pdfimages" (it's stock on most distros). It's easy to script something using pdfimages.
If these are vector PDFs, then I don't know what's the best approach.. perhaps ImageMagick.. although I think I recall IM having issues with vector PDFs.
Do you want to convert every page of a multipage PDF and convert it to an image?
Do these PDFs contain collections of photo's that you want to extract, or are they regular PDFs with text?
The poppler-tools package contains pdf processing programs including the "pdfimages" program.
To convert every page of a pdf to an image, there is the "pdftoppm" program. Can then use ImageMagick's "convert" program to convert the ppm files to jpegs or another image format.
if you have so many files to convert, you can either use an open source free library xpdf foolabs.com/xpdf/ to convert the files in batch. otherwise use a free conversion software like pdf-to-jpg-convert.en.softonic.com
if you have so many files to convert, you can either use an open source free library xpdf foolabs.com/xpdf/ to convert the files in batch. otherwise use a free conversion software like pdf-to-jpg-convert.en.softonic.com
Welcome to LinuxQuestions.
You do realise that you necroed a thread from 2011 to give this advice, don't you?
In general, that's frowned upon, for various reasons (although I admit that there can on occasion be good reasons for doing so).
On the other hand, we constantly have lots of new and fresh questions asked here on a daily basis. I look forward to you contributing your knowledge and experience to help answer those questions.
Please do introduce yourself in the Introductions section.
By the way, I wouldn't personally touch a Softonic link if you paid me, but that's just me.
I have hundreds of multipage pdf documents that I would like to save out as jpg's files.
I know I can convert them individually but if anyone knows a program that could do this for me automatically that would be great
Look in my blog... HUAAAaahahaaa. Yes just click on the link to the left. Topmost blog-entry.
It would be nice to have the OP's feedback on some of our suggestions.
And as I am at it.., why must the image format be Jpeg, in deed? If it is for storage, jpg2000 would be better, and tiffs in compressed archives are fine as they will insure that more details survive the conversion.
It would be nice to have the OP's feedback on some of our suggestions.
And as I am at it.., why must the image format be Jpeg, in deed? If it is for storage, jpg2000 would be better, and tiffs in compressed archives are fine as they will insure that more details survive the conversion.
The OP posted in 2011 and has a total of 2 posts, so good luck on that.
One possible reason might be to upload images of one or more of a pdf's pages to the web for thumbnail purposes.
There is a lesson here, somewhere... Not the one where it sais: Look out for outdated threads, don't excavate corpses. But rather something that should be applied to just any discussion that I want to participate in.
There is a lesson here, somewhere... Not the one where it sais: Look out for outdated threads, don't excavate corpses. But rather something that should be applied to just any discussion that I want to participate in.
Hit me again, if it continues.
Not at all. I'd never heard of jpg2000 for example, now I have. You also encouraged me to think about possible use cases. So, merci!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.