title: Black Image Appear when Saving?
body: <p>In these days, Images make me nervous. Now, the saving image turn into black color. I saved a photo with colourful but when saving, it gets only the whole black color. I don't know what is my problem. Give me some help. </p>
  
  <p>Here is my code.</p>
  
  <pre><code>BitmapFactory.Options options = new BitmapFactory.Options();
       options.inPreferredConfig = Bitmap.Config.ARGB_8888;
       Bitmap myBitmap = BitmapFactory.decodeFile(picturePath,options);
       ByteArrayOutputStream bao= new ByteArrayOutputStream();
       myBitmap.compress(Bitmap.CompressFormat.PNG,100, bao);
       byte [] ba = bao.toByteArray();
       imageSave = Base64.encodeToString(ba, Base64.DEFAULT);
  </code></pre>
  
  <p>It's appear like that.</p>