Ignore:
Timestamp:
Aug 21, 2008, 12:00:17 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Add pipi_dilate() / pipi_erode() and --dilate / --erode.
File:
1 edited

Legend:

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

    r2744 r2746  
    113113                return EXIT_FAILURE;
    114114        }
     115        else if(!strcmp(argv[0], "--dilate"))
     116        {
     117            if(pipi_command(ctx, "dilate") != 0)
     118                return EXIT_FAILURE;
     119        }
     120        else if(!strcmp(argv[0], "--erode"))
     121        {
     122            if(pipi_command(ctx, "erode") != 0)
     123                return EXIT_FAILURE;
     124        }
    115125        else if(!strcmp(argv[0], "--wrap"))
    116126        {
Note: See TracChangeset for help on using the changeset viewer.