Ignore:
Timestamp:
Aug 21, 2008, 12:00:23 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • color.c: implement pipi_threshold().
File:
1 edited

Legend:

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

    r2746 r2747  
    113113                return EXIT_FAILURE;
    114114        }
     115        else if(!strcmp(argv[0], "--threshold"))
     116        {
     117            if(argv[1] == NULL)
     118                return EXIT_FAILURE;
     119            if(pipi_command(ctx, "threshold", argv[1]) != 0)
     120                return EXIT_FAILURE;
     121            argv++;
     122        }
    115123        else if(!strcmp(argv[0], "--dilate"))
    116124        {
Note: See TracChangeset for help on using the changeset viewer.