|
|
@@ -168,9 +168,14 @@ int main(int argc, char *argv[]) |
|
|
|
if(pipi_command(ctx, "wrap") != 0) |
|
|
|
return EXIT_FAILURE; |
|
|
|
} |
|
|
|
else if(!strcmp(argv[0], "--rgb")) |
|
|
|
else if(!strcmp(argv[0], "--combine")) |
|
|
|
{ |
|
|
|
if(pipi_command(ctx, "rgb") != 0) |
|
|
|
if(pipi_command(ctx, "combine") != 0) |
|
|
|
return EXIT_FAILURE; |
|
|
|
} |
|
|
|
else if(!strcmp(argv[0], "--split")) |
|
|
|
{ |
|
|
|
if(pipi_command(ctx, "split") != 0) |
|
|
|
return EXIT_FAILURE; |
|
|
|
} |
|
|
|
else if(!strcmp(argv[0], "--mean")) |
|
|
|