Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chen0040/cs-pdf-to-image
- Owner: chen0040
- License: mit
- Created: 2017-10-19T15:16:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T05:28:07.000Z (almost 7 years ago)
- Last Synced: 2024-12-11T14:52:29.914Z (about 2 months ago)
- Topics: csharp, library, pdf-converter, ps
- Language: C#
- Size: 49.6 MB
- Stars: 43
- Watchers: 7
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```