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.

466 questions
9
votes
7 answers

What does EPS mean in C?

I have the following code snippet: if (ABS(p43.x) < EPS && ABS(p43.y) < EPS && ABS(p43.z) < EPS) return(FALSE); Which I'm trying to convert to C#. What does "EPS" mean? This code is from…
John
  • 5,142
  • 6
  • 32
  • 49
8
votes
1 answer

How to covert svg to eps in ghostscript

Can you please help me with a command to convert svg file to eps in ghostscript? I tried to open the svg file in Gimp but it is very big so it looks like gimp cannot open it or it take too long. I have two files which I want to convert. Note: I have…
John Boe
  • 3,016
  • 10
  • 32
  • 56
8
votes
4 answers

Creating Vector Graphics with PHP

Im trying to create vector graphics in PHP. Ive tried Cairo and I havn't been able to get it to work. I understand that imageMagick has vector functionality but the documentation on php.net is very poor can some one lead me in the right direction?…
jef2904
  • 395
  • 2
  • 7
  • 15
8
votes
6 answers

Inkscape screws up EPS files

I have been trying to use Inkscape to prepare artwork graphics for my scientific papers. I use LaTeX, and I need my figures to be prepared as high-quality Encapsulated PostScript (EPS) images. The work order is as follows. First, I plot parts of my…
Benkevitch
  • 385
  • 1
  • 4
  • 12
8
votes
1 answer

heatmap in matplotlib with vector format

I'm trying to use matplotlib to plot 3D heatmap with results of my simulations. I've read this topic and tried to use imshow. Unfortunately, when I save the figure in SVG or EPS formats, it converts heatmat to picture (which isn't acceptable for…
rth
  • 2,371
  • 1
  • 17
  • 24
8
votes
2 answers

How to better rasterize a plot without blurring the labels in matplotlib?

I usually use ax.set_rasterized(True) to rasterize the figure so that it could handle transparency when saved as in eps format, but the rasterization also blurs the axis labels and ticklabels, so is there a way to rasterize only patches within the…
nye17
  • 11,197
  • 10
  • 50
  • 62
7
votes
1 answer

How to embed fonts into an EPS file --and what is the exact definition of "embed"?

My company has created GraphPad Prism, a widely used program for scientists to analyze data and make technical graphs. Often scientists will export graphs from GraphPad Prism for submission to scientific journals. The format most journals want these…
7
votes
2 answers

White grid saving MATLAB plot as EPS or PDF

Whenever I save a pcolor or quiver plot as an EPS or PDF, I get this faint white grid that seems to be some sort of rendering problem. The first images shows the problem, the second one is how it looks in the figure window. I'm simply using the…
Rob
  • 305
  • 1
  • 4
  • 8
7
votes
1 answer

How to maintain color settings when converting EPS to JPEG with ImageMagick

I need to convert thousands of EPS files to JPEG, using ImageMagick. The conversion is almost working - what is different is the colors are more saturated in the converted JPEG than in the original EPS when viewed in a browser. However when I view…
Slinky
  • 5,352
  • 13
  • 68
  • 125
7
votes
3 answers

MATLAB - write image into an eps file

In MATLAB, how do you write a matrix into an image of EPS format? It seems imwrite does not support EPS. Convert is not working on the Linux server I am using: $ convert exploss_stumps.jpg exploss_stumps.eps convert: missing an image filename…
Tim
  • 1
  • 122
  • 314
  • 481
7
votes
2 answers

Aliasing when saving matplotlib filled contour plot to .pdf or .eps

I'm generating a filed contour plot with the matplotlib.pyplot.contourf() function. The arguments in the call to the function are: contourf(xvec,xvec,w,levels,cmap=matplotlib.cm.jet) where xvec = numpy.linspace(-3.,3.,50) levels =…
arne
  • 587
  • 1
  • 5
  • 12
7
votes
3 answers

How to load EPS files and draw them using WinForms

Is it possible to load and display EPS file using plain WinForms GDI+? If not, is there a free library to help out? I seem to remember that Windows GDI supported EPS files, but after Googling around a bit, I am starting to doubt that memory. All I…
Frank Krueger
  • 64,851
  • 44
  • 155
  • 203
7
votes
2 answers

How to export umlaut (or any foreign character) in Matlab eps format?

I'm trying to use an umlaut within a legend command in MATLAB. A quick Google tells me the form I want is char(146), and that works fine for displaying the file, or printing it to tif. But when I print to EPS format (or epsc, eps2, epsc2) then a…
user1588695
  • 71
  • 1
  • 3
6
votes
1 answer

Adding metadata in EPS file using java

I'm currently reading and writing .EPS file to manipulate/add metadata (Keywords and Tags) in the file. PS: File encoding is Windows-1251 or Cp1251 -Russian- I'm reading EPS file like this: (String lines; is a global variable) try (BufferedReader…
5377037
  • 9,493
  • 12
  • 43
  • 73
6
votes
3 answers

Is it possible to create .eps files with ggsave using the Cairo graphics device?

Edit: This page provides the code: https://www.andrewheiss.com/blog/2017/09/27/working-with-r-cairo-graphics-custom-fonts-and-ggplot/ ggsave("test_cario.eps", device=cairo_ps) ggsave("test_cario.pdf", device=cairo_pdf) However, I am wondering…
00schneider
  • 435
  • 3
  • 13
1
2
3
31 32