title: How to reduce file size using PHP and JPEGs
body: <p>I am using a the standard PHP functions <code>imagecopytruecolor</code> and <code>imagejpeg</code>
   to rescale and produce uploaded images from a standard HTML form. <P>The images appear at the correct size however the image filesize is quite high (e.g. 540px * 350px = 250kb)</P></p>
  
  <p>When compared to Photoshop's Save for Web using JPEG high quality settings the same files are come out at about 60kb, so about 4 times as small.
  </p> 
  
  <p>Is there anything I can do to reduce the filesize?</p>