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

Is possible load a image file in a standalone app?

This discussion is connected to the gimp-developer-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.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Is possible load a image file in a standalone app? qrtt1 06 Aug 04:48
  Is possible load a image file in a standalone app? Martin Nordholts 06 Aug 08:19
qrtt1
2009-08-06 04:48:35 UTC (over 15 years ago)

Is possible load a image file in a standalone app?

Hello,

I try to load a file:

const gchar* filename = "/home/qrtt1/Desktop/Images/IMGP5585.JPG"; gint32 imageId = gimp_file_load(GIMP_RUN_NONINTERACTIVE, filename, filename);

but:

qrtt1@debian:~/Desktop/galileo/workspace/gimp-plugin-test$ ./a.out

LibGimpBase-ERROR **: gimp_wire_write_msg: the wire protocol has not been initialized
aborting...

I want to load the file and get drawable instance. Just trying call filter-plugin possiblity in standalone app. Anyone can tell me more information :)

thanks a lot.

Martin Nordholts
2009-08-06 08:19:36 UTC (over 15 years ago)

Is possible load a image file in a standalone app?

On 08/06/2009 04:48 AM, qrtt1 wrote:

Hello,

I try to load a file:

const gchar* filename = "/home/qrtt1/Desktop/Images/IMGP5585.JPG"; gint32 imageId = gimp_file_load(GIMP_RUN_NONINTERACTIVE, filename, filename);

but:

qrtt1@debian:~/Desktop/galileo/workspace/gimp-plugin-test$ ./a.out

LibGimpBase-ERROR **: gimp_wire_write_msg: the wire protocol has not been initialized
aborting...

I want to load the file and get drawable instance. Just trying call filter-plugin possiblity in standalone app. Anyone can tell me more information :)

libgimp relies on a running GIMP core. Without a GIMP core running, libgimp is useless. libgimp is not a generic graphics library.

If you want a generics graphic library, look into GEGL, www.gegl.org.

/ Martin