0

I have a GdkPixbuf object representing an image, I display this image in my program.

Currently the user can save this image and open gimp to load it. Is it possible to open gimp directly from the c program and pass the GdkPixbuf object to gimp?

asalamon74
  • 6,120
  • 9
  • 46
  • 60

1 Answers1

0

I think the code should be linked between two programs to transfer an object! Maybe you have to write a Gimp plugin or #include <gimp.h>

But using a virtual in-memory file (like FIFO) is probably easier, if you are on Linux (or another Unix).
See:

man mkfifo

and

man 7 fifo
saeedgnu
  • 4,110
  • 2
  • 31
  • 48