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
5
votes
4 answers

Error using Arial in .eps figure with extrafont package

I'm using ggplot2 in R to generate figures for a publication in which all figures need to be .eps format and all fonts needs to be Arial. I've been following this guide to doing this using the extrafont package. As I understand it, the line…
seaotternerd
  • 6,298
  • 2
  • 47
  • 58
5
votes
3 answers

eps image (from inkscape) not showing up in tcpdf

Using php and TCPDF to generate a pdf file. Everything works great except when I try to write an EPS image to the pdf using ImageEPS(). Nothing shows up. No errors (it can definitely find the file). It just shows up as white space. Raster…
Joshua
  • 61
  • 2
  • 4
5
votes
2 answers

Extract image data from EPS

I have an encapsulated PostScript file which appears to only wrap an image file. Is there a tool to extract the image data from it?
Nico Schlömer
  • 53,797
  • 27
  • 201
  • 249
5
votes
2 answers

How can I create EPS files in C#?

How can I create EPS files in C#? Are there any opensource libraries available or do I have to resort to the spec and do it by hand?
yoyoyoyosef
  • 7,000
  • 8
  • 40
  • 39
5
votes
1 answer

Converting EPS to Xaml

I have bunch of EPS vector files that I want to convert to Xaml (WPF version, not Silverlight). What's the best tool for the job (Preferably a free one)?
Hadi Eskandari
  • 25,575
  • 8
  • 51
  • 65
5
votes
3 answers

When saving turtle graphics to an .eps file, the background color shows on the screen but is not saved in the .eps file

I am new to Python and have been working with the turtle module as a way of learning the language. Thanks to stackoverflow, I researched and learned how to copy the image into an encapsulated postscript file and it works great. There is one…
Returning to Coding
  • 365
  • 1
  • 4
  • 14
5
votes
1 answer

Creating figures for publication - artefacts in export

Now I am already trying for hours to get a satisfying vectorized output from a 3D matlab plot. I illustrated the artefacts of the resulting pdf exports in the following image (created with export_fig -> -r2000). I know that this problem is somehow…
MrMuh
  • 319
  • 1
  • 4
  • 13
5
votes
3 answers

Insert EPS image into PostScript document

For inserting an external EPS file into a PostScript document, it is instructed to open the EPS file with text editor and copy/paste the text-based data within the PostScript file. I wonder if there is a standard approach to include the external EPS…
Googlebot
  • 15,159
  • 44
  • 133
  • 229
5
votes
6 answers

Reduce size of plots in EPS format

I have a histogram with several hundred items, for which I do a Q-Q plot. This results in EPS that is 2.5 megabytes large. This is too much for a figure that is only going to be included in a publication and is not going to be viewed at 100x…
Laurynas Biveinis
  • 10,547
  • 4
  • 53
  • 66
4
votes
2 answers

Converting layered SVG vector graphic into layered EPS vector graphic

Is it possible to convert a layered vector .SVG file into a layered .EPS file? I'm trying to programmatically compile a series of .SVG's into one large .SVG, then import it into Photoshop so that can be easily opened by Adobe Illustrator. Could…
Walker
  • 128,495
  • 27
  • 68
  • 94
4
votes
1 answer

RMagick: Convert CMYK EPS to RGB PNG maintaining transparent background

I've spent a long time trying to go from a CMYK EPS to a RGB PNG using RMagick and Rails. Hopefully this will be of use to someone: def convert_image_from_cmyk_to_rgb( image ) #puts image.alpha? if image.colorspace == Magick::CMYKColorspace …
4
votes
1 answer

Prevent matlab from writing CreationDate to an eps file

I'm using matlab to write figures as eps files for use in LaTeX, using: print( '-depsc', 'filename.eps'); and I'm keeping those eps files in version control. As I'm generating a lot of figures at once, but only changing one or two of them, often…
Alex
  • 5,863
  • 2
  • 29
  • 46
4
votes
0 answers

How to extract the metadata from a EPS or a GIF image using python

I'm trying to extract some MathML metadata from EPS or GIFs formats (which are the only two formats I can export equations). I only know the basics of Python so I was searching for a library which would probably have a method that gives me the…
4
votes
3 answers

Opacity in EPS figures

When saving graphics in Mathematica, is it possible to save figures with opacity in EPS format? For example, Plot[Evaluate[Table[BesselJ[n, x], {n, 4}]], {x, 0, 10}, Filling -> Axis] gives the following figure which saves neatly in any format…
user564376
4
votes
0 answers

Does EPS have a DPI?

Some of what I've read about EPS (Encapsulated PostScript) sounds like it assumes 72 dpi. But other parts say because it's vectors that there is no dpi and I can use any units when creating the file as the eps file is then positioned and sized when…
David Thielen
  • 28,723
  • 34
  • 119
  • 193