You are here

eps/ps mit Gimp bearbeiten

7 posts / 0 new
Last post
tt-web
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-28 05:32
eps/ps mit Gimp bearbeiten

Hallo,
ich möchte mit meinem gimpportable auch eps/ps dateien bearbeiten. Durch meine latexinstallation (auch portabel Wink ) habe ich ein Verzeichniss, in dem Ghostscript und Ghostview incl. Schriften und dem ganzen Kram vorhanden sind. Für meine Latexumgebung funktioniert auch alles hervorragend, aber wie bringe ich gimpportable bei, diese "installation" zu nutzen?
Im Ordner

Z:\Programme\GIMPPortable\App\gimp\lib\gimp\2.0\environ

habe ich die default.env Datei wie folgt angepasst:

GS_PROG=z:\Programme\latexbackend\gs\gs8.61\bin\gswin32c.exe
GS_LIB=z:\Programme\latexbackend\gs\gs8.61\lib;
z:\Programme\latexbackend\gs\fonts;
z:\Programme\latexbackend\gs\gs8.61\Resource

Seitdem kann ich eps-dateien abspeichern, aber nicht wieder laden/öffnen.... Was mache ich hier bloß falsch?

Vielen Dank und liebe Grüße
Thomas

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Welcome

here Smile

Benutzt du GIMP auf nem USB stick oder auf der Festplatte?
Wenn dus von nem Usb Stick benutzt müsstest du die Pfadangaben relativ machen.
Klappt das genze bei einer installierten Version?
Guck mal hier nach.
Mehr kann ich dir leider auch nicht helfen Sad

Da 99% hier englisch reden übersetze ich deinen post mal:

This is a translation of the original post:

Hi

I'd like to work on eps/ps files with my GIMPPortable. I have a (portable ;))
installation of latex with Ghostscript and Ghostview incl. fonts in a folder. 
Latex works well but how do I tell GIMP to use it?

I adapted the default.env file in
Z:\Programme\GIMPPortable\App\gimp\lib\gimp\2.0\environ

as follows:

GS_PROG=z:\Programme\latexbackend\gs\gs8.61\bin\gswin32c.exe
GS_LIB=z:\Programme\latexbackend\gs\gs8.61\lib;
z:\Programme\latexbackend\gs\fonts;
z:\Programme\latexbackend\gs\gs8.61\Resource

Now I can save eps files but I cant open them. What am I doing wrong?

Many thanks
Thomas

Maybe this helps.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

tt-web
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-28 05:32
Hi! Thank you for

Hi!
Thank you for translating my text, that was my mistake. So the problem is that it works if i have GhostScript and friens installed on my local harddrive. As i am not allowed to install software on my universities computers i have to get the whole thing portable.
I have a *working* solution for my miktex installation. With my (ok, not actually mine, i have copied the most) scripts i can run texmaker and miktex without problems, both find my ghostscript *installation*.
Gimp is harder. Gimp does not seem to accept my script:

cd texmf\
set path=%PATH%;%~dp0texmf\texmf\miktex\bin
start GIMPPortable.exe

the gimpportable.exe is in texmf, together with texmaker. If i run this script for texmaker, texmaker works. If i try exactly the same thing for the gimp it doesn't work. As another solution I tried to set the environment variables at:

App\gimp\lib\gimp\2.0\environ

in the file "default.env" with this piece of code:

GS_PROG=Z:\programme\latexbackend\texmf\gs\gs8.61\bin
GS_LIB=Z:\programme\latexbackend\texmf\gs\gs8.61\lib

This should work because i put the external drive always at drive Z. But as i thought, that didn't work either, so i had another try and set

GS_PROG=%~dp0texmf\texmf\gs\gs8.61\bin

I have to say that i am not really fit with handling those variables, but actually i can't find any mistake. Especially it looks very odd to me, that the schema i used works for miktex and texmaker but not for theGIMP. Please help me!

Thomas

tt-web
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-28 05:32
Hi there... i made a

Hi there...

i made a mistake, corrected it, but it still doesn't work properly. I now have changed the settings in default.env to:

GS_PROG=Z:\programme\latexbackend\texmf\gs\gs8.61\bin\gswin32c.exe

now i see a consolewindow for milliseconds which closes very fast, so i changed it to gswin32.exe that i can see some error-output. It now sais: "Can't find initialization file gs_init.gs".

So i guess now the path to Ghostscript is ok for the gimp, but this seems not to be the "whole truth". Perhaps i have to give it some more pathes, e.g. for ghostview?

Thank you
Thomas

tt-web
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-28 05:32
HEUREKA!!! It now works

HEUREKA!!!
It now works perfectly! It was no other variable to be set, but just a syntax mistake:

The line:

GS_LIB=Z:\programme\latexbackend\texmf\gs\gs8.61\lib\

is ok, BUT one has to add an empty line afterwards (just press two times "Enter" after the "...\lib\" that it works. Otherwise theGimp can't recognize that the "command" is over and stops. Next try for me is to set those variables dynamic, but that is not the problem now that it works.
Thomas

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
glad

you figured it out yourself.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

TigerDE2
Offline
Last seen: 16 years 2 months ago
Joined: 2008-02-08 13:17
What needs to be installed to get this work?

Hi Thomas,

Could you do a n00b a favor and just repeat what programs are needed to get the import functionality working, please? And maybe you could post all needed lines from the default.env together, too?

That would be awesome. Smile

Regards,

Christian

Log in or register to post comments