Questions tagged [eps]

EPS is the common abbreviation for Encapsulated PostScript, a restricted version of PostScript meant to be embedded within other documents.

EPS is the common abbreviation for Encapsulated PostScript, a version of PostScript meant to be embedded within other documents. In this end, EPS is less of a programming language (where PostScript is), but more of an image format.

There are several restrictions placed on the EPS file format to make it suitable for embedding. These include:

  • The required use of a BoundingBox comment to describe the image's layout
  • The image must fit on a a single page
  • The file must not use any commands that affect global state (ex the printer)

The last point includes such operators as startjob and exitserver. A more complete list can be found here.

487 questions
0
votes
1 answer

Is there a way to set the size of an EPS image which is embedded in a PostScript?

I have an EPS image (Encapsulated PostScript) and I embedded it in a PostScript. I'd like to set it's size for example in millimeters like 50x50 or something. I found a way to resize it with the scale keyword like .7 .7 scale but that way I only…
Tamas G.
  • 677
  • 3
  • 21
  • 38
0
votes
0 answers

How to display an EPS file?

My web application currently displays PNG files. It is going to be easier if I could use an EPS file. How do I display an EPS file from InDesign on the canvas in Javascript?
quemeful
  • 9,542
  • 4
  • 60
  • 69
0
votes
1 answer

Python Matplotlib: Remove black background when rasterizing part of plot in EPS?

This question is related to a comment on another question. In matplotlib/python, I am trying to rasterize a specific element in my image and save it to eps. The issue is that when saving to EPS (but not SVG or PDF), a black background appears behind…
rocking_ellipse
  • 275
  • 1
  • 2
  • 13
0
votes
1 answer

Problems with text in R plots and LaTeX

Hello stackoverflow community, I have trouble with the interaction between text in R plots and the Latex Environment. In R, I programmed a simple distributional plot and added the percentage below a given threshold via the command…
0
votes
1 answer

Blank white lines in eps exported surf plots

I exported a surf plot in eps format using the below code. s = figure(10); surfc(double(smooth_img)); saveas(figure(10), 'surf.eps','epsc2'); I'm not able to remove the blank white lines in the image (i.e. at y = 250 and x =100). Does…
Ghost
  • 450
  • 3
  • 14
0
votes
1 answer

Saving a plot in 'R' in 'eps' or 'pdf' format via 'rgl.postscript' (why color is changed?)

I am trying to run this code in "R" in order to plot a density function kernel smoothing and then save the plot as an "eps" file: library(ks) library(rgl) kern <- read.table(file.choose(), sep=",") hat <- kde(kern) plot(hat, drawpoints=TRUE, xlab =…
Ali
  • 1
  • 4
0
votes
1 answer

EPS is not a font file, right?

Well someone who has made a rather amazing-looking font has also made if available for free download, which is nice. Unfortunately, however, this person seems to have convinced himself that .EPS is a font file, which, of course, it is not. What am…
0
votes
1 answer

Combining vector and raster images in gnuplot

Is there a way to combine a vector file with a raster file in gnuplot to get a single one? In particular, I have a spectrum of a chemical compound (.eps file) and would like to overlay structural formula of the compound (.png) at a given position…
Gleb
  • 53
  • 1
  • 6
0
votes
1 answer

How to extract names from the figure

I am working on a unix machine. and I have a list of names in .eps file format. I know I can easily grep show lines to extract my names but they're not in the same order as in the figure. is there a way to extract names from the figure while…
user26063
0
votes
0 answers

sphinx: Including .eps images via raw:: latex

I would like to add an eps image within sphinx, using the raw:: latex command. I imagine something like this: .. raw:: latex \includegraphics[width = 100mm, height = 100mm]{example.eps} Running the sphinx-build command works perfectly, but…
0
votes
0 answers

The vector coordinates of the exported PDF plot in Matlab are coarsely quantized

I have problems exporting to PDF and EPS from Matlab. EPS does not work at all, it only saves an empty picture. PDF works but the coordinates that specify the curves are coarsely quantized, resulting in a staircase looking curve, not a smooth…
MunHo
  • 81
  • 1
  • 1
  • 7
0
votes
0 answers

Matplotlib 1.3.1 with python 3.4 creates corrupt eps files

After upgrading ubuntu and python, matplotlib started creating corrupt files. I've tried installing it on another computer and it does the same. A simple code from examples: import matplotlib.pyplot as plt plt.plot(range(10),…
0
votes
1 answer

open eps files in GIMP2

I have installed GIMP 2.8.10 and Ghostscript 9.14 for Windows X64. I am using windows 8.1 with update 1. I have also set the environment variable for GS_PROG to gswin64c. But I still cannot open eps files using GIMP. So how to solve the…
daiyue
  • 7,196
  • 25
  • 82
  • 149
0
votes
1 answer

Reduce EPS file generated by Apache FOP

Fo far I have generated EPS files using the inkscape and these files were compact 2-3Kb [1] For several important reasons now files are generated by Apache FOP. Adobe Illustrator shows the old and new versions of the same files in the same way and…
pvolyntsev
  • 141
  • 8
0
votes
2 answers

open in postscript file fails

Executing the following code %!PS-Adobe-2.0 % /bdf { bind def } bind def /ldf { load def } bdf % /cm { 28.3464566929134 mul } bdf /icm { 28.3464566929134 div } bdf % /Helvetica findfont 20 scalefont setfont % /filespec…