title: optimze pdf file size in rails app
body: <p>For a rails app that works a lot with uploaded image heavy pdf files I'm looking for a way to optimize the file size of uploaded pdf's.</p>
  
  <p>Adobe Acrobat has a 'save as reduced file size pdf' option which often halves the filesize when images are included. </p>
  
  <p>I would like to do a similar action that is triggered after a file upload in my rails app.</p>
  
  <p>Any ideas?</p>