Hi All,
This question was close, but doesn't do the trick. I am trying to convert a pdf into a jpg (for thumbnailing). Here is the command I am running:
convert -quality 100 -density 200x200 /path/file.pdf /path/file.jpg
I have mamp pro 1.7.2,imagemagick, ghostscript all properly installed and working. This command works perfectly fr...
We're currently using ps2pdf to convert EPS files to PDF. These EPS files contain both vector information (lines and text) and bitmap data.
However, by default ps2pdf converts the bitmap components of these images to JPG as they're embedded within the PDF, whereas for the type of graphics we have (data visualisation) it would be much mo...
So I'm working on a CMS module for a newspaper site. I'm enabling the editors with the option to upload a PDF of the entire newspaper, which will then be converted into a page-flipping digital online newspaper.
The page-flipping trick is done with flash and is just an .swf that I use for all the editions. My problem is with the PDF 2 ...
I'm using GhostScript to merge to PDFs into one PDF. One of the PDFs has textbox fields (editable fields) that I created in Adobe Acrobat Pro 9. When I merge these two PDFs with GhostScript I lose the textbox fields.
Is there any way to merge these files (using GS or some other free linux software) that keeps the textbox fields intact?
...
Has anyone encountered a nice wrapper for GhostScript in C#.
My specific use is to take postscript and turn it into a pdf
...
Having difficulties with Imagemagick and Snow Leopard.
Imagemagick was installed using the install script from here here. Everything builds and installs correctly. Imagemagick behave normally for all commands (that I can find) except when trying to convert a PDF. For example,
$ convert my.pdf my.jpg
Segmetation Fault
I thought it ...
Hi,
I'm using the Ghostscript API from c#, to convert multipage PDF's to jpgs.
My issue is with colour conversion.
When I open the Source PDF in photoshop, and export to jpeg, each colour in each jpeg matches the colours of the original PDF perfectly.
However, when I run the process through Ghostscript, the colour come out as differe...
I am using the ps2pdf14 utility that ships with GhostScript, and I am having a problem with fonts.
It does not seem to matter what instructions I pass to the command, it insists on subsetting any fonts it finds in the source document.
e.g
-dPDFSETTINGS#/prepress
-dEmbedAllFonts#true
-dSubsetFonts#false
-dMaxSubsetPct#0
Note that...
Given a PDF, how can one get the layout mode of a PDF (or relative width/height) using a PHP lib or linux command line tool?
Using http://www.tecnick.com/public/code/cp%5Fdpage.php?aiocp%5Fdp=tcpdf which can set this variable on new PDFs, but for existing pdfs from adobe.
Thought of converting pdfs to ps, or using gs in some other way ...
Hello,
Is it possible to call ghostscript on an App Engine project? I'd like to be able to perform some document conversion using gs (pdf to tiff in particular), and I am not seeing any specific documentation that either rules out this possibility or states how to pull it off.
Thanks!
Shaheeb R.
...
I'm running GPL Ghostscript 8.70 (2009-07-31) on Windows XP. I have about 100 PDF files I've attempted to run through GS, but I'm having font-related issues on two separate groups of files from two different customers. I'm not sure if the issues could be related. Here are the two errors I receive:
Loading Courier font from C:\Progra...
Is there a way to use ghostscript to convert PDF to PDF/A or PDF/X? I know it can be used to convert PDF to images, but I don't know if it can be used to convert PDF/A. What parameters should I use?
...
I'm trying to use Ghostscript in CentOS. When trying to issue the following Ghostscript command ghostscript -sDEVICE=pcx256 -r150x150 -sOutputFile=OUTPUT_FILE INPUT_PDF I am getting the following error:
ESP Ghostscript 815.02 (2006-04-19)
Copyright (C) 2004 artofcode LLC,
Benicia, CA. All rights reserved.
This software comes w...
I installed ghostscript and updated the appropriate path variables ... however, I'm getting an error when I try to execute this command:
C:\PROGRA~1\gs\gs8.64\lib>pdf2ps mydocument.pdf mydocument.ps
Access is denied.
Unable to open command line file _.at
Is this the right command? did I miss some configuration or path setting? Otherwi...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, i'm using C#.
...
I'm trying to run this command to use ghostscript (from java) but Whether with single quote ' or " or nothing at all I get an error
Error: /undefinedfilename in ('c:\\Documents)
gswin32c.exe -q -dNOPAUSE -sDEVICE=tiffgray -sOutputFile=C:\polter.tiff -r300 'c:\Documents and Settings\polter.pdf' -c quit
any ideas?
...
Hello everybody,
These are the steps I am trying to achieve:
1) Upload a PDF document on the server.
2) Convert the PDF document to a set of images using GhostScript (every page is converted to an image).
3) Send the collection of images back to the client.
So far, I am interested in #2.
First, I downloaded both gswin32c.exe and g...
Hi,
I was using ghostscript 8.15 for pdf rasterization on a x86_64 system. Now because of new features I want to switch to version 8.70. However, I noticed that Ghostscript made a note about supporting only 32 bit postscript integers in version 8.70. I don't quite understand how this could affect the behavior of my application and was ...
I am converting eps (Encapsulated PostScript) files to jpeg files with ghostscript. A sample command I use is:
gswin32.exe -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r600x600 -dGraphicsAlphaBits=4 -dUseCIEColor -dEPSCrop -sOutputFile=”a.jpeg” b.eps
The input eps files come with white backgrounds (I only have their clipping...
Hi,
Does anyone know if there is a way to do a global font substitution in Ghostscript. I can identify and substitute fonts on an individual basis using the font map but I would like to have it replace everything automatically if not found. I am using Ghostscript in an automated environment and would prefer to have the output be incor...