title: Imagemagick animated gif size optimization
body: <p>I am use this code to resize and save a animated gif (php):</p>
  
  <pre><code>system("convert *originalfile* -resize *size* -coalesce *newfile*); 
  </code></pre>
  
  <p>Once done the filesize is quite large. Usually larger than the original even! What can I do to reduce the file size?</p>
  
  <p>I used <code>convert $completeMiff -dither none -matte -depth 8 -deconstruct  -layers optimizePlus -colors 32  $optimizedFile_16</code> and the file gets even bigger???</p>