Click here to Skip to main content
15,904,416 members
Everything / Ghostscript

Ghostscript

ghostscript

Great Reads

by Saranya Mahesh
Upload PDF, save file name to database, save pdf to a folder, create a thumbnail image of pdf and save it to a folder, and also save the image to database

Latest Articles

by Saranya Mahesh
Upload PDF, save file name to database, save pdf to a folder, create a thumbnail image of pdf and save it to a folder, and also save the image to database

All Articles

Sort by Score

Ghostscript 

6 Feb 2020 by Richard MacCutchan
Most likely something wrong with your parameters. You have: String ars = " - dNOPAUSE -sDEVICE=jpeg -r102.4 -o" + "C:\\Users\\syousif\\Desktop\\images" + "%d.jpg -sPAPERSIZE=a4 " + fileNameResultDirectory; I suspect the first hyphen character should not have a space after it. Should be "...
6 Feb 2020 by phil.o
string ghostScriptPath = @"C:\Program Files\gs\gs9.50\bin\gswin64c.exe"; The executable name doesn't match in both cases. Neither the command lines. The version which works uses -sOutputFile="...", whereas C# version uses something else. Also maybe you need to replace the %d environment...
11 Jan 2016 by Dholakiya Ankit
my client wants me to do one task. which is whenever I print ctrl+P from the browser it will go automatically that contents to the database which is sql.Now, Let me explain what I have tried to achieve this. Usually printerPlusPlus which is third party tool. Which adds virtual printer and...
30 Sep 2016 by Member 10268466
I am trying to create PDF to image using ghostscript. It looks good in my local site. Now I set my website to the IIS using App Application for Default site, and accessing it from other PC using LAN connection my site is looks good but ghostscript is not generating Pdf to Image. Is there...
29 Sep 2016 by David_Wimbley
You didn't post an error message but one common issue i've had with ghostscript and the gsdll32.dll is that it needs to be located in your deployed projects /bin directory (Ex: c:\inetpub\wwwroot\yourprojectname\bin). I believe the gsdll32.dll cannot be included as a reference in your project so...
30 Sep 2016 by NathanRO
I had just done this for a batching OCR application and found that using Ghostscript.NET (see here)worked great and was reliable. The biggest issue I found was that just because the development station has Ghostscript installed, does not mean the system running the routine does. In this case,...
6 Feb 2018 by Member 13659255
I'm converting multiple page PDF files to JPG and saving to disk using ghostscript.net. I am then adding them to a stackpanel (vertical orientation) on a canvas inside a ScrollViewer. This works well for small documents however larger documents only work up to about the 10th page at 500 dpi....
28 Jun 2019 by pekabo
I receive a multi-page PDF from Ghostscript.Net with the following arguments. But as soon as I want to create a multi-page Tiff with the following changed argument switches.Add("-sDEVICE=tiff24nc") I get the error 'gsapi_init_with_args' is made: -100. What is wrong, I am grateful for any...
28 Jun 2019 by BillWoodruff
There are dedicated support resources for GhostScript: [^] Quote: If you cannot find what you want, then a simple web search will (in many cases) produce results. If that fails, then there is a community of helpful people at: http://stackoverflow.com/search?q=ghostscript If your problem is...
6 Feb 2020 by MadMyche
You could always try utilizing their API, which is documented: The Ghostscript Interpreter Application Programming Interface (API)[^] Someone here even wrote an article on how to do it this way, about a decade ago: How To Convert PDF to Image Using Ghostscript API[^]
7 Feb 2020 by AskalotLearnalot
Here is a solution that uses different approach but works, or at least haven't encountered error yet. 1) Install GhosotScript to your project from NuGet. 2) Install GhostScript to your CP : version 9.26 from here...
9 Feb 2020 by AskalotLearnalot
I convert PDF to images and set the dpi to 300 but the vertical and horizontal resolution values always default to 120 I am using version 9.26 This is how I do it: Is there a way to set it differently? What I have tried: Image...
31 May 2020 by Coder969
Hi, I am checking whether it is possible create an application which can deploy the windows image (wim) to the remote machine? Anyone tried to create an application using the windows deployment service or using any other apis? What I have...
31 May 2020 by Richard MacCutchan
Did you look at About the Windows Deployment Services API - Win32 apps | Microsoft Docs[^] ?
7 Feb 2020 by AskalotLearnalot
I tried to convert PDF to tif images using ImageMagick it works but it is very slow with large files. Now I tried to use ghostscript, it works fine from power-shell but it is not executing with c# asp.vet VS19. Here is the command that works: gswin64c.exe -dNOPAUSE -r300 -sDEVICE=tiffscaled24...
1 Mar 2017 by Saranya Mahesh
Upload PDF, save file name to database, save pdf to a folder, create a thumbnail image of pdf and save it to a folder, and also save the image to database