Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ghostscript integration
#1
Hi, I'm trying to integrate Ghostscript with GIMP in order to open .eps files. I'm not a coder and very much a beginner. I recently upgraded to Mac OS Sequoia 15.3. I installed GIMP 2.10.38. I'm pretty sure I successfully installed ghostscript using Homebrew. However, when I try to open an eps file. I get the following errors. Opening '/true' failed: Error opening file /true: No such file or directory.

Also I get: Opening 'file...' failed: could not interpret PostScript file '/file'.

It's my understanding that ghostscript should be able to allow gimp to open the file. Would someone know what's the missing step to integrate ghostscript with gimp?
Reply
#2
In the installation tree, you should find a n executable in lib/gimp/2.0/plug-ins/file-ps/file-ps (could have an extension if OSX requires it).

If you use ldd lib/gimp/2.0/plug-ins/file-ps/file-ps it will list everything that the plug-in requires to run (and where it finds it).

Now, if you are missing a library you get a more ominous message: Plug-in crashed: "file-ps"
(/path/to/your/lib/gimp/2.0/plug-ins/file-ps/file-ps)
as I just experienced (installed GS version incompatible with the one my Gimp was compiled for).

Given your error message the GS code runs but doesn't understand the file contents, so IMHO your problem is not with your GS installation but with the EPS file. Can you attach it here? Did you try to open other files?
Reply
#3
It could be the eps file. I do have a few that open with Gimp 2.10.38 in linux kubuntu 24.04 as this example.

   

As well as Ofnuts suggestions what shows running ghostscript in a terminal?
Reply
#4
(6 hours ago)Ofnuts Wrote: In the installation tree, you should find a n executable in  lib/gimp/2.0/plug-ins/file-ps/file-ps (could have an extension if OSX requires it).

If you use ldd lib/gimp/2.0/plug-ins/file-ps/file-ps it will list everything that the plug-in requires to run (and where it finds it).

Now, if you are missing a library you get a more ominous message: Plug-in crashed: "file-ps"
(/path/to/your/lib/gimp/2.0/plug-ins/file-ps/file-ps)
as I just experienced (installed GS version incompatible with the one my Gimp was compiled for).

Given your error message the GS code runs but doesn't understand the file contents,  so IMHO your problem is not with your GS installation but with the EPS file. Can you attach it here? Did you try to open other files?


I found the executable file, but since I don't have linux i'm not sure what the terminal command would be for what the plug in requires to run. I tried two files, neither opened. The eps file is too large to open but it's a stock image from iStock.

(6 hours ago)rich2005 Wrote: It could be the eps file. I do have a few that open with Gimp 2.10.38 in linux kubuntu 24.04 as this example.



As well as Ofnuts suggestions what shows running ghostscript in a terminal?

I get this message in terminal:

~ % gs
GPL Ghostscript 10.04.0 (2024-09-18)
Copyright © 2024 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Reply


Forum Jump: