
#define  RGB      0
#define  GRAY     1
#define  INDEXED  2

#define  RGB_IMAGE       0
#define  RGBA_IMAGE      1
#define  GRAY_IMAGE      2
#define  GRAYA_IMAGE     3
#define  INDEXED_IMAGE   4
#define  INDEXEDA_IMAGE  5

#define  NORMAL_MODE        0
#define  DISSOLVE_MODE      1
#define  MULTIPLY_MODE      3
#define  SCREEN_MODE        4
#define  OVERLAY_MODE       5
#define  DIFFERENCE_MODE    6
#define  ADDITION_MODE      7
#define  SUBTRACT_MODE      8
#define  DARKEN_ONLY_MODE   9
#define  LIGHTEN_ONLY_MODE  10
#define  HUE_MODE           11
#define  SATURATION_MODE    12
#define  COLOR_MODE         13
#define  VALUE_MODE         14

#define  BG_IMAGE_FILL 0 
#define  WHITE_IMAGE_FILL 1
#define  TRANS_IMAGE_FILL 2

#define  PARAM_INT32 0 
#define  PARAM_INT16 1
#define  PARAM_INT8 2
#define  PARAM_FLOAT 3
#define  PARAM_STRING 4
#define  PARAM_INT32ARRAY 5
#define  PARAM_INT16ARRAY 6
#define  PARAM_INT8ARRAY 7
#define  PARAM_FLOATARRAY 8
#define  PARAM_STRINGARRAY 9
#define  PARAM_COLOR 10
#define  PARAM_REGION 11
#define  PARAM_DISPLAY 12
#define  PARAM_IMAGE 13
#define  PARAM_LAYER 14
#define  PARAM_CHANNEL 15
#define  PARAM_DRAWABLE 16
#define  PARAM_SELECTION 17
#define  PARAM_BOUNDARY 18
#define  PARAM_PATH 19
#define  PARAM_STATUS 20
#define  PARAM_END 21

#define  PROC_PLUG_IN  1
#define  PROC_EXTENSION  2
#define  PROC_TEMPORARY  3

#define  RUN_INTERACTIVE     0x0
#define  RUN_NONINTERACTIVE  0x1
#define  RUN_WITH_LAST_VALS  0x2

#define  STATUS_EXECUTION_ERROR 0
#define  STATUS_CALLING_ERROR 1
#define  STATUS_PASS_THROUGH 2
#define  STATUS_SUCCESS 3
