title: Compress images with PHP
body: <p>I process uploaded images by php to save (after resize) by <code>imagejpeg</code>. As I explored, <code>imagejpeg</code> is the best php command to compress jpg images to reduce the file size. However, when I check my website by Google Page Speed, it says all of my images can be compressed 4-10%.</p>
  
  <p>What is the common method to compress images to meet the Google standard?</p>