imagemagick should be compiled with png support