chen0040 / cs-pdf-to-image

a simple library to convert pdf to image for .net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cs-pdf-to-image

A x86 simple library based on .net 4.5.2, .net 4.5.1, and .net 4.0 to convert pdf to image for .net. This library is a derivation of Mark Redman's work on PDFConvert using Ghostscript gsdll32.dll. The derivation will automatically make the Ghostscript gsdll32 available on computer that does not have it installed, so that that developers do not need to worry whether ghostscript is available on the end user's computer in order for it to work.

Install

Install-Package Pdf2Png -Version 1.0.2

Usage

string pdf_filename="sample.pdf";
string png_filename="converted.png"; 
List<string> errors = cs_pdf_to_image.Pdf2Image.Convert(pdf_filename, png_filename);

About

a simple library to convert pdf to image for .net

License:MIT License


Languages

Language:C# 100.0%