ASP.NET Core是否有免费组件来光栅化PDF?

问题描述 投票:-1回答:1

我一直在寻找免费的.NET Core代码或组件来将PDF光栅化为图像,但是没有机会,有没有?

asp.net-core pdf components rasterizing
1个回答
0
投票

[尝试使用DynamicPDF Rasterizer会将PDF转换为图像并在.NET Core上运行:

PdfRasterizer rasterizer = new PdfRasterizer("test.pdf");

//convert pdf to image with jpg format
//all the files would locate in the project folder
rasterizer.Draw("output.jpg", ImageFormat.Jpeg, ImageSize.Dpi72);
© www.soinside.com 2019 - 2024. All rights reserved.