title: Disable Android resource / image / PNG optimization
body: <p>How do I prevent the Android "build process" from optimizing .png images?</p>
  
  <p>I have an Android project with the following res directories:</p>
  
  <pre><code>- /res/
  - /res/drawable
  - /res/drawable-hdpi
  - /res/drawable-hdpi-v5
  - /res/drawable-ldpi
  - /res/drawable-ldpi-v5
  - /res/drawable-mdpi
  - /res/drawable-mdpi-v5
  </code></pre>
  
  <p>These directories <strong>contain many .png files</strong>. I optimize PNG sizes with PNGOUTWin, and the overall size is reduced by more than 20%. When I build the .apk file, the <strong>images are "optimized" by the build process and the overall size is now 10% above the initial size</strong>, or 30% above my/PNGOUTWin optimized size.</p>
  
  <p>My goal is to reduce the .apk size, even if it will affect the final performance, memory requirements, etc. <strong>How do I prevent the "build process" from optimizing .png images?</strong></p>
  
  <p>I'm targeting Android 2.2 and above.</p>
  
  <p>P.S.: I am currently building my Android project from Eclipse, but I will switch to the automated build later (Ant?).</p>
  
  <p><strong>Note about JPG images:</strong> JPG will not work, because they do not have transparency.</p>