Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
画像を表すGdkPixbufオブジェクトがあり、この画像をプログラムに表示します。
現在、ユーザーはこの画像を保存し、gimpを開いて読み込むことができます。cプログラムから直接gimpを開き、GdkPixbufオブジェクトをgimpに渡すことは可能ですか?
オブジェクトを転送するには、2 つのプログラム間でコードをリンクする必要があると思います。おそらく、Gimp プラグインを作成する必要があるか、#include <gimp.h>
#include <gimp.h>
ただし、Linux (または別の Unix) を使用している場合は、仮想メモリ内ファイル (FIFO など) を使用する方がおそらく簡単です。 見る:
man mkfifo
と
man 7 fifo