Decode image as bitmap.