简体   繁体   English

将PDF文件转换为TBitmap图像

[英]Covnerting PDF's to TBitmap image

what is the easiest method to convert a PDF into a TBitmap image in delphi? 在delphi中将PDF转换为TBitmap图像的最简单方法是什么? if there are any commercial available tools for delphi, I can buy one if it is reliable and or not expensive... 如果有任何商业可用的德尔福工具,我可以买一个如果它是可靠的或不昂贵的...

I am thinking of some kind of viewer which I can browse pages.. zoom... and export in the desired resolution.. 我正在考虑某种类型的查看器,我可以浏览页面..缩放...并以所需的分辨率导出..

You could try using the ghostscript api from delphi (see http://ftp.uasw.edu/pub/ghostscript/contrib/ for delphi example files) to convert to a bitmap. 您可以尝试使用delphi中的ghostscript api(请参阅http://ftp.uasw.edu/pub/ghostscript/contrib/ for delphi示例文件)转换为位图。

Though I've not used it (was just aware of its existence) I would expect you should be able to put the data into a memory stream and read it from there. 虽然我没有使用它(只知道它的存在),我希望你能够将数据放入内存流并从那里读取它。

Though, if your software is going to be non-open source it could be an issue . 但是,如果您的软件将是非开源软件,则可能是一个问题。

I have had good results with QuickPDF . 我用QuickPDF取得了不错的成绩。 It's relatively inexpensive and there is a trial version available. 它相对便宜,并提供试用版。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 调整Tbitmap大小时的白色图像 - White image when resizing Tbitmap TBitmap在Delphi 2009中绘制透明图像 - TBitmap drawing transparent image in Delphi 2009 如何在 TGrid 的单元格中渲染 TBitmap 图像? - How to render a TBitmap image in a cell of a TGrid? 无法在动态创建的TBitmap上绘制GIF - Cannot draw GIF on dynamically created TBitmap(s) TBitmap32.LoadFromStream()自动识别图像格式 - TBitmap32.LoadFromStream() Auto-Recognize Image Format 如何将 fMX.TImage 分配给 VCL.TBitmap? - How to assign s a FMX.TImage to a VCL.TBitmap? 是否可以在Delphi的TBitmap组件中使用可移植位图图像? - Is it possible to use Portable Bitmap Image in TBitmap Component in Delphi? 在TMetaFile中存储TBitmap以在RTF中平滑缩放将图像大小加倍 - Storing TBitmap in TMetaFile for smooth scaling in RTF doubles the image size 我可以通过覆盖GetPixel / SetPixel方法以某种方式“检测”Graphics.TBitmapCanvas,这些方法特定于TBitmap的画布吗? - Can I somehow “instrument” Graphics.TBitmapCanvas with overriden GetPixel/SetPixel methods, which are specific to TBitmap's canvas? 如何将扫描图像从WIA ImageFile传输到TBitmap而不将其保存到磁盘? - How to transfer a scanned image from WIA ImageFile to TBitmap without saving it to disk?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM