Changeset 11618 for ImageMagick/trunk

Show
Ignore:
Timestamp:
07/13/08 07:06:11 (5 weeks ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/wand/display.c

    r11548 r11618  
    141141      "-sharpen geometry    sharpen the image", 
    142142      "-strip               strip image of all profiles and comments", 
     143      "-threshold value     threshold the image", 
    143144      "-trim                trim image edges", 
    144145      (char *) NULL 
     
    16461647            break; 
    16471648          } 
     1649        if (LocaleCompare("threshold",option+1) == 0) 
     1650          { 
     1651            if (*option == '+') 
     1652              break; 
     1653            i++; 
     1654            if (i == (long) argc) 
     1655              ThrowDisplayException(OptionError,"MissingArgument",option); 
     1656            if (IsGeometry(argv[i]) == MagickFalse) 
     1657              ThrowDisplayInvalidArgumentException(option,argv[i]); 
     1658            break; 
     1659          } 
    16481660        if (LocaleCompare("thumbnail",option+1) == 0) 
    16491661          {