title: Coldfusion resize making image files bigger?
body: <p>So I have an image loader that before it uploads the file to Amazon S3 it optimises the image by using this code:</p>
  
  <pre><code>&lt;cfset ImageScaleToFit(myImage,1260,"")&gt;
  &lt;cfset imageWrite(myimage,"newImagelocation", 0.9)&gt;
  </code></pre>
  
  <p>The odd thing is that if I upload an image that is already 1260 wide and 24k in size, then optimise it using the above code, the image becomes 34k in size.</p>
  
  <p>Why would optimizing an image make it bigger?</p>