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.

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.

Source code location: https://github.com/jhabjan/Ghostscript.NET

100 questions
0
votes
2 answers

Fatal error when converting pdf to png

I'm trying to convert a pdf into a PNG, using the code given in the following example (the first function) : https://ghostscriptnet.codeplex.com/SourceControl/latest#Ghostscript.NET/Ghostscript.NET.Samples/Samples/DeviceUsageSample.cs However, I get…
Loukoum Mira
  • 317
  • 1
  • 6
  • 21
0
votes
0 answers

Report Service: Permission error for custom assembly

I have problem working with custom assembly on Report Builder. I managed to add my assembly to the Report Builder and allow it to display a word "Hello" on a textbox. When I started adding slightly complex code like adding Ghostscript.NET code into…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
0
votes
1 answer

How to read entire PDF with GhostScript.NET

I have a web page that displays images to users. The display is meant to confirm that the user has uploaded the proper documentation. Due to security requirements I've decided to embed the images in the html (this allows all images to have the…
rogerdeuce
  • 1,471
  • 6
  • 31
  • 48
0
votes
1 answer

Ghostscript.NET - no output file when run as Windows service

I'm writing a Windows Service to scan a set of directories for new PDF files and convert them to TIFF with Ghostscript.NET. When I'd compiled and ran the code as a normal program it functioned perfectly, but when I used the same code as a Service…
Scott
  • 23
  • 4
0
votes
1 answer

Ghostscript with C# using dll

I want to use ghostscript to convert PDF to Images. Using Process class in C# is very simple. What I want is to use the gsdll32.lib or gsdll32.dll in C# and be able to execute the following command which works on command line using…
amyn
  • 922
  • 11
  • 24
0
votes
1 answer

How to change image orientation using Ghostscript in C#

I've converted some pdf files to jpg using Ghostscrpt. All is good, but the images are horizontal. How do I change the image orientation? Source Code: [HttpPost] public ActionResult PreprocessPDF(string fileTempName) { var path =…
miniacz
  • 27
  • 4
0
votes
2 answers

Orientation of PDF when viewing with Ghostscript

My application shows PDFs in a picture box by using Ghostscript. The PDFs I use are scanned images with a text layer. created by the OCR function from Acrobat Pro. This OCR function automatically sets the orientation according to the direction of…
Jan-WIllem
  • 91
  • 13
0
votes
2 answers

Printing PDF using GhostScript.NET DPI printing issue

I am using GhostScript.NET to print a PDF. When I print it at 96DPI, the PDF prints fine, but is a little blurry. If I try to print the document at 600DPI, the page that prints extremely magnified. using GhostScript.NET.Rasterizer; using…
Rick Hodder
  • 2,189
  • 3
  • 26
  • 54
-1
votes
1 answer

Cropping a PDF to png using Ghostscript.net

I'm using visual studio 2015 with VB language Web application, my issue in brief I used Ghostscript to extract pdf first page to png its work fine but if pdf file name contain space its does not extract png and no error show up or if written on…
-1
votes
1 answer

How do I report progress to the GUI from a list of Tasks?

I'm currently working on a program that converts a list of files from .ps (PostScript) to .png. Originally, this was done in a batch file, one file at a time. I am working on code that uses the Ghostscript.NET dll to process these files…
1 2 3 4 5 6
7