exception);
if (file_data != (StringInfo *) NULL)
{
+ (void) SetImageInfo(profile_info,0,exception);
(void) ProfileImage(*image,profile_info->magick,
GetStringInfoDatum(file_data),
GetStringInfoLength(file_data),exception);
}
if (LocaleCompare("profile",option+1) == 0)
{
- /* Note: arguments do not have percent escapes expanded */
const char
*name;
ImageInfo
*profile_info;
+ /* Note: arguments do not have percent escapes expanded */
if (IfPlusOp)
{ /* Remove a profile from the _image. */
(void) ProfileImage(_image,arg1,(const unsigned char *)
profile=FileToStringInfo(profile_info->filename,~0UL,_exception);
if (profile != (StringInfo *) NULL)
{
+ (void) SetImageInfo(profile_info,0,_exception);
(void) ProfileImage(_image,profile_info->magick,
GetStringInfoDatum(profile),(size_t)
GetStringInfoLength(profile),_exception);