title: bufferedImage.getRGB(x, y) does not yield alpha
body: <p>I've got a BufferedImage <code>i</code> and I'd like to get the <a href="https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html" rel="noreferrer">Color</a> from a certain pixel of that <code>image</code> <strong>including the alpha value</strong>. The pixel is identified using <code>x</code> and <code>y</code> coordinates.</p>
  
  <p>Here's what I tried:</p>
  
  <pre><code>Color c = new Color(i.getRGB(x, y));
  </code></pre>
  
  <p>For some reason, the new color object contains the correct RGB but the alpha gets lost.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks in advance</p>