[Gimp-developer] Gimp standalone C apps
- From: Oleksiy Druzhynin <Oleksiy_Druzhynin epam com>
- To: "gimp-developer-list gnome org" <gimp-developer-list gnome org>
- Subject: [Gimp-developer] Gimp standalone C apps
- Date: Thu, 19 May 2016 19:31:46 +0000
Dear Gimp developers.
Is it possible to re-use Gimp-functionality in own C-code? I have already a image processing pipeline and
want to just apply to my image bitmap GIMP_TYPE_BRIGHTNESS_CONTRAST_CONFIG in ope of pipline's stages.
Is it possible to convert bitmap to drawable and put in into this code (as in ?gimp/app/pdb/color-cmds.c):
GObject *config = g_object_new (GIMP_TYPE_BRIGHTNESS_CONTRAST_CONFIG,
"brightness", brightness / 127.0,
"contrast", contrast / 127.0,
NULL);
gimp_drawable_apply_operation_by_name (drawable, progress,
C_("undo-type", "Brightness-Contrast"),
"gimp:brightness-contrast",
config);
Is it any examples of standalone apps, which are using Gimp functionality?
Regards,
Oleksii
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]