ImageManipulations.c
gboolean image_resize(char * inImage, char * outImage, char * imageDim, GError *error)
{
	/* Setup argument strings. */
	char resize[8] = "-resize";
	
	/* Setup the arguments for the commands. */
	char * args[6];
	args[0] = cnvCmd;
	args[1] = inImage;
	args[2] = resize;
	args[3] = imageDim;
	args[4] = outImage;
	args[5] = '\0';

    return g_spawn_sync (NULL, args, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, NULL, &error);
}
/******************************************************************************
 *
 *  Function:       resizeImages
 *  Description:    This function will create a two smaller copies of the
 *					original photo.
 *  Inputs:         inImage - the image to resize
 *                  outImage - the resized image
 *                  imageDim - the image dimensions 
 *                  error - place to store error information
 *  Outputs:        TRUE on success, FALSE if error is set.
 *  Routines Called: g_spawn_sync
 *
 *****************************************************************************/
resizeImages
Description:    This function will create a two smaller copies of the
original photo.
Inputs:         inImage - the image to resize
outImage - the resized image
imageDim - the image dimensions
error - place to store error information
Outputs:        TRUE on success, FALSE if error is set.
resizeImages Description : This function will create a two smaller copies of the original photo . Inputs : inImage - the image to resize outImage - the resized image imageDim - the image dimensions error - place to store error information Outputs : TRUE on success FALSE if error is set .
gboolean image_resize(char * inImage, char * outImage, char * imageDim, GError *error)
{
	char resize[8] = "-resize";
	char * args[6];
	args[0] = cnvCmd;
	args[1] = inImage;
	args[2] = resize;
	args[3] = imageDim;
	args[4] = outImage;
	args[5] = '\0';
    return g_spawn_sync (NULL, args, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, NULL, &error);
}
gboolean image_resize ( char * inImage , char * outImage , char * imageDim , GError * error ) { char resize [ 8 ] = " " ; char * args [ 6 ] ; args [ 0 ] = cnvCmd ; args [ 1 ] = inImage ; args [ 2 ] = resize ; args [ 3 ] = imageDim ; args [ 4 ] = outImage ; args [ 5 ] = ' \0 ' ; return g_spawn_sync ( NULL , args , NULL , G_SPAWN_SEARCH_PATH , NULL , NULL , NULL , NULL , NULL , & error ) ; }
Function:       resizeImages
  Description:    This function will create a two smaller copies of the
                                      original photo.
Function : resizeImages Description : This function will create a two smaller copies of the original photo .
/* Setup argument strings. */ /* Setup the arguments for the commands. */