Changeset 63

Show
Ignore:
Timestamp:
03/31/09 06:24:00 (3 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/ChangeLog

    r60 r63  
    112009-03-28  6.5.1-0 Cristy  <quetzlzacatenango@image...> 
    22  * Graceful exit in djvu coder when EOF is thrown. 
     3  * Support -unsharp option for the montage program. 
    34 
    452009-03-28  6.5.0-10 Cristy  <quetzlzacatenango@image...> 
  • ImageMagick/trunk/coders/djvu.c

    r60 r63  
    792792 
    793793  images=NewImageList(); 
    794   for (i=0; i < (long) lc->pages; i++) 
     794  i=0; 
     795  if (image_info->number_scenes != 0) 
     796    i=image_info->scene; 
     797  for ( ; i < (long) lc->pages; i++) 
    795798  { 
    796799    image=ReadOneDJVUImage(lc,i,image_info,exception); 
     
    798801      break; 
    799802    AppendImageToList(&images,CloneImageList(image,exception)); 
     803    if (image_info->number_scenes != 0) 
     804      if (image->scene >= (image_info->scene+image_info->number_scenes-1)) 
     805        break; 
    800806  } 
    801  
    802807  djvu_close_lc(lc); 
    803808  (void) CloseBlob(images); 
  • ImageMagick/trunk/utilities/montage.1.in

    r1 r63  
    100100  \-transparent color   make this color transparent within the image 
    101101  \-type type           image type 
     102  \-unsharp geometry    sharpen the image 
    102103 
    103104Image Sequence Operators: 
  • ImageMagick/trunk/wand/montage.c

    r1 r63  
    115115      "-transparent color   make this color transparent within the image", 
    116116      "-type type           image type", 
     117      "-unsharp geometry    sharpen the image", 
    117118      (char *) NULL 
    118119    }, 
     
    15571558            break; 
    15581559          } 
     1560        if (LocaleCompare("unsharp",option+1) == 0) 
     1561          { 
     1562            if (*option == '+') 
     1563              break; 
     1564            i++; 
     1565            if (i == (long) (argc-1)) 
     1566              ThrowMontageException(OptionError,"MissingArgument",option); 
     1567            if (IsGeometry(argv[i]) == MagickFalse) 
     1568              ThrowMontageInvalidArgumentException(option,argv[i]); 
     1569            break; 
     1570          } 
    15591571        ThrowMontageException(OptionError,"UnrecognizedOption",option) 
    15601572      }