问题
I have an upcoming .NET project that would require conversion from image (bitmap) into .pdf and .eps format. We would prefer to use third party library tool to do this rather than spending the time to reinvent the wheel. Here is the basic requirement:
- Preferrably a pure .NET library (we might put this converter code in Silverlight application, which won't have access to unmanaged code).
- Ability to read the input and generate the output on the fly (in memory).
Any recommendation?
回答1:
I've had good luck with Websupergoo's products: http://www.websupergoo.com/products.htm
回答2:
Here are 3 free .Net PDF libraries I have tried in the past (not for image conversion, but they seem to provide that).
- sharppdf
- pdfsharp
- itextsharp
回答3:
webSupergoo's ABCpdf .NET component can convert bitmap images to PDF and EPS.
You'll need to use either 'AddImageBitmap' or 'AddImageObject' functions, depending on whether you're using indirect or pass-through modes.
Documentation for 'AddImageBitmap' and example code can be found here: http://www.websupergoo.com/helppdf7net/source/5-abcpdf6/doc/1-methods/addimagebitmap.htm
Indirect and pass-through modes are explained here: www.websupergoo.com/helppdf7net/source/3-concepts/9-images.htm
来源:https://stackoverflow.com/questions/1273242/third-party-library-to-convert-image-into-pdf-and-eps-format-on-the-fly