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?".
I am trying to convert 30 jpeg files to a pdf. The resulting pdf is much larger (10 to 30 times) than I would expect. The original images are about 100k each. Since I want to distribute the pdf by email, I would like it to be a reasonable size. Notice the segmentation fault when I neglect to add the "+convert" option.
-compress JPEG results in a segmentation fault. The monochrome option makes the pdf much smaller but destroys the image quality. Otherwise the options suggested in the pdf output option documentation pointed to by the first reply do not help. I'm thinking of converting my images to greyscale and trying again, though that would be a shame.
Don't forget that IM will try to read in all the JPEGS and decompress them before doing the processing. How many pixels does each one have?
You might look at the problem differently. You don't really want to ocnvert the images. Instead, you want to include them (unconverted) in a PDF documnent. For that, you might use OpenOffice.org to create a document and include the images. Then export the PDF. (Maybe OpenOffice won't convert the files if you leave the "compression" unchanged.)
If you need to do this multiple times, you could write an OpenOffice macro.
Thanks again to both of you for your suggestions. I understand the issue much better now. I did finally use Open Office, and that produced a PDF of not much more than the size of the images.