Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm searching for a batch command that will convert a directory of JPGs to many PDF files. In order to convert JPGs to JPGs, i use the following command:

mkdir tmp; find . -name "*.jpg" -exec convert -resize 900x -quality 85% {} tmp/{} \;

Now i want to do the same, more or less but with PDFs. I don't want the result to be a single PDF with many pages.

Any ideas?

share|improve this question

1 Answer 1

You get a command-line PDF converter, for example PDFCreator is a great open source project at SourceForge.

Your command line will be similar to what you already presented in the question, but instead of calling convert you will call PDFCreator with appropriate command line options.

share|improve this answer
    
thanks, but i wonder - imagemagick knows how to convert JPGs to PDFs, now i just need that it won't combine them into a single file... –  Shai Efrati Apr 2 at 13:21
    
@ShaiEfrati - my bad, I haven't noticed the tags saying the question is for imagemagick. (I usually skip reading the tags.) –  miroxlav Apr 2 at 13:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.