title: Android wont load .png as bitmaps
body: <p>I cannot get Android to load .png images as bitmaps, I'm not sure if it possible to do this and I've been searching for an hour to no avail, regardless here's the code segment I have:</p>
  
  <pre><code>AssetManager assets;
  Options options = new Options();
  options.inPreferredConfig = Config.ARGB_8888;
  
  InputStream in = assets.open(fileName);
  Bitmap bitmap = BitmapFactory.decodeStream(in);
  </code></pre>
  
  <p>I've successfully used this code with .bmp files but I'm pretty sure you can load other file types other then .bmp as bitmaps. Any help would be appreciated.</p>
  
  <p>An example for filename would be something like "background.png".</p>