Changeset 11591 for ImageMagick/trunk
- Timestamp:
- 07/07/08 17:35:19 (2 months ago)
- Location:
- ImageMagick/trunk
- Files:
-
- 2 modified
-
coders/caption.c (modified) (1 diff)
-
magick/image.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/coders/caption.c
r11590 r11591 244 244 entry->decoder=(DecodeImageHandler *) ReadCAPTIONImage; 245 245 entry->adjoin=MagickFalse; 246 entry->format_type= ExplicitFormatType;246 entry->format_type=ImplicitFormatType; 247 247 entry->description=ConstantString("Image caption"); 248 248 entry->module=ConstantString("CAPTION"); -
ImageMagick/trunk/magick/image.c
r11590 r11591 3108 3108 % SetImageAlphaChannel() activates, deactivates, resets, or sets the alpha 3109 3109 % channel. 3110 % 3110 % 3111 3111 % The format of the SetImageAlphaChannel method is: 3112 3112 % … … 3571 3571 LocaleUpper(magic); 3572 3572 /* 3573 Look for format_typeimage formats.3573 Look for explicit image formats. 3574 3574 */ 3575 format_type= ImplicitFormatType;3575 format_type=UndefinedFormatType; 3576 3576 if ((LocaleNCompare(image_info->magick,"SGI",3) == 0) && 3577 3577 (LocaleCompare(magic,"RGB") == 0)) … … 3589 3589 if ((magick_info != (const MagickInfo *) NULL) && 3590 3590 (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) 3593 3593 (void) CopyMagickString(image_info->magick,magic,MaxTextExtent); 3594 3594 else … … 3608 3608 User specified image format. 3609 3609 */ 3610 if (LocaleCompare(magic,"GRADATION") == 0)3611 (void) CopyMagickString(magic,"GRADIENT",MaxTextExtent);3612 3610 LocaleUpper(magic); 3613 3611 if (IsMagickConflict(magic) == MagickFalse)
