Added possibility to specify Bitmap.Config for image decoding