Ignore:
Timestamp:
Aug 13, 2008, 10:26:11 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • subadd.c: add pipi_sub() and pipi_add() as another way to combine two images.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/src/pipi.c

    r2706 r2708  
    6767                return EXIT_FAILURE;
    6868        }
     69        else if(!strcmp(argv[0], "--sub"))
     70        {
     71            if(pipi_command(ctx, "sub") != 0)
     72                return EXIT_FAILURE;
     73        }
     74        else if(!strcmp(argv[0], "--add"))
     75        {
     76            if(pipi_command(ctx, "add") != 0)
     77                return EXIT_FAILURE;
     78        }
    6979        else if(!strcmp(argv[0], "--output") || !strcmp(argv[0], "-o"))
    7080        {
Note: See TracChangeset for help on using the changeset viewer.