capturing background image