created algo to extract picture from binary