Implemented picture grabbing.