ImageManipulations.c
gboolean create_oil_blob_image(char * inImage, char * outImage, GPid * id, GError *error)
{
	/* Setup argument strings. */
	char paint[7] = "-paint";
	char oilAmt[2] = "3";	

	/* Setup the arguments for the commands. */	
	char * args[6];
	args[0] = cnvCmd;
	args[1] = inImage;
	args[2] = paint;
	args[3] = oilAmt;
	args[4] = outImage;
	args[5] = '\0';

    /* Spawn a new process, to be run asynchronously. */
	return g_spawn_async ( NULL, args, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, id, &error);
}
/******************************************************************************
 *
 *  Function:       create_oil_blob_image
 *  Description:    This function will create an oil blob version of the provided
 *					image.
 *  Inputs:         inImage - the image to paint, 
 *                  outImage - the oil painted image
 *                  id - the ID of the spawned process
 *                  error - place to store error information
 *  Outputs:        TRUE on success, FALSE if error is set.
 *  Routines Called: g_spawn_async
 *
 *****************************************************************************/
create_oil_blob_image
Description:    This function will create an oil blob version of the provided
image.
Inputs:         inImage - the image to paint,
outImage - the oil painted image
id - the ID of the spawned process
error - place to store error information
Outputs:        TRUE on success, FALSE if error is set.
create_oil_blob_image Description : This function will create an oil blob version of the provided image . Inputs : inImage - the image to paint outImage - the oil painted image id - the ID of the spawned process error - place to store error information Outputs : TRUE on success FALSE if error is set .
gboolean create_oil_blob_image(char * inImage, char * outImage, GPid * id, GError *error)
{
	char paint[7] = "-paint";
	char oilAmt[2] = "3";	
	char * args[6];
	args[0] = cnvCmd;
	args[1] = inImage;
	args[2] = paint;
	args[3] = oilAmt;
	args[4] = outImage;
	args[5] = '\0';
	return g_spawn_async ( NULL, args, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, id, &error);
}
gboolean create_oil_blob_image ( char * inImage , char * outImage , GPid * id , GError * error ) { char paint [ 7 ] = " " ; char oilAmt [ 2 ] = " " ; char * args [ 6 ] ; args [ 0 ] = cnvCmd ; args [ 1 ] = inImage ; args [ 2 ] = paint ; args [ 3 ] = oilAmt ; args [ 4 ] = outImage ; args [ 5 ] = ' \0 ' ; return g_spawn_async ( NULL , args , NULL , G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH , NULL , NULL , id , & error ) ; }
Function:       create_oil_blob_image
  Description:    This function will create an oil blob version of the provided
                                      image.
Function : create_oil_blob_image Description : This function will create an oil blob version of the provided image .
/* Setup argument strings. */ /* Setup the arguments for the commands. */ /* Spawn a new process, to be run asynchronously. */