There is/was some problem with PHP under IIS calling external binaries like the netpbm ones but you say it works fine when using the normal web interface...