title: Removing specific pixel from Bitmap
body: <p>I want to remove pixels from Bitmap. Here is my for loop that goes through all pixels in Bitmap:</p>
  
  <p>input and output are both Bitmaps.</p>
  
  <pre><code>for(int x = 0; x&lt;input.getWidth(); x++){
              for(int y = 0; y&lt;input.getHeight(); y++){               
                  if(output.getPixel(x, y) == input.getPixel(x, y)){
                      output.setPixel(x, y, Color.WHITE); // changes color to white
                  }
              }
          }
  </code></pre>
  
  <p>but I'd like to remove the pixel and not only change its color. Is that possible?
  I am later adding shadow to that bitmap based on its shape, so making it transparent doesn't help me in this case.</p>