Ignore:
Timestamp:
Aug 12, 2008, 12:02:13 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • pipi.c: implement the "--gray" flag for grayscale conversion.
File:
1 edited

Legend:

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

    r2694 r2702  
    3737            argv++;
    3838        }
     39        else if(!strcmp(argv[0], "--gray"))
     40        {
     41            if(pipi_command(ctx, "gray") != 0)
     42                return EXIT_FAILURE;
     43        }
    3944        else if(!strcmp(argv[0], "--output") || !strcmp(argv[0], "-o"))
    4045        {
Note: See TracChangeset for help on using the changeset viewer.