Questions tagged [ghostscript.net]

Ghostscript.NET is the most completed managed (.NET) wrapper library around the Ghostscript library (32-bit & 64-bit), an interpreter for the PostScript language, PDF, related software and documentation.

Filter by
Sorted by
Tagged with
17votes
0answers
21kviews

Convert PDF to JPG / Images without using a specific C# Library [closed]

is there a free C# library (.dll) to convert PDF to images ? I tried this one : https://code.google.com/p/lib-pdf/ But it doesn't work, I got this error : Could not load file or assembly '...
user avatar
  • 309
7votes
6answers
4kviews

GhostscriptRasterizer Objects Returns 0 as PageCount value

txtStatus.Text = ""; if (!File.Exists(txtOpenLocation.Text)) { txtStatus.Text = "File Not Found"; return; } txtStatus....
user avatar
6votes
2answers
9kviews

GhostscriptLibraryNotInstalledException running under 32-bit process requires native library

Using nuget in Visual Studio 2013, I installed Ghostscript.NET into my project on my Windows x64 PC. Just to make sure I wasn't crazy, I checked it: PM> Install-Package Ghostscript.NET 'Ghostscript....
user avatar
  • 25.3k
5votes
1answer
11kviews

Ghostscript.NET.dll print pdf to specified printer

How to print pdf using ghostscript api. I tried google but still not getting proper solution. Please help me how i do this task.
user avatar
5votes
1answer
4kviews

Ghostscript.NET pdf to image not working on windows azure

I am trying to convert pdf first page to image using Ghostscript.NET it works fine on local IIS but fails on the Azure web app with the following error: [GhostscriptException: Delegate of an ...
user avatar
  • 101
5votes
0answers
445views

Ghostscript.Net v 1.2.1 arithmetic overflow error

Has anyone seen this particular error from Ghostscript when executing the following raster.Open: using (var raster = new GhostscriptRasterizer()) { raster.Open(pdfFileStream, _version, true); where ...
user avatar
4votes
2answers
5kviews

Ghostscript.NET image text quality issue

I am attempting to convert a pdf document to images using ghostscript. The desired dpi is set to 72px which should be high enough for text to display clear but most of the text is illegible. I can ...
user avatar
  • 1,573
4votes
2answers
3kviews

Ghostscript.NET Rasterizer Out of Memory

I'm using Ghostscript.NET, a handy C# wrapper for Ghostscript functionality. I have a batch of PDFs being sent from the clientside to be converted to images on the ASP .NET WebAPI server and returned ...
user avatar
  • 6,052
3votes
1answer
959views

GhostscriptRasterizer.PageCount always returns zero

This problem has already been discussed here:GhostscriptRasterizer Objects Returns 0 as PageCount value But the answer to this question did not help me solve the problem. In my case, it doesn’t help ...
user avatar
  • 349
3votes
1answer
652views

C# .NET "Parameter is invalid" when Image in using statement

Windows 8.1 Pro, Visual Studio 2015 Update 3, C#, .NET Framework 4.5. Ghostscript.NET (latest), GhostScript 9.20. I'm converting a PDF to a PDF. Hah. Well, I'm making an "editable" PDF "hard" PDF ...
user avatar
  • 1,773
2votes
2answers
4kviews

gsapi_init_with_args is made: -100

I'm trying to build a PostScript to PDF Converter using Ghostscript.Net. The Args that GetArgs return, are the ones I usually use to call gswin32c.exe and they work fine. But every time i call ...
user avatar
  • 333
2votes
1answer
1kviews

Can I return byte[] with GhostscriptProcessor?

Is it possible to return byte[] using the GhostscriptProcessor? For example: public static byte[] ConvertToPDFA(byte[] pdfData) { GhostscriptProcessor gsproc = new GhostscriptProcessor(Properties....
user avatar
  • 79
2votes
1answer
1kviews

Creating PDF/A with GhostscriptProcessor

I want to convert a PDF file into PDF/A with GhostscriptProcessor, but the result is a PDF not PDF/A. GhostscriptProcessor gsproc = new GhostscriptProcessor(Properties.Resources.gsdll32); gsproc....
user avatar
  • 79
2votes
1answer
3kviews

Ghostscript.NET Multithreading Issue

The longest part of a monthly process we run is the automated slicing and conversion of some PDFs to images. Each PDF is read in, converted to 3 different PDFs, and those 3 are converted to images to ...
user avatar
  • 2,805
2votes
1answer
487views

Ghostscript increases file size after split PDF

I am splitting PDF file to Images and it is working fine, But issue is that I have PDF file it's size is 2.5 MB after splitting this file into images total size increases to 8 MB. So I don't want to ...
user avatar

15 30 50 per page
1
2 3 4 5
7