The ghostscript tag has no wiki summary.
3
votes
0answers
71 views
How to convert a pdf to 4-up in landscape mode (ideally using ghostscript)?
I have pdf slides in landscape mode and would like to create a new pdf file containing the slides 4-up (in landscape mode again) like this:
-----------------
| 1 | 2 |
-----------------
| 3 ...
1
vote
1answer
283 views
How to rotate an image in gs
How can I rotate an image with ghostscript?
I am visualizing eps to screen.
I am using the command:
gs image.eps
5
votes
1answer
462 views
How to make ghostscript not wipe PDF metadata
Ghostscript wipes the PDF metadata like author, title, subject etc. How can I tell ghostscript not to touch the metadata? I invoke it as follows:
gs \
-dBATCH \
-dNOPAUSE ...
1
vote
0answers
23 views
Rescale a PDF file [duplicate]
Possible Duplicate:
How to change height and width of each page of a pdf
Is it possible to rescale a PDF file (retaining perspective) to be within a maximum width / height?
Rendering to an ...
2
votes
0answers
178 views
Implementing a String -> PDF Stamp tool
I wrote a little shell function which creates a fixed-size PDF file (A4) from a character string using gs:
make_stamp() {
file=$1
string=$2
tmp=${file}-small.pdf
gs -o "$tmp" -sDEVICE=pdfwrite ...
0
votes
0answers
333 views
How to update ghostscript
First: what's the difference between gs and ghostscript?
thiago@vaio:~$ gs -v
GPL Ghostscript 9.06 (2012-08-08)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
thiago@vaio:~$ ...
3
votes
1answer
127 views
How to export a vector graphic to eps?
I have a Scalable Vector Graphic (svg) which I can convert to pdf with inkscape. The pdf still looks fine when viewed in okular or evince. However, I require an eps file. I understand that eps may ...
2
votes
2answers
937 views
How to create a single page PDF file out of multiple EPS files with GhostScript
I'm trying to merge eps files into a pdf file using GS, however, I cannot get it to put multiple eps files without page breaks in between even if original files are small. The command I'm using is:
...
2
votes
0answers
179 views
'convert' taking a long time to create a PNG thumbnail
I made a png from a pdf using ghostscript. It was converted very fast (not more than 1 sec), and has good quality.
$ identify 1.png
1.png PNG 3508x2480 3508x2480+0+0 8-bit PseudoClass 2c 51KB 0.000u ...
4
votes
1answer
491 views
convert pdf to image [jpeg|png]
I need to convert pdf files into image files (like: png (prefer), jpeg).
I used convert (from the ImageMagick package) but it takes more than 4 seconds for a 2 page pdf file with only tables ...
3
votes
1answer
2k views
insert a blank page into a PDF using ghostscript or pdftk
I have a PDF file that needs a blank page inserted into it every so often. The pattern is unpredictable, so I need a command that will allow me to fit one in wherever necessary.
2
votes
1answer
307 views
Use convert or ghostscript to grab the odd-numbered pages of a PDF
I have a PDF that consists of several hundred pages of bilingual text. Since I need to use OCR on each language separately, I want to grab the even and odd pages and make two separate PDFs, using ...