Original: C # technology sharing "PDF converted to pictures-13 options" (2013-07-25 re-organized)
Important NOTE: This blog has been migrated to Shijia , there are questions please go to the article new address message!!!
Written in the first place: in order to save everyone's time, the main method is to write the most commonly used methods, if not meet your needs, you can continue to look back.
If you do not finish the full text or solve your problem, welcome to add Masturbate the main QQ group (274281457) is discussed.
wooden csdn Children's shoes, you can go to GitHub clone, address : Https://github.com/stone0090/OfficeTools.Pdf2Image.Word2Image.git .
Some time ago the company arranged a task: the request to deliver a DLL, the realization of "PDF conversion to Picture", the best effect is to master all the source code, it is not possible to deliver third-party DLLs. Study of 6 working days +1 double Hugh + every 9 o'clock in the evening off duty, browsing through various domestic and foreign forums, or failed to complete the source code, but found a lot of useful tools and other tools, here to share to everyone.
1, "O2S.Components.PDFRender4NET.dll", third-party DLL, can achieve PDF to picture, support 32-bit system, 64-bit system
official trial version of the DLL in the upper left corner will have a row of red watermark, below this is cracked version of no watermark, Masturbate The main use for more than a year basically no problem, recommended to use.
DLL:http://download.csdn.net/detail/shi0090/4066107
test Project:http://download.csdn.net/detail/shi0090/4068558
2, "Acrobat.dll", Adobe's official interface, you can achieve a PDF to the picture. This method requires the installation of Adobe Acrobat X Proto locate the Acrobat.dll reference in the project from the installation file. after all, Adobe's official interface, the conversion efficiency is much faster than the other DLLs, and more reliable, but it is more cumbersome to run under IIS (mainly does not support multi-threading, so in the IIS downgrade failed, the group has children's shoes with WCF to convert, Then call WCF from the Web layer)
if the conversion speed, picture quality requirements of children's shoes, can refer to this scheme, but the implementation process is too cumbersome, we weigh, Masturbate The Lord has not studied this method in depth.
test Project: http://download.csdn.net/detail/shi0090/4068502
Reference Address:http://www.codeproject.com/Articles/5887/Generate-Thumbnail-Images-from-PDF-Documents
3, "PDFLibNet.dll", third-party DLL, only support 32-bit system, you can achieve a PDF to the picture, the following version does not have a watermark.
DLL:http://download.csdn.net/detail/shi0090/4066096
test Project:http://download.csdn.net/detail/shi0090/4068522
4, "SautinSoft.PdfFocus.dll", third-party DLL, can realize the PDF to the picture, but the picture turned out there is a row of red watermark in the upper left corner.
DLL:http://download.csdn.net/detail/shi0090/4066111
test Project:http://download.csdn.net/detail/shi0090/4068561
5, "TallComponents.PDF.Rasterizer.dll", third-party DLL, you can achieve the PDF to the picture, but the picture turned out there is a larger watermark.
DLL:http://download.csdn.net/detail/shi0090/4066112
test Project:http://download.csdn.net/detail/shi0090/4068563
6, "Apitron.PDF.Rasterizer.dll", third-party DLL, you can achieve the PDF to the picture, but the picture turned out there is a larger red watermark.
DLL:http://download.csdn.net/detail/shi0090/5814803
test Project:http://download.csdn.net/detail/shi0090/5814857
7, "XpdfRasterizer.dll", third-party DLL, can achieve PDF to picture.
DLL:http://download.csdn.net/detail/shi0090/4066115
Test Engineering: This is lost, if used to use this, be sure to pay attention to REGSVR32 registration, or the conversion will fail.
8, "Abcpdf.dll", third-party DLL, can achieve PDF to picture, but need to install abcpdf, so it is not too easy to use.
DLL:http://download.csdn.net/detail/shi0090/4066144
test Project:http://download.csdn.net/detail/shi0090/4068564
9, "Ghostscript", third-party DLL, can achieve PDF to picture, only support 32-bit system, seemingly online a lot of people will use this method (said to be powerful), the individual feel that the code is too cumbersome to use, no in-depth study.
DLL:http://download.csdn.net/detail/shi0090/4066005
test Project:http://download.csdn.net/detail/shi0090/4068486
Reference Address:http://www.codeproject.com/Articles/317700/Convert-a-PDF-into-a-series-of-images-using-Csharp.aspx
Reference Address:Http://www.codeproject.com/Articles/32274/How-To-Convert-PDF-to-Image-Using-Ghostscript-API
10, "ImageMagick", the C language Open source PDF processing tool, can be implemented PDF conversion picture , because the main use of C #, so the C language tool has not been studied in depth.
DLL and source code:http://download.csdn.net/detail/shi0090/4066040
11, "ITextSharp.dll", C # Open source PDF processing tool, you can freely manipulate the PDF, and can extract the text and pictures in the PDF, but not directly convert the PDF to a picture.
DLL and source code:http://download.csdn.net/detail/shi0090/4065982
English Help document:http://download.csdn.net/detail/shi0090/4065986
Extract Text test project:http://download.csdn.net/detail/shi0090/4068429
Extract Picture Test project:http://download.csdn.net/detail/shi0090/4068428
Official website:http://itextpdf.com/
12, "PdfSharp.dll", C # Open source PDF processing Tool, can be arbitrary operation of PDF, can also be achieved from the PDF to extract pictures, but not directly convert the PDF to a picture.
DLL and source code:http://download.csdn.net/detail/shi0090/4066060
Extract Picture Test project:http://download.csdn.net/detail/shi0090/4068448
The above two open source C # Tools are good for working with PDF documents, but do not meet my requirements to directly convert PDFs to image.
13, QQ Group was recommended "PDFToX.dll" speed and quality are good, is not too stable, interested friends can self-study ~
Official website:http://www.ycanpdf.cn/
Official Download:Http://www.ycanpdf.cn/software/PDFtoX.rar
C # technology sharing "PDF to image-13 options" (2013-07-25)