Ignore:
Timestamp:
Aug 14, 2008, 8:35:01 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Add pipi_invert() to invert an image's colours.
File:
1 edited

Legend:

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

    r2717 r2718  
    7676                return EXIT_FAILURE;
    7777        }
     78        else if(!strcmp(argv[0], "--invert"))
     79        {
     80            if(pipi_command(ctx, "invert") != 0)
     81                return EXIT_FAILURE;
     82        }
    7883        else if(!strcmp(argv[0], "--wrap"))
    7984        {
Note: See TracChangeset for help on using the changeset viewer.