Converting Image Buttons to Smartshape Buttons

How can I convert image buttons to smartshape buttons without manually replacing them?