Extract the images into a temporary folder. Twiddle with the quality value to reduce the size.
-density 150 \
-quality 50 \
-sharpen 0x1.0 \
Create the pdf back from all the images.
convert *.jpg output-file.pdf
I am currently working on Zammu which makes Automatic Deployment of static websites to Github Pages very easy. I would love to get your feedback on it, Use the invitation code