Changeset 11591 for ImageMagick/trunk

Show
Ignore:
Timestamp:
07/07/08 17:35:19 (2 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/coders/caption.c

    r11590 r11591  
    244244  entry->decoder=(DecodeImageHandler *) ReadCAPTIONImage; 
    245245  entry->adjoin=MagickFalse; 
    246   entry->format_type=ExplicitFormatType; 
     246  entry->format_type=ImplicitFormatType; 
    247247  entry->description=ConstantString("Image caption"); 
    248248  entry->module=ConstantString("CAPTION"); 
  • ImageMagick/trunk/magick/image.c

    r11590 r11591  
    31083108%  SetImageAlphaChannel() activates, deactivates, resets, or sets the alpha 
    31093109%  channel. 
    3110 %   
     3110% 
    31113111%  The format of the SetImageAlphaChannel method is: 
    31123112% 
     
    35713571      LocaleUpper(magic); 
    35723572      /* 
    3573         Look for format_type image formats. 
     3573        Look for explicit image formats. 
    35743574      */ 
    3575       format_type=ImplicitFormatType; 
     3575      format_type=UndefinedFormatType; 
    35763576      if ((LocaleNCompare(image_info->magick,"SGI",3) == 0) && 
    35773577          (LocaleCompare(magic,"RGB") == 0)) 
     
    35893589      if ((magick_info != (const MagickInfo *) NULL) && 
    35903590          (magick_info->format_type != UndefinedFormatType)) 
    3591         format_type=magick_info->format_type; 
    3592       if (format_type == ImplicitFormatType) 
     3591        format_type=format_type; 
     3592      if (format_type == UndefinedFormatType) 
    35933593        (void) CopyMagickString(image_info->magick,magic,MaxTextExtent); 
    35943594      else 
     
    36083608        User specified image format. 
    36093609      */ 
    3610       if (LocaleCompare(magic,"GRADATION") == 0) 
    3611         (void) CopyMagickString(magic,"GRADIENT",MaxTextExtent); 
    36123610      LocaleUpper(magic); 
    36133611      if (IsMagickConflict(magic) == MagickFalse)