Ignore:
Timestamp:
Aug 12, 2008, 7:18:30 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • minmax.c: add pipi_min() and pipi_max() as another way to combine two images.
File:
1 edited

Legend:

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

    r2705 r2706  
    5757                return EXIT_FAILURE;
    5858        }
     59        else if(!strcmp(argv[0], "--min"))
     60        {
     61            if(pipi_command(ctx, "min") != 0)
     62                return EXIT_FAILURE;
     63        }
     64        else if(!strcmp(argv[0], "--max"))
     65        {
     66            if(pipi_command(ctx, "max") != 0)
     67                return EXIT_FAILURE;
     68        }
    5969        else if(!strcmp(argv[0], "--output") || !strcmp(argv[0], "-o"))
    6070        {
Note: See TracChangeset for help on using the changeset viewer.