Quantcast
Channel: Ghostscript.NET
Browsing all 393 articles
Browse latest View live

New Post: Get the CMYK Color Values from a PDF using GhostScript.NET ?

Hi, I need to get the CMYK values used for rendering from the PDF. I think they are the values range 0 - 1.0 under the C1 key. Anyone knows how to get them ? Thanks. Adi

View Article


New Post: Regarding conversion of PDF files

Well, this should be possible. As a rule of thumb: Everything you can do with Ghostscript can also be done with ghostscript.net So you should first try out Ghostscript itself ;-) Make yourself familiar...

View Article


New Post: save pdf as image tiff ccitg4

var desiredDpi = 150; var dtStartAnalysis = DateTime.Now; using (var rasterizer = new GhostscriptRasterizer()) { var ms = new MemoryStream(request.DocumentBytes); rasterizer.Open(ms); var codec =...

View Article

New Post: save pdf as image tiff ccitg4

The only concern I have is the speed at which this line is executed:var img = rasterizer.GetPage(desiredDpi, desiredDpi, pageNumber); On a pdf with ~1MB page size and 150 DPI it's ~1.5-2 seconds and I...

View Article

New Post: How to append postscript code to command line (-c)?

Hi! I've spent a few hours trying to get StartProcessing accept a "-c" command line switch but somehow, it always ends up in an -100 exception. In general, I'm trying the following:With cmdline...

View Article


New Post: How to append postscript code to command line (-c)?

This works: Sub Main() Dim gp As GhostscriptProcessor = New GhostscriptProcessor() Dim cmdline As List(Of String) = New List(Of String) With cmdline .Add("-empty") .Add("-dNOPAUSE") .Add("-dBATCH")...

View Article

New Post: Print PDF file?

Hi, Sorry for delay. You can do a same by using GhostscriptProcessor class. The sample can be found here:...

View Article

New Post: Get the CMYK Color Values from a PDF using GhostScript.NET ?

Hi, Take a look at this sample: https://github.com/jhabjan/Ghostscript.NET/blob/master/Ghostscript.NET.Samples/Samples/GetInkCoverageSample.cs Cheers, Josip

View Article


New Post: How to append postscript code to command line (-c)?

Great! As always, thanks for your fantastic work ;-)

View Article


Created Release: Ghostscript.NET v.1.2.0. (Feb 05, 2015)

v.1.2.0.fixed problem with checking for pdf file header signature in pdf files that has extra bytes at the beginning of the file before the actual signature.fixed problem with the page rasterized to...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Ghostscript.NET (written in C#) is the most completedmanaged wrapper library around the native Ghostscript library (32-bit & 64-bit), an interpreter for the PostScript language, PDF, related...

View Article

Image may be NSFW.
Clik here to view.

Released: Ghostscript.NET v.1.2.0. (Feb 05, 2015)

If you have found Ghostscript.NET useful and has contributed to your project consider donating.v.1.2.0.fixed problem with checking for pdf file header signature in pdf files that has extra bytes at the...

View Article

Image may be NSFW.
Clik here to view.

Updated Release: Ghostscript.NET v.1.2.0. (Feb 05, 2015)

If you have found Ghostscript.NET useful and has contributed to your project consider donating.v.1.2.0.fixed problem with checking for pdf file header signature in pdf files that has extra bytes at the...

View Article


New Post: Cannot display correct Khmer (Cambodia Language) after convert by GS

I am now working for a Cambodia VB.Net project which required user to fill in data in the web form and then display the value in a pdf form. After that, the pdf need to convert to jpg file. Currently,...

View Article

New Post: Cannot display correct Khmer (Cambodia Language) after convert by GS

Hi, You are using a bit old version of Ghostscript.NET. Latest version released couple of days a go is Ghostscript.NET v.1.2.0. What native Ghostscript library version do you use? Ghostscript v.9.15 ?...

View Article


New Post: Open methoed of GhostscriptRasterizer failes

I been looking to try this library with vb.net I have this code: Dim s As String = "C:\Users\AlbertKallal\Desktop\Deskhold\2013_salaryreport.pdf" Dim gVER As GhostscriptVersionInfo gVER =...

View Article

New Post: Send output to variable in place of file

I have the following code that simply converts the first page of a pdf to text. Dim gVER As GhostscriptVersionInfo = _...

View Article


New Post: Send output to variable in place of file

Hi Albert, You can achieve that by using pipes. Here is C# example:using Ghostscript.NET.Processor; namespace Ghostscript.NET.Samples { /// <summary> /// Sample that demonstrates how to tell...

View Article

New Post: Open methoed of GhostscriptRasterizer failes

Hi Albert, Sorry for a late response. Error -15 means "rangecheck" error. But since you used Ghostscript 8.15 (which is a bit old version) it's not surprising as Ghostscript.NET is tested with native...

View Article

New Post: Send output to variable in place of file

That does indeed work. Thank you VERY kindly for this. I do have a number of pdf files that errors out if I don’t restrict the page range 1 to 1. I will see if I can follow up if they are just bad pdf...

View Article
Browsing all 393 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>