Cookie

TheJoe.it Into the (open) source

18Jun/115

Tips: Open an EPS file with Gimp on Windows XP

Caution!

This article was written in the 2011, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.
Thanks.

gimp

The version of Gimp for Windows is nothing more than a port of the most complete version for Linux. By itself Gimp on Windows has nothing to envy to the Linux version, it was not for some small additional packages that are enabled natively on Linux. One of these is Ghostscript.

The Wikipedia

Ghostscript is a collection of free programs based on an interpreter of page description languages PostScript and Portable Document Format, both of the Adobe.

Regarding the file EPS, always from the same source:

The Wikipedia

Encapsulated PostScript, the EPS, is a document PostScript DSC-comply with additional restrictions intended to make EPS files usable as a file format for images. In other words, EPS files are more or less self-contained PostScript documents and reasonably predictable that describe an image or drawing, that can be placed within another PostScript document.

In short, an EPS file is a vector graphics file, and as such also by increasing its size does not lose image quality.

The problem for Windows users occurs when attempting to open an EPS file with Gimp. To open it you need Ghostscript, Gimp but does not include, you need to install it separately from official website. Even after downloading and installing the file is not immediately recognized, but you must add an environment variable in Windows, so that the EPS file can first be converted by Ghostscript to paths and then switched to Gimp.

The variable that we will create is called "GS_PROG", and will have to call the executable of Ghostscript "gswin32c.exe".

After installing the Ghostscript executable is placed in this location: "C:\Programmi gs gs8.53 bin gswin32c.exe".

To add the environment variable we go on "Control Panel" - "System" - "Advanced" - "Environment Variables". The name to assign to the variable is "GS_PROG", the path is the one found earlier "C:\Programmi gs gs8.53 bin gswin32c.exe".

Let's OK to all the windows open so far, restart Gimp if we left it open, and try to import an EPS file. This should open a terminal window, and import should be successful in an instant.

About

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (5) Trackbacks (0)
  1. per windows 7 64 funzionato bit questo per me its a altro sito trovato :

    GIMP 2.8.2 and later no longer use the GS_PROG Variable to detect and load GhostScript. It uses a DLL instead.

    If you have a 64 bit operating system, 64 bit version of GIMP 2.8.2 or higher, and GhostScript 64 bit then try this:

    1) Back up the libgs-8.dll GIMP file in the bin folder.
    2) Copy the file from the GhostScript gsdll64.dll bin folder to the folder GIMP.
    3) Rename the copied file to libgs-gsdll64.dll 8.dll.
    4) Restart GIMP.

    Enjoy!

  2. It does not work, I installed:
    – Gimp 2.8.4
    – Ghostscript 9.07 for Windows (64 bit)
    – ho windows 7

    and set the variable GS_PROG with path:
    C:\Program Files\gs\gs9.07\bin\gswin64c.exe

    but still I can not open eps files in gimp. you know help me? thanks

    • Ciao Elena, and thanks for the comment.
      Unfortunately I can help. The tutorial (I apologize for not having written it clear in the title) is intended for users of Windows XP, I recognize that it is now an operating system rather dated, which will be decommissioned in a few months, but I do not have the ability to access other newer operating systems from Microsoft (and if I tell the truth, I care little).
      This was one of the few items that contemplates the use of closed source software as a requirement.

      I hope that this article from the site of Gimp you will help.

  3. excellent article!! :)


Leave a comment

No trackbacks yet.