if (image_info->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",
image_info->filename);
-
- /* Specific global option settings */
+ /*
+ Specific global option settings.
+ */
if (LocaleCompare(option,"size") == 0)
(void) CloneString(&image_info->size,value);
-
- /* create tree if needed - specify how key,values are to be freed */
+ /*
+ Create tree if needed - specify how key,values are to be freed.
+ */
if (image_info->options == (void *) NULL)
image_info->options=NewSplayTree(CompareSplayTreeString,
RelinquishMagickMemory,RelinquishMagickMemory);
-
- /* Delete Option if NULL -- empty string values are valid! */
+ /*
+ Delete Option if NULL -- empty string values are valid!
+ */
if (value == (const char *) NULL)
return(DeleteImageOption(image_info,option));
-
- /* add option to splay-tree */
+ /*
+ Add option to splay-tree.
+ */
return(AddValueToSplayTree((SplayTreeInfo *) image_info->options,
ConstantString(option),ConstantString(value)));
}
exception=AcquireExceptionInfo();
image_info=AcquireImageInfo();
(void) CopyMagickString(image_info->filename,ReferenceFilename,MaxTextExtent);
+ (void) SetImageOption(image_info,"intensity","Rec601Lumniance");
for (i=1; i < (ssize_t) argc; i++)
{
option=argv[i];