+2011-02-14 6.6.7-8 Cristy <quetzlzacatenango@image...>
+ * Use implicit image format when explicit format is bogus (e.g.
+ 02.13.11-18:43:58.png now writes as PNG).
+
2011-02-13 6.6.7-7 Anthony Thyssen <A.Thyssen@griffith...>
* Fixed Variable blur to handle small (< 1.0 sigma) blurs generated
by the blur map being used, rather than just 'cutoff' suddenly.
* Nicolas Robidoux with the assistance of Chantal Racette contribute an
approximation of the sinc function over the interval [-3,3].
* Eliminate a small memory leak in LevelizeImageChannel() (reference
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16951).
+ http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16951).
* Recognize -fx logtwo (reference
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16958).
}
(void) SyncImageProfiles(image);
option=GetImageOption(image_info,"delegate:bimodal");
- if ((option != (const char *) NULL) &&
+ if ((option != (const char *) NULL) &&
(IsMagickTrue(option) != MagickFalse) &&
(write_info->page == (char *) NULL) &&
(GetPreviousImageInList(image) == (Image *) NULL) &&
if ((magick_info == (const MagickInfo *) NULL) ||
(GetImageEncoder(magick_info) == (EncodeImageHandler *) NULL))
{
- magick_info=GetMagickInfo(image->magick,&image->exception);
+ char
+ extension[MaxTextExtent];
+
+ GetPathComponent(image->filename,ExtensionPath,extension);
+ if (*extension != '\0')
+ magick_info=GetMagickInfo(extension,&image->exception);
+ else
+ magick_info=GetMagickInfo(image->magick,&image->exception);
(void) CopyMagickString(image->filename,filename,MaxTextExtent);
}
if ((magick_info == (const MagickInfo *) NULL) ||