"getBitmapFromFile" now works with streams