Realized that I never reinstalled Imagemagick after reinstalling Ubuntu. All is well.