摘要:
由于项目需要在.net下将pdf转换为普通图像格式,在网上搜了好久终于找到一个解决方案,于是采用拿来主义直接用。来源见代码中注释,感谢原作者。[c-sharp] view plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;usingSystem.Collections;/**ConvertPDFtoImageFormat(JPEG)usingGhostscriptAPIconvertapdftojpegusingghost 阅读全文