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
3
votes
1 answer

Creating a CMYK figure in EPS or TIFF in R

Good morning I am using R (with ggplot) A journal I am submitting to wants graphics files in either TIFF or EPS and using CMYK (not RGB). Searching around, I found that there is colormodel in PDF but not in 'TIFF. Typing ?eps found nothing, and…
Peter Flom
  • 2,008
  • 4
  • 22
  • 35
3
votes
2 answers

Resizing .eps and Saving as .jpg with Imagick in PHP

I am trying to resize and save an .eps file to a .jpeg with Imagick, I have tried resizeImage, scaleImage, setImageResolution, and I've tried writing to .png, but the result is always very bad. I've tried setting the compression quality to 100, and…
benedict_w
  • 3,543
  • 1
  • 32
  • 49
3
votes
2 answers

How to set the physical size of PDF pages with Ghostscript?

I want to convert a bunch of .eps images to a single PDF using Ghostscript. But when I look at the PDF file in a PDF viewer and set view to 100% to physical size of the file is huge! I would like to force gs to create the PDF in letter size, but…
Tickon
  • 1,058
  • 1
  • 16
  • 25
3
votes
1 answer

How to convert image to EPS file without leaving any margins with MATLAB?

I am converting images to EPS files with the following script. %% Image 2 eps file. % - img: the image. % - eps: eps filename. function Image2Eps(img, eps) imshow(img,'border','tight','InitialMagnification',100); …
Richard Dong
  • 704
  • 1
  • 7
  • 13
3
votes
3 answers

Third party library to convert image into pdf and eps format on the fly?

I have an upcoming .NET project that would require conversion from image (bitmap) into .pdf and .eps format. We would prefer to use third party library tool to do this rather than spending the time to reinvent the wheel. Here is the basic…
user155940
3
votes
1 answer

Dimension Preserving JPEG to EPS Conversion

I am looking for the best way to convert my JPEG files into EPS. I have to convert my image files to EPS to insert into my LaTeX files. Note that I am using dvipdfm to compile my LaTeX file into PDF and I am not using pdflatex. The problem is that…
reprogrammer
  • 14,298
  • 16
  • 57
  • 93
3
votes
2 answers

How to setup Xfig onto a Mac machine?

The user manual said that I need to Get the source of xfig (xfig.3.2.5-alpha3.full.tar.gz) and gunzip and untar the file: Either do: gunzip -c xfig.3.2.5-alpha3.full.tar.gz | tar xvf - or gunzip xfig.3.2.5-alpha3.full.tar.gz tar xvf…
datcn
  • 751
  • 5
  • 13
  • 20
3
votes
1 answer

Using ps2pdf on EPS files with PNG used for bitmaps?

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…
Will Robertson
  • 62,540
  • 32
  • 99
  • 117
3
votes
2 answers

Included LaTeX figures do not show in dvi but do in pdf

I am trying to get LaTeX to include figures, but the eps files will not show up in the DVI. I tried various packages to no avail. The figures will show up fine if I compile to PDF, but not in the DVI file... I am using MikTex and LEd under Windows.
Stavros Korokithakis
  • 4,680
  • 10
  • 35
  • 42
2
votes
1 answer

Write Special characters in a file

I am trying to write data in a .eps file, Here is my code header('Content-Type: text/html; charset=utf-8');' $var = 'ê'; echo $var; $file = 'test.eps'; file_put_contents($file, $var); But when i open test.eps, the data written is ê it should have…
Salman
  • 145
  • 2
  • 2
  • 9
2
votes
1 answer

Figure numbers generated by Sweave/R and why only (PDF)LaTeX

I am continuing my earlier post here: Beginner's questions (figures, bibliography) with Sweave/R/LaTeX---my first document The working code is reproduced here: \documentclass[a4paper]{article} \usepackage{Sweave} …
yCalleecharan
  • 4,656
  • 11
  • 56
  • 86
2
votes
1 answer

matplotlib drawing contour labels outside AxesSubplot in .eps file

I am making a plot using matplotlib.pyplot imported as PL: FIG = PL.figure(figsize=(12,8), dpi=150) AX = FIG.add_subplot(111, aspect='equal', xlim=(lonMin,lonMax), ylim=(latMin,latMax)) PL.contourf(lon, lat, swath,…
milancurcic
  • 6,202
  • 2
  • 34
  • 47
2
votes
1 answer

Gnuplot - EPS terminal producing extra characters

I have gnuplot file that is outputting quite nicely in EPS but I'm suffering some issues when it comes to the labels. For some reason, a random figure (') is being inserted before the each label. This isn't being produced in a PNG export. Example…
drezha
  • 123
  • 1
  • 9
2
votes
1 answer

How do I embed a page of postscript (but not Encapsulated Postscript) into another document

In a sense, I'm asking how psnup works. Say I have an existing document that follows the document structuring conventions. I can scan it, pull out the prolog, trailer, and individual pages. I want to then embed selected pages into the output of…
Edward Falk
  • 9,991
  • 11
  • 77
  • 112
2
votes
1 answer

Inkscape PDF to eps conversion with matplotlib generated font

I usually create figures using matplotlib. Here is a minimal working example: def cm2inch(*tupl): inch = 2.54 if isinstance(tupl[0], tuple): return tuple(i/inch for i in tupl[0]) else: return tuple(i/inch for i in…
Wolpertinger
  • 1,169
  • 2
  • 13
  • 30