gracefully handle imagemagick returning no data