title: How can I resize an image already uploaded using Magickwand(PHP)/ImageMagick?
body: <p>I am working on building gallery where the user uploads all the images.  I had tried to use GD originally but found that it used way too much memory when dealing with images from a digital camera.  So I have been looking into ImageMagick and ran into this problem.  </p>
  
  <p>My end goal is to resize the image and then upload it.  I am not sure if this is possible with ImageMagick or not.  I have gotten it to resize the image after upload but it doesn't save the resized image, just the original size.</p>
  
  <p>This is the code I am currently using: ($image is the path to the file on my server)</p>
  
  <pre><code>$resource = NewMagickWand(); 
  MagickReadImage($resource,$image); 
  MagickSetImageCompressionQuality( $resource, 100);
  $resource = MagickTransformImage($resource,'0x0','660x500'); 
  </code></pre>
  
  <p>Any input would be appreciated,
  <br />
  Levi</p>