Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chen0040/cs-pdf-to-image

a simple library to convert pdf to image for .net
https://github.com/chen0040/cs-pdf-to-image

csharp library pdf-converter ps

Last synced: about 1 month ago
JSON representation

a simple library to convert pdf to image for .net

Awesome Lists containing this project

README

        

# 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

```bash
Install-Package Pdf2Png -Version 1.0.2
```

# Usage

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