RSS/Atom feed Twitter
Site is read-only, email is disabled

Is it possible to access the capabilities of gimp in Java?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2012-05-31 00:33:29 UTC (almost 12 years ago)
postings
20

Is it possible to access the capabilities of gimp in Java?

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

Stephen

Ofnuts
2012-05-31 01:06:14 UTC (almost 12 years ago)

Is it possible to access the capabilities of gimp in Java?

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

2012-05-31 01:14:07 UTC (almost 12 years ago)
postings
20

Is it possible to access the capabilities of gimp in Java?

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

What is the name of the dlls that offer those interfaces. Can you point me to a web page that describes them.

Thanks, Stephen

Ofnuts
2012-05-31 07:53:57 UTC (almost 12 years ago)

Is it possible to access the capabilities of gimp in Java?

On 05/31/2012 03:14 AM, stephen wrote:

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

What is the name of the dlls that offer those interfaces. Can you point me to a web page that describes them.

Thanks, Stephen

For C: http://www.gimp.org/docs/plug-in/plug-in.html

For Python: http://www.gimp.org/docs/python/index.html

I strongly suggest that you subscribve to the gimp-developer mailing list:

https://mail.gnome.org/mailman/listinfo/gimp-developer-list

gfxuser
2012-05-31 15:18:59 UTC (almost 12 years ago)

Is it possible to access the capabilities of gimp in Java?

Ofnuts wrote:

On 05/31/2012 03:14 AM, stephen wrote:

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

Hi,

I see the following possibilities: 1. There is a Java wrapper for GIMP, see http://jgimp.sourceforge.net/, but this project hasn't been active for a long time. 2. A still existing way is to use the Java Native Interface (JNI), which lets you call C/C++ functions from Java and vice versa. 3. GIMP has a built-in script-fu server which interpretes GIMPs plugin language, a Scheme dialect. You could connect to it over a socket from an arbitrary language and control GIMP remotely, although it's a bit oversized if you could call GIMPs functionality directly from within your program.
4. IMHO you should be able to access C from C++ by including the C header files, but I haven't tried this for GIMP yet. 5. If you're only interested in accessing GIMPs graphics core, then you could use a wrapper around the GEGL library. A Java language binding has yet to be developed.

Best regards,

grafxuser

Kevin Cozens
2012-05-31 15:47:25 UTC (almost 12 years ago)

Is it possible to access the capabilities of gimp in Java?

On 05/31/2012 02:33 AM, stephen wrote:

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

I haven't heard of one for Java. The main language bindings for GIMP are for Scheme, Python, Perl, and Ruby.

2012-05-31 18:32:09 UTC (almost 12 years ago)
postings
20

Is it possible to access the capabilities of gimp in Java?

On 05/31/2012 03:14 AM, stephen wrote:

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

What is the name of the dlls that offer those interfaces. Can you point me to a web page that describes them.

Thanks, Stephen

For C: http://www.gimp.org/docs/plug-in/plug-in.html

For Python: http://www.gimp.org/docs/python/index.html

I strongly suggest that you subscribve to the gimp-developer mailing list:

https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Thanks for the information.

I want to write a c++ or java program that would allow me to manipulate images the way gimp does. For example, my program could create a puzzle of an image without having the complete gimp program installed. Is that possible?

I noticed that the python web page you referenced above mentioned libgimp. Will that library supply the functionality I'm looking for?

2012-05-31 18:42:41 UTC (almost 12 years ago)
postings
20

Is it possible to access the capabilities of gimp in Java?

Ofnuts wrote:

On 05/31/2012 03:14 AM, stephen wrote:

On 05/31/2012 02:33 AM, stephen wrote:

Hello,

Does Gimp offer an interface (dll) which will allow me to access it capabilities through java or c++?

There is a C interface, and there is a Python interface which is quite powerful.

Hi,

I see the following possibilities: 1. There is a Java wrapper for GIMP, see http://jgimp.sourceforge.net/, but this project hasn't been active for a long time. 2. A still existing way is to use the Java Native Interface (JNI), which lets you call C/C++ functions from Java and vice versa. 3. GIMP has a built-in script-fu server which interpretes GIMPs plugin language, a Scheme dialect. You could connect to it over a socket from an arbitrary language and control GIMP remotely, although it's a bit oversized if you could call GIMPs functionality directly from within your program.
4. IMHO you should be able to access C from C++ by including the C header files, but I haven't tried this for GIMP yet. 5. If you're only interested in accessing GIMPs graphics core, then you could use a wrapper around the GEGL library. A Java language binding has yet to be developed.

Best regards,

grafxuser

Great! I look into those. Thanks.