getBitmap outside of renderOutput