像 Photoshop 质量一样将 PDF 转换为 JPG - Commercial C++ / 德尔福库
为了实现基于 Windows 的翻页应用程序,我需要能够将大量 PDF 页面转换为高质量的 JPG,而不仅仅是缩略图。
目的是实现最佳质量/文件大小,类似于 Photoshop 的 Save for Web 的做法。
目前我使用 Datalogics Adobe PDF Library SDK,它似乎无法完成该任务。因此,我正在寻找一个替代的商业 C++ 或 Delphi 库,它提供良好的质量/大小/速度。
在这里做了一些搜索后,我注意到大多数帖子都是关于 GS 和 GS 的。 Imagekick,我也测试过,但我对输出和速度不满意。
目标是导入 300dpi 的 PDF 并将其转换为 JPG 质量 50、高度 1500px、输出大小 300-500kb。
如果有人能为这项任务指出一个好的库,我将不胜感激。
For the implementation of a Windows based page-flip application I need to be able to convert a large number of PDF pages into good quality JPG, not just thumbnails.
The aim is to achieve the best quality / file size for that, similar to Photoshops Save for Web does that.
Currently Im using Datalogics Adobe PDF Library SDK, which does not seem to be able to fullfil that task. I am thus looking for an alternative commcerical C++ or Delphi library which provides a good qualtiy / size / speed.
After doing some search here, I noticed that most posts are about GS & Imagekick, which I have also tested, but I am not satisfied with the output and the speed.
The target is to import the PDFs with 300dpi and convert them with JPG quality 50, 1500px height and an ouput size of 300-500kb.
If anyone could point out a good library for that task, I would be most greatful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Gnostice PDFtoolKit VCL 可能是一个候选者。转换为 JPEG 是选项之一。
The Gnostice PDFtoolKit VCL may be a candidate. Convert to JPEG is one of the options.
我总是推荐 Graphics32 来满足您所有的图像处理需求;您有多个重采样器可供选择。但是,我不认为它可以将 PDF 文件作为图像读取。但如果您可以自己生成大图像,这可能是一个不错的选择。
I always recommend Graphics32 for all your image manipulation needs; you have several resamplers to choose. However, I don't think it can read PDF files as images. But if you can generate the big image yourself it may be a good choice.
Atalasoft DotImage(带有 PDF 光栅器插件)可以做到这一点(我在那里研究 PDF 技术)。您将使用 C#(或其他 .NET)语言进行工作:
Atalasoft DotImage (with the PDF rasterizer add-on) will do that (I work on PDF technologies there). You'd be working in C# (or another .NET) language:
还有快速 PDF 库
There is also Quick PDF Library
看看 DynaPDF。我知道它相当昂贵,但你可以尝试一下入门包。
PS:购买产品之前,请确保它满足您的需求。
Have a look at DynaPDF. I know its pretty expensive but you can try the starter pack.
P.S.:before buying a product please make sure it meets your needs.