Error reading magic number from Netpbm image
最近现在安装了Netpbm-10.27,在使用里面的函数pgm_readpgminit(in, &cols, &rows, &maxval, &format)时提示错误:“Error reading magic number from Netpbm image stream, most offen, this means your input file is empty.”。而且,在重新编译jpegtopnm.c并运行时提示:“Input stream is empty”,但是软件包里带的jpegtopnm.exe能正常使用。不知是什么原因,请高手指点,谢谢。