(void) CopyMagickString(transfer_syntax,(char *) data,
MaxTextExtent);
if (image_info->verbose != MagickFalse)
- (void) FormatLocaleFile(stdout,"transfer_syntax=%s\n",(const char*)
- transfer_syntax);
+ (void) FormatLocaleFile(stdout,"transfer_syntax=%s\n",
+ (const char*) transfer_syntax);
if (strncmp(transfer_syntax,"1.2.840.10008.1.2",17) == 0)
{
int
for (i=0; i < (ssize_t) number_blocks; i++)
{
offset=blocks[i].offset;
- (void) FormatLocaleFile(file," <path stroke=\"#%02x%02x%02x\" fill=\"none\" "
- "d=\"M %g %g",blocks[i].color->red,blocks[i].color->green,
+ (void) FormatLocaleFile(file," <path stroke=\"#%02x%02x%02x\" "
+ "fill=\"none\" d=\"M %g %g",blocks[i].color->red,blocks[i].color->green,
blocks[i].color->blue,stitches[offset].x-bounds.x1,
stitches[offset].y-bounds.y1);
for (j=1; j < (ssize_t) (blocks[i+1].offset-offset); j++)
return(-2);
break;
case 0x7E:
- (void) FormatLocaleFile(stderr,"\nUnsupported WPG token XOR, please report!");
- XorMe=!XorMe;
+ (void) FormatLocaleFile(stderr,
+ "\nUnsupported WPG token XOR, please report!");
+ XorMe=!XorMe;
break;
case 0x7F:
RunCount=ReadBlobByte(image); /* BLK */
}
break;
case 0xFD:
- RunCount=ReadBlobByte(image); /* EXT */
- for(i=0; i<= RunCount;i++)
+ RunCount=ReadBlobByte(image); /* EXT */
+ for(i=0; i<= RunCount;i++)
for(bbuf=0; bbuf < SampleSize; bbuf++)
InsertByte6(SampleBuffer[bbuf]);
break;
if(x!=0)
{
(void) FormatLocaleFile(stderr,
- "\nUnsupported WPG2 unaligned token RST x=%.20g, please report!\n"
- ,(double) x);
+ "\nUnsupported WPG2 unaligned token RST x=%.20g, please report!\n"
+ ,(double) x);
return(-3);
}
{
(void) FormatLocaleFile(file,
"/Times-Roman-ISO dup /Times-Roman ReencodeType findfont setfont\n");
else
- (void) FormatLocaleFile(file,"/%s-ISO dup /%s ReencodeType findfont setfont\n",
- draw_info->font,draw_info->font);
+ (void) FormatLocaleFile(file,
+ "/%s-ISO dup /%s ReencodeType findfont setfont\n",draw_info->font,
+ draw_info->font);
(void) FormatLocaleFile(file,"[%g %g %g %g 0 0] concat\n",
draw_info->affine.sx,-draw_info->affine.rx,-draw_info->affine.ry,
draw_info->affine.sy);
text=EscapeParenthesis(draw_info->text);
if (identity == MagickFalse)
- (void) FormatLocaleFile(file,"(%s) stringwidth pop -0.5 mul -0.5 rmoveto\n",text);
+ (void) FormatLocaleFile(file,"(%s) stringwidth pop -0.5 mul -0.5 rmoveto\n",
+ text);
(void) FormatLocaleFile(file,"(%s) show\n",text);
text=DestroyString(text);
(void) FormatLocaleFile(file,"showpage\n");
if (coder_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",coder_info[i]->path);
(void) FormatLocaleFile(file,"Magick Coder\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=coder_info[i]->path;
{
if (color_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",color_info[i]->path);
- (void) FormatLocaleFile(file,"Name Color "
+ (void) FormatLocaleFile(file,
+ "Name Color "
" Compliance\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=color_info[i]->path;
(LocaleCompare(path,configure_info[i]->path) != 0))
{
if (configure_info[i]->path != (char *) NULL)
- (void) FormatLocaleFile(file,"\nPath: %s\n\n",configure_info[i]->path);
+ (void) FormatLocaleFile(file,"\nPath: %s\n\n",
+ configure_info[i]->path);
(void) FormatLocaleFile(file,"Name Value\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=configure_info[i]->path;
if (delegate_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",delegate_info[i]->path);
(void) FormatLocaleFile(file,"Delegate Command\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=delegate_info[i]->path;
extern MagickExport ssize_t
FormatMagickString(char *,const size_t,const char *,...)
- magick_attribute((format (printf,3,4))),
+ magick_attribute((format (printf,3,4))) magick_attribute((deprecated)),
FormatMagickStringList(char *,const size_t,const char *,va_list)
- magick_attribute((format (printf,3,0))),
+ magick_attribute((format (printf,3,0))) magick_attribute((deprecated)),
GetImageListIndex(const Image *) magick_attribute((deprecated)),
SetMagickRegistry(const RegistryType,const void *,const size_t,
ExceptionInfo *) magick_attribute((deprecated));
CoefficientsToAffineArgs(inverse);
FormatLocaleFile(stderr, "Affine Projection:\n");
FormatLocaleFile(stderr, " -distort AffineProjection \\\n '");
- for (i=0; i<5; i++)
+ for (i=0; i < 5; i++)
FormatLocaleFile(stderr, "%lf,", inverse[i]);
FormatLocaleFile(stderr, "%lf'\n", inverse[5]);
inverse = (double *) RelinquishMagickMemory(inverse);
default:
{
if (isalpha((int) ((unsigned char) attribute)) != 0)
- (void) FormatLocaleFile(stderr,"attribute not recognized: %c\n",attribute);
+ (void) FormatLocaleFile(stderr,"attribute not recognized: %c\n",
+ attribute);
break;
}
}
if (strlen(subexpression) > 1)
subexpression[strlen(subexpression)-1]='\0';
if (fx_info->file != (FILE *) NULL)
- (void) FormatLocaleFile(fx_info->file,"%s[%.20g,%.20g].%s: %s=%.*g\n",
- fx_info->images->filename,(double) x,(double) y,type,
- subexpression,GetMagickPrecision(),(double) alpha);
+ (void) FormatLocaleFile(fx_info->file,
+ "%s[%.20g,%.20g].%s: %s=%.*g\n",fx_info->images->filename,
+ (double) x,(double) y,type,subexpression,GetMagickPrecision(),
+ (double) alpha);
return(0.0);
}
break;
(image->scene == 0))
(void) FormatLocaleFile(file,"%s ",image->filename);
else
- (void) FormatLocaleFile(file,"%s[%.20g] ",image->filename,(double) image->scene);
+ (void) FormatLocaleFile(file,"%s[%.20g] ",image->filename,(double)
+ image->scene);
(void) FormatLocaleFile(file,"%s ",image->magick);
if ((image->magick_columns != 0) || (image->magick_rows != 0))
if ((image->magick_columns != image->columns) ||
(image->magick_rows != image->rows))
- (void) FormatLocaleFile(file,"%.20gx%.20g=>",(double) image->magick_columns,
- (double) image->magick_rows);
- (void) FormatLocaleFile(file,"%.20gx%.20g ",(double) image->columns,(double)
- image->rows);
+ (void) FormatLocaleFile(file,"%.20gx%.20g=>",(double)
+ image->magick_columns,(double) image->magick_rows);
+ (void) FormatLocaleFile(file,"%.20gx%.20g ",(double) image->columns,
+ (double) image->rows);
if ((image->page.width != 0) || (image->page.height != 0) ||
(image->page.x != 0) || (image->page.y != 0))
(void) FormatLocaleFile(file,"%.20gx%.20g%+.20g%+.20g ",(double)
(double) image->page.y);
(void) FormatLocaleFile(file,"%.20g-bit ",(double) image->depth);
if (image->type != UndefinedType)
- (void) FormatLocaleFile(file,"%s ",CommandOptionToMnemonic(MagickTypeOptions,
- (ssize_t) image->type));
+ (void) FormatLocaleFile(file,"%s ",CommandOptionToMnemonic(
+ MagickTypeOptions,(ssize_t) image->type));
if (image->storage_class == DirectClass)
{
(void) FormatLocaleFile(file,"DirectClass ");
}
else
if (image->total_colors <= image->colors)
- (void) FormatLocaleFile(file,"PseudoClass %.20gc ",(double) image->colors);
+ (void) FormatLocaleFile(file,"PseudoClass %.20gc ",(double)
+ image->colors);
else
(void) FormatLocaleFile(file,"PseudoClass %.20g=>%.20gc ",(double)
image->total_colors,(double) image->colors);
(void) FormatMagickSize(GetBlobSize(image),MagickFalse,format);
(void) FormatLocaleFile(file,"%s ",format);
}
- (void) FormatLocaleFile(file,"%0.3fu %lu:%02lu.%03lu",user_time,(unsigned long)
- (elapsed_time/60.0),(unsigned long) floor(fmod(elapsed_time,60.0)),
- (unsigned long) (1000.0*(elapsed_time-floor(elapsed_time))));
+ (void) FormatLocaleFile(file,"%0.3fu %lu:%02lu.%03lu",user_time,
+ (unsigned long) (elapsed_time/60.0),(unsigned long) floor(fmod(
+ elapsed_time,60.0)),(unsigned long) (1000.0*(elapsed_time-
+ floor(elapsed_time))));
(void) FormatLocaleFile(file,"\n");
(void) fflush(file);
return(ferror(file) != 0 ? MagickFalse : MagickTrue);
else
(void) FormatLocaleFile(file," Format: %s (%s)\n",image->magick,
GetMagickDescription(magick_info));
- (void) FormatLocaleFile(file," Class: %s\n",CommandOptionToMnemonic(MagickClassOptions,
- (ssize_t) image->storage_class));
+ (void) FormatLocaleFile(file," Class: %s\n",CommandOptionToMnemonic(
+ MagickClassOptions,(ssize_t) image->storage_class));
(void) FormatLocaleFile(file," Geometry: %.20gx%.20g%+.20g%+.20g\n",(double)
image->columns,(double) image->rows,(double) image->tile_offset.x,(double)
image->tile_offset.y);
{
(void) FormatLocaleFile(file," Resolution: %gx%g\n",image->x_resolution,
image->y_resolution);
- (void) FormatLocaleFile(file," Print size: %gx%g\n",(double) image->columns/
- image->x_resolution,(double) image->rows/image->y_resolution);
+ (void) FormatLocaleFile(file," Print size: %gx%g\n",(double)
+ image->columns/image->x_resolution,(double) image->rows/
+ image->y_resolution);
}
(void) FormatLocaleFile(file," Units: %s\n",CommandOptionToMnemonic(
MagickResolutionOptions,(ssize_t) image->units));
- (void) FormatLocaleFile(file," Type: %s\n",CommandOptionToMnemonic(MagickTypeOptions,
- (ssize_t) type));
+ (void) FormatLocaleFile(file," Type: %s\n",CommandOptionToMnemonic(
+ MagickTypeOptions,(ssize_t) type));
if (image->type != UndefinedType)
(void) FormatLocaleFile(file," Base type: %s\n",CommandOptionToMnemonic(
MagickTypeOptions,(ssize_t) image->type));
}
depth=GetImageDepth(image,&image->exception);
if (image->depth == depth)
- (void) FormatLocaleFile(file," Depth: %.20g-bit\n",(double) image->depth);
+ (void) FormatLocaleFile(file," Depth: %.20g-bit\n",(double)
+ image->depth);
else
(void) FormatLocaleFile(file," Depth: %.20g/%.20g-bit\n",(double)
image->depth,(double) depth);
if (colorspace != GRAYColorspace)
{
(void) FormatLocaleFile(file," Image statistics:\n");
- (void) PrintChannelStatistics(file,CompositeChannels,"Overall",1.0/scale,
- channel_statistics);
+ (void) PrintChannelStatistics(file,CompositeChannels,"Overall",1.0/
+ scale,channel_statistics);
}
channel_statistics=(ChannelStatistics *) RelinquishMagickMemory(
channel_statistics);
}
if (channel_features != (ChannelFeatures *) NULL)
{
- (void) FormatLocaleFile(file," Channel features (horizontal, vertical, left and right diagonals, average):\n");
+ (void) FormatLocaleFile(file," Channel features (horizontal, vertical, "
+ "left and right diagonals, average):\n");
switch (colorspace)
{
case RGBColorspace:
(void) QueryMagickColorname(image,&pixel,SVGCompliance,color,
&image->exception);
GetColorTuple(&pixel,MagickTrue,hex);
- (void) FormatLocaleFile(file," %8ld: %s %s %s\n",(long) i,tuple,hex,color);
+ (void) FormatLocaleFile(file," %8ld: %s %s %s\n",(long) i,tuple,
+ hex,color);
p++;
}
}
if (image->error.normalized_maximum_error != 0.0)
(void) FormatLocaleFile(file," Normalized maximum error: %g\n",
image->error.normalized_maximum_error);
- (void) FormatLocaleFile(file," Rendering intent: %s\n",CommandOptionToMnemonic(
- MagickIntentOptions,(ssize_t) image->rendering_intent));
+ (void) FormatLocaleFile(file," Rendering intent: %s\n",
+ CommandOptionToMnemonic(MagickIntentOptions,(ssize_t)
+ image->rendering_intent));
if (image->gamma != 0.0)
(void) FormatLocaleFile(file," Gamma: %g\n",image->gamma);
if ((image->chromaticity.red_primary.x != 0.0) ||
image->chromaticity.white_point.x,image->chromaticity.white_point.y);
}
if ((image->extract_info.width*image->extract_info.height) != 0)
- (void) FormatLocaleFile(file," Tile geometry: %.20gx%.20g%+.20g%+.20g\n",(double)
- image->extract_info.width,(double) image->extract_info.height,(double)
- image->extract_info.x,(double) image->extract_info.y);
+ (void) FormatLocaleFile(file," Tile geometry: %.20gx%.20g%+.20g%+.20g\n",
+ (double) image->extract_info.width,(double) image->extract_info.height,
+ (double) image->extract_info.x,(double) image->extract_info.y);
(void) FormatLocaleFile(file," Interlace: %s\n",CommandOptionToMnemonic(
MagickInterlaceOptions,(ssize_t) image->interlace));
(void) QueryColorname(image,&image->background_color,SVGCompliance,color,
MagickComposeOptions,(ssize_t) image->compose));
if ((image->page.width != 0) || (image->page.height != 0) ||
(image->page.x != 0) || (image->page.y != 0))
- (void) FormatLocaleFile(file," Page geometry: %.20gx%.20g%+.20g%+.20g\n",(double)
- image->page.width,(double) image->page.height,(double)
+ (void) FormatLocaleFile(file," Page geometry: %.20gx%.20g%+.20g%+.20g\n",
+ (double) image->page.width,(double) image->page.height,(double)
image->page.x,(double) image->page.y);
if ((image->page.x != 0) || (image->page.y != 0))
(void) FormatLocaleFile(file," Origin geometry: %+.20g%+.20g\n",(double)
(void) FormatLocaleFile(file," Delay: %.20gx%.20g\n",(double) image->delay,
(double) image->ticks_per_second);
if (image->iterations != 1)
- (void) FormatLocaleFile(file," Iterations: %.20g\n",(double) image->iterations);
+ (void) FormatLocaleFile(file," Iterations: %.20g\n",(double)
+ image->iterations);
if ((image->next != (Image *) NULL) || (image->previous != (Image *) NULL))
- (void) FormatLocaleFile(file," Scene: %.20g of %.20g\n",(double) image->scene,
- (double) GetImageListLength(image));
+ (void) FormatLocaleFile(file," Scene: %.20g of %.20g\n",(double)
+ image->scene,(double) GetImageListLength(image));
else
if (image->scene != 0)
(void) FormatLocaleFile(file," Scene: %.20g\n",(double) image->scene);
(void) FormatLocaleFile(file,"\n");
continue;
}
- (void) FormatLocaleFile(file," %.20gx%.20g %s\n",(double) tile->magick_columns,
- (double) tile->magick_rows,tile->magick);
+ (void) FormatLocaleFile(file," %.20gx%.20g %s\n",(double)
+ tile->magick_columns,(double) tile->magick_rows,tile->magick);
(void) SignatureImage(tile);
ResetImagePropertyIterator(tile);
property=GetNextImageProperty(tile);
profile=GetImageProfile(image,name);
if (profile == (StringInfo *) NULL)
continue;
- (void) FormatLocaleFile(file," Profile-%s: %.20g bytes\n",name,(double)
- GetStringInfoLength(profile));
+ (void) FormatLocaleFile(file," Profile-%s: %.20g bytes\n",name,
+ (double) GetStringInfoLength(profile));
#if defined(MAGICKCORE_LCMS_DELEGATE)
if ((LocaleCompare(name,"icc") == 0) ||
(LocaleCompare(name,"icm") == 0))
case 219: tag="Custom Field 20"; break;
default: tag="unknown"; break;
}
- (void) FormatLocaleFile(file," %s[%.20g,%.20g]: ",tag,(double)
- dataset,(double) record);
+ (void) FormatLocaleFile(file," %s[%.20g,%.20g]: ",tag,
+ (double) dataset,(double) record);
length=(size_t) (GetStringInfoDatum(profile)[i++] << 8);
length|=GetStringInfoDatum(profile)[i++];
attribute=(char *) NULL;
elapsed_time+0.5),MagickFalse,format);
(void) FormatLocaleFile(file," Pixels per second: %s\n",format);
(void) FormatLocaleFile(file," User time: %0.3fu\n",user_time);
- (void) FormatLocaleFile(file," Elapsed time: %lu:%02lu.%03lu\n",(unsigned long)
- (elapsed_time/60.0),(unsigned long) ceil(fmod(elapsed_time,60.0)),
- (unsigned long) (1000.0*(elapsed_time-floor(elapsed_time))));
+ (void) FormatLocaleFile(file," Elapsed time: %lu:%02lu.%03lu\n",
+ (unsigned long) (elapsed_time/60.0),(unsigned long) ceil(fmod(
+ elapsed_time,60.0)),(unsigned long) (1000.0*(elapsed_time-floor(
+ elapsed_time))));
(void) FormatLocaleFile(file," Version: %s\n",GetMagickVersion((size_t *)
NULL));
(void) fflush(file);
bounds[0]=CompareImageBounds(prev_image,curr,CompareAnyLayer,exception);
#if DEBUG_OPT_FRAME
FormatLocaleFile(stderr, "overlay: %.20gx%.20g%+.20g%+.20g\n\n",
- (double) bounds[i].width,(double) bounds[i].height,
- (double) bounds[i].x,(double) bounds[i].y );
+ (double) bounds[i].width,(double) bounds[i].height,
+ (double) bounds[i].x,(double) bounds[i].y );
#endif
/*
Compute the bounding box of changes for each pair of images.
if (locale_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",locale_info[i]->path);
(void) FormatLocaleFile(file,"Tag/Message\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=locale_info[i]->path;
{
if (log_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",log_info[i]->path);
- (void) FormatLocaleFile(file,"Filename Generations Limit Format\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "Filename Generations Limit Format\n");
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=log_info[i]->path;
if (magic_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",magic_info[i]->path);
(void) FormatLocaleFile(file,"Name Offset Target\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=magic_info[i]->path;
#else
(void) FormatLocaleFile(file," Format Module Mode Description\n");
#endif
- (void) FormatLocaleFile(file,"--------------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "--------------------------------------------------------"
"-----------------------\n");
for (i=0; i < (ssize_t) number_formats; i++)
{
if (magick_info[i]->stealth != MagickFalse)
continue;
- (void) FormatLocaleFile(file,"%9s%c ",magick_info[i]->name != (char *) NULL ?
- magick_info[i]->name : "",
+ (void) FormatLocaleFile(file,"%9s%c ",
+ magick_info[i]->name != (char *) NULL ? magick_info[i]->name : "",
magick_info[i]->blob_support != MagickFalse ? '*' : ' ');
#if defined(MAGICKCORE_MODULES_SUPPORT)
{
if (mime_info[i]->path != (char *) NULL)
(void) FormatLocaleFile(file,"\nPath: %s\n\n",mime_info[i]->path);
(void) FormatLocaleFile(file,"Type Description\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
}
path=mime_info[i]->path;
GetPathComponent(module_path,HeadPath,path);
(void) FormatLocaleFile(file,"\nPath: %s\n\n",path);
(void) FormatLocaleFile(file,"Image Coder\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
for (i=0; i < (ssize_t) number_modules; i++)
{
GetPathComponent(module_path,HeadPath,path);
(void) FormatLocaleFile(file,"\nPath: %s\n\n",path);
(void) FormatLocaleFile(file,"Image Filter\n");
- (void) FormatLocaleFile(file,"-------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "-------------------------------------------------"
"------------------------------\n");
for (i=0; i < (ssize_t) number_modules; i++)
{
#if 0
/* For Debugging Geometry Input */
FormatLocaleFile(stderr, "Geometry = 0x%04X : %lg x %lg %+lg %+lg\n",
- flags, args.rho, args.sigma, args.xi, args.psi );
+ flags, args.rho, args.sigma, args.xi, args.psi );
#endif
/* special handling of missing values in input string */
/* Error handling -- this is not proper error handling! */
if ( new_kernel == (KernelInfo *) NULL ) {
- FormatLocaleFile(stderr, "Failed to parse kernel number #%.20g\n",(double)
- kernel_number);
+ FormatLocaleFile(stderr, "Failed to parse kernel number #%.20g\n",
+ (double) kernel_number);
if ( kernel != (KernelInfo *) NULL )
kernel=DestroyKernelInfo(kernel);
return((KernelInfo *) NULL);
channel, kernel, exception);
if ( verbose == MagickTrue )
- (void) FormatLocaleFile(stderr, "%s:%.20g.%.20g #%.20g => Changed %.20g\n",
- CommandOptionToMnemonic(MagickMorphologyOptions, method),
- 1.0,0.0,1.0, (double) changed);
+ (void) FormatLocaleFile(stderr,
+ "%s:%.20g.%.20g #%.20g => Changed %.20g\n",
+ CommandOptionToMnemonic(MagickMorphologyOptions, method),
+ 1.0,0.0,1.0, (double) changed);
if ( changed < 0 )
goto error_cleanup;
if ( verbose == MagickTrue ) {
if ( kernel_loop > 1 )
FormatLocaleFile(stderr, "\n"); /* add end-of-line from previous */
- (void) FormatLocaleFile(stderr, "%s%s%s:%.20g.%.20g #%.20g => Changed %.20g",
+ (void) FormatLocaleFile(stderr,
+ "%s%s%s:%.20g.%.20g #%.20g => Changed %.20g",
v_info,CommandOptionToMnemonic(MagickMorphologyOptions,
primitive),(this_kernel == rflt_kernel ) ? "*" : "",
(double) (method_loop+kernel_loop-1),(double) kernel_number,
CommandOptionToMnemonic(MagickKernelOptions, k->type) );
if ( fabs(k->angle) > MagickEpsilon )
FormatLocaleFile(stderr, "@%lg", k->angle);
- FormatLocaleFile(stderr, "\" of size %lux%lu%+ld%+ld",(unsigned long) k->width,
- (unsigned long) k->height,(long) k->x,(long) k->y);
+ FormatLocaleFile(stderr, "\" of size %lux%lu%+ld%+ld",(unsigned long)
+ k->width,(unsigned long) k->height,(long) k->x,(long) k->y);
FormatLocaleFile(stderr,
" with values from %.*lg to %.*lg\n",
GetMagickPrecision(), k->minimum,
(void) FormatLocaleFile(file,"Execute ");
(void) FormatLocaleFile(file,"\n");
if (policy_info[i]->pattern != (char *) NULL)
- (void) FormatLocaleFile(file," pattern: %s\n",policy_info[i]->pattern);
+ (void) FormatLocaleFile(file," pattern: %s\n",
+ policy_info[i]->pattern);
}
}
policy_info=(const PolicyInfo **) RelinquishMagickMemory((void *)
(void) FormatLocaleFile(stdout,"%5.2lf\t%.*g\n",x,GetMagickPrecision(),
(double) GetResizeFilterWeight(resize_filter,x));
/* A final value so gnuplot can graph the 'stop' properly. */
- (void) FormatLocaleFile(stdout,"%5.2lf\t%.*g\n",support,GetMagickPrecision(),
- 0.0);
+ (void) FormatLocaleFile(stdout,"%5.2lf\t%.*g\n",support,
+ GetMagickPrecision(),0.0);
}
/* Output the above once only for each image - remove setting */
(void) DeleteImageArtifact((Image *) image,"filter:verbose");
resource_info.time_limit);
(void) FormatLocaleFile(file,"File Area Memory Map"
" Disk Thread Time\n");
- (void) FormatLocaleFile(file,"--------------------------------------------------------"
+ (void) FormatLocaleFile(file,
+ "--------------------------------------------------------"
"-----------------------\n");
- (void) FormatLocaleFile(file,"%4g %10s %10s %10s %10s %6g %11s\n",(double)
- resource_info.file_limit,area_limit,memory_limit,map_limit,disk_limit,
- (double) resource_info.thread_limit,time_limit);
+ (void) FormatLocaleFile(file,"%4g %10s %10s %10s %10s %6g %11s\n",
+ (double) resource_info.file_limit,area_limit,memory_limit,map_limit,
+ disk_limit,(double) resource_info.thread_limit,time_limit);
(void) fflush(file);
UnlockSemaphoreInfo(resource_semaphore);
return(MagickTrue);
cluster_threshold);
(void) FormatLocaleFile(stdout,"\tWeighting Exponent = %g\n",(double)
weighting_exponent);
- (void) FormatLocaleFile(stdout,"\tTotal Number of Clusters = %.20g\n\n",(double)
- number_clusters);
+ (void) FormatLocaleFile(stdout,"\tTotal Number of Clusters = %.20g\n\n",
+ (double) number_clusters);
/*
Print the total number of points per cluster.
*/
(void) FormatLocaleFile(stdout,"\n\nNumber of Vectors Per Cluster\n");
(void) FormatLocaleFile(stdout,"=============================\n\n");
for (cluster=head; cluster != (Cluster *) NULL; cluster=cluster->next)
- (void) FormatLocaleFile(stdout,"Cluster #%.20g = %.20g\n",(double) cluster->id,
- (double) cluster->count);
+ (void) FormatLocaleFile(stdout,"Cluster #%.20g = %.20g\n",(double)
+ cluster->id,(double) cluster->count);
/*
Print the cluster extents.
*/
(void) FormatLocaleFile(stdout,"================");
for (cluster=head; cluster != (Cluster *) NULL; cluster=cluster->next)
{
- (void) FormatLocaleFile(stdout,"\n\nCluster #%.20g\n\n",(double) cluster->id);
- (void) FormatLocaleFile(stdout,"%.20g-%.20g %.20g-%.20g %.20g-%.20g\n",(double)
+ (void) FormatLocaleFile(stdout,"\n\nCluster #%.20g\n\n",(double)
+ cluster->id);
+ (void) FormatLocaleFile(stdout,
+ "%.20g-%.20g %.20g-%.20g %.20g-%.20g\n",(double)
cluster->red.left,(double) cluster->red.right,(double)
cluster->green.left,(double) cluster->green.right,(double)
cluster->blue.left,(double) cluster->blue.right);
(void) FormatLocaleFile(stdout,"=====================");
for (cluster=head; cluster != (Cluster *) NULL; cluster=cluster->next)
{
- (void) FormatLocaleFile(stdout,"\n\nCluster #%.20g\n\n",(double) cluster->id);
+ (void) FormatLocaleFile(stdout,"\n\nCluster #%.20g\n\n",(double)
+ cluster->id);
(void) FormatLocaleFile(stdout,"%g %g %g\n",(double)
cluster->red.center,(double) cluster->green.center,(double)
cluster->blue.center);
assert(IsMagickThreadEqual(semaphore_info->id) != MagickFalse);
if (semaphore_info->reference_count == 0)
{
- (void) FormatLocaleFile(stderr,"Warning: semaphore lock already unlocked!\n");
+ (void) FormatLocaleFile(stderr,
+ "Warning: semaphore lock already unlocked!\n");
(void) fflush(stderr);
return;
}
if ( thresholds == (XMLTreeInfo *)NULL )
return(MagickFalse);
- (void) FormatLocaleFile(file,"%-16s %-12s %s\n", "Map", "Alias", "Description");
- (void) FormatLocaleFile(file,"----------------------------------------------------\n");
+ (void) FormatLocaleFile(file,"%-16s %-12s %s\n","Map","Alias","Description");
+ (void) FormatLocaleFile(file,
+ "----------------------------------------------------\n");
for( threshold = GetXMLTreeChild(thresholds,"threshold");
threshold != (XMLTreeInfo *)NULL;
thresholds=DestroyXMLTree(thresholds);
return(MagickFalse);
}
- (void) FormatLocaleFile(file,"%-16s %-12s %s\n",map,alias ? alias : "", content);
+ (void) FormatLocaleFile(file,"%-16s %-12s %s\n",map,alias ? alias : "",
+ content);
}
thresholds=DestroyXMLTree(thresholds);
return(MagickTrue);
file = stdout;
options=GetConfigureOptions(ThresholdsFilename,exception);
- (void) FormatLocaleFile(file, "\n Threshold Maps for Ordered Dither Operations\n");
-
+ (void) FormatLocaleFile(file,
+ "\n Threshold Maps for Ordered Dither Operations\n");
while ( ( option=(const StringInfo *) GetNextValueInLinkedList(options) )
!= (const StringInfo *) NULL)
{
(void) FormatLocaleFile(file," colormap type: Shared\n");
else
(void) FormatLocaleFile(file," colormap type: Private\n");
- (void) FormatLocaleFile(file," geometry: %dx%d\n",windows->image.ximage->width,
- windows->image.ximage->height);
+ (void) FormatLocaleFile(file," geometry: %dx%d\n",
+ windows->image.ximage->width,windows->image.ximage->height);
if (windows->image.crop_geometry != (char *) NULL)
- (void) FormatLocaleFile(file," crop geometry: %s\n",windows->image.crop_geometry);
+ (void) FormatLocaleFile(file," crop geometry: %s\n",
+ windows->image.crop_geometry);
if (windows->image.pixmap == (Pixmap) NULL)
(void) FormatLocaleFile(file," type: X Image\n");
else
undo_image=GetPreviousImageInList(undo_image);
}
(void) FormatLocaleFile(file,"Undo Edit Cache\n levels: %u\n",levels);
- (void) FormatLocaleFile(file," bytes: %.20gmb\n",(double) ((bytes+(1 << 19)) >> 20));
+ (void) FormatLocaleFile(file," bytes: %.20gmb\n",(double)
+ ((bytes+(1 << 19)) >> 20));
(void) FormatLocaleFile(file," limit: %.20gmb\n\n",(double)
resource_info->undo_cache);
/*
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
Generate reference image.
*/
CatchException(exception);
- (void) FormatLocaleFile(stdout," test %.20g: %s/%s/%s/%.20g-bits",(double)
- (test++),reference_formats[i].magick,CommandOptionToMnemonic(
+ (void) FormatLocaleFile(stdout," test %.20g: %s/%s/%s/%.20g-bits",
+ (double) (test++),reference_formats[i].magick,CommandOptionToMnemonic(
MagickCompressOptions,reference_formats[i].compression),
CommandOptionToMnemonic(MagickTypeOptions,reference_types[j].type),
(double) reference_types[j].depth);
reference_image=ReadImage(image_info,exception);
if (reference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reference_image=DestroyImage(reference_image);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
reference_image=ReadImage(image_info,exception);
if (reference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
blob=ImageToBlob(image_info,reference_image,&length,exception);
if (blob == (unsigned char *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
blob=(unsigned char *) RelinquishMagickMemory(blob);
if (reconstruct_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reference_image=DestroyImage(reference_image);
if (difference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
Generate reference image.
*/
CatchException(exception);
- (void) FormatLocaleFile(stdout," test %.20g: %s/%s/%s/%.20g-bits",(double)
- (test++),reference_formats[i].magick,CommandOptionToMnemonic(
+ (void) FormatLocaleFile(stdout," test %.20g: %s/%s/%s/%.20g-bits",
+ (double) (test++),reference_formats[i].magick,CommandOptionToMnemonic(
MagickCompressOptions,reference_formats[i].compression),
CommandOptionToMnemonic(MagickTypeOptions,reference_types[j].type),
(double) reference_types[j].depth);
reference_image=ReadImage(image_info,exception);
if (reference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reference_image=DestroyImage(reference_image);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
reference_image=ReadImage(image_info,exception);
if (reference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reconstruct_image=ReadImage(image_info,exception);
if (reconstruct_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reference_image=DestroyImage(reference_image);
if (difference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
(void) output_filename;
test=0;
- (void) FormatLocaleFile(stdout,"validate the import and export of image pixels:\n");
+ (void) FormatLocaleFile(stdout,
+ "validate the import and export of image pixels:\n");
for (i=0; reference_map[i] != (char *) NULL; i++)
{
for (j=0; reference_storage[j].type != UndefinedPixel; j++)
reference_image=ReadImage(image_info,exception);
if (reference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels));
if (pixels == (unsigned char *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
pixels=(unsigned char *) RelinquishMagickMemory(pixels);
reference_image=DestroyImage(reference_image);
InheritException(exception,&reference_image->exception);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
pixels=(unsigned char *) RelinquishMagickMemory(pixels);
reference_image=DestroyImage(reference_image);
pixels=(unsigned char *) RelinquishMagickMemory(pixels);
if (status == MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
reference_image=DestroyImage(reference_image);
continue;
reference_image=DestroyImage(reference_image);
if (difference_image == (Image *) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=StringToArgv(command,&number_arguments);
if (arguments == (char **) NULL)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
arguments=(char **) RelinquishMagickMemory(arguments);
if (status != MagickFalse)
{
- (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",GetMagickModule());
+ (void) FormatLocaleFile(stdout,"... fail @ %s/%s/%lu.\n",
+ GetMagickModule());
(*fail)++;
continue;
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(0);
}
ThrowValidateException(OptionError,"UnrecognizedOption",option)
GetMagickVersion((size_t *) NULL));
(void) FormatLocaleFile(stdout,"Copyright: %s\n\n",
GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"ImageMagick Validation Suite (%s)\n\n",
- CommandOptionToMnemonic(MagickValidateOptions,(ssize_t) type));
+ (void) FormatLocaleFile(stdout,
+ "ImageMagick Validation Suite (%s)\n\n",CommandOptionToMnemonic(
+ MagickValidateOptions,(ssize_t) type));
if ((type & CompareValidate) != 0)
tests+=ValidateCompareCommand(image_info,reference_filename,
output_filename,&fail,exception);
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("virtual-pixel",option+1) == 0)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("virtual-pixel",option+1) == 0)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("virtual-pixel",option+1) == 0)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
/*
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("view",option+1) == 0)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("visual",option+1) == 0)
severity; \
\
description=MagickGetException(wand,&severity); \
- (void) FormatLocaleFile(stderr,"%s %s %lu %s\n",GetMagickModule(),description); \
+ (void) FormatLocaleFile(stderr,"%s %s %lu %s\n",GetMagickModule(), \
+ description); \
description=(char *) MagickRelinquishMemory(description); \
exit(-1); \
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
ThrowImportException(OptionError,"UnrecognizedOption",option);
if (locale_message == message)
locale_message=tag;
if (p == (char *) NULL)
- (void) FormatLocaleFile(stderr,"%s: %ld of %lu, %02ld%% complete\r",locale_message,
- (long) offset,(unsigned long) extent,(long) (100L*offset/(extent-1)));
+ (void) FormatLocaleFile(stderr,"%s: %ld of %lu, %02ld%% complete\r",
+ locale_message,(long) offset,(unsigned long) extent,(long)
+ (100L*offset/(extent-1)));
else
(void) FormatLocaleFile(stderr,"%s[%s]: %ld of %lu, %02ld%% complete\r",
locale_message,p+1,(long) offset,(unsigned long) extent,(long)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("view",option+1) == 0)
status=0;
#if 0
-FormatLocaleFile(stderr, "mogrify start %s %d (%s)\n",argv[0],argc,post?"post":"pre");
+ (void) FormatLocaleFile(stderr, "mogrify start %s %d (%s)\n",argv[0],argc,
+ post?"post":"pre");
#endif
/*
*/
if (post == MagickFalse)
status&=MogrifyImageList(image_info,argc,argv,images,exception);
-
/*
For each image, process simple single image operators
*/
for (;;)
{
#if 0
-FormatLocaleFile(stderr, "mogrify %ld of %ld\n",
- (long)GetImageIndexInList(*images),(long)GetImageListLength(*images));
+ (void) FormatLocaleFile(stderr,"mogrify %ld of %ld\n",(long)
+ GetImageIndexInList(*images),(long)GetImageListLength(*images));
#endif
status&=MogrifyImage(image_info,argc,argv,images,exception);
proceed=SetImageProgress(*images,MogrifyImageTag,(MagickOffsetType) i, n);
}
assert( *images != (Image *) NULL );
#if 0
-FormatLocaleFile(stderr, "mogrify end %ld of %ld\n",
- (long)GetImageIndexInList(*images),(long)GetImageListLength(*images));
+ (void) FormatLocaleFile(stderr,"mogrify end %ld of %ld\n",(long)
+ GetImageIndexInList(*images),(long)GetImageListLength(*images));
#endif
/*
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("virtual-pixel",option+1) == 0)
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
return(MagickFalse);
}
}
{
(void) FormatLocaleFile(stdout,"Version: %s\n",
GetMagickVersion((size_t *) NULL));
- (void) FormatLocaleFile(stdout,"Copyright: %s\n",GetMagickCopyright());
- (void) FormatLocaleFile(stdout,"Features: %s\n\n",GetMagickFeatures());
+ (void) FormatLocaleFile(stdout,"Copyright: %s\n",
+ GetMagickCopyright());
+ (void) FormatLocaleFile(stdout,"Features: %s\n\n",
+ GetMagickFeatures());
break;
}
if (LocaleCompare("virtual-pixel",option+1) == 0)
#define ThrowAPIException(wand) \
{ \
description=MagickGetException(wand,&severity); \
- (void) FormatLocaleFile(stderr,"%s %s %lu %s\n",GetMagickModule(),description); \
+ (void) FormatLocaleFile(stderr,"%s %s %lu %s\n",GetMagickModule(), \
+ description); \
description=(char *) MagickRelinquishMemory(description); \
exit(-1); \
}
for (i=0; i < 9; i++)
if (pixels[i] != primary_colors[i])
{
- (void) FormatLocaleFile(stderr,"Get pixels does not match set pixels\n");
+ (void) FormatLocaleFile(stderr,
+ "Get pixels does not match set pixels\n");
exit(1);
}
}
}
MagickResetIterator(magick_wand);
(void) MagickSetIteratorIndex(magick_wand,4);
- (void) FormatLocaleFile(stdout,"Utilitize pixel iterator to draw diagonal...\n");
+ (void) FormatLocaleFile(stdout,
+ "Utilitize pixel iterator to draw diagonal...\n");
iterator=NewPixelIterator(magick_wand);
if (iterator == (PixelIterator *) NULL)
ThrowAPIException(magick_wand);
status=MagickWriteImages(magick_wand,"wandtest_out.miff",MagickTrue);
if (status == MagickFalse)
ThrowAPIException(magick_wand);
- (void) FormatLocaleFile(stdout,"Change image format from \"MIFF\" to \"GIF\"...\n");
+ (void) FormatLocaleFile(stdout,
+ "Change image format from \"MIFF\" to \"GIF\"...\n");
status=MagickSetImageFormat(magick_wand,"GIF");
if (status == MagickFalse)
ThrowAPIException(magick_wand);
status=MagickDeleteOption(magick_wand,"wand:custom-option");
if (status == MagickFalse)
ThrowAPIException(magick_wand);
- (void) FormatLocaleFile(stdout,"Set, list, get, and delete wand property...\n");
+ (void) FormatLocaleFile(stdout,
+ "Set, list, get, and delete wand property...\n");
status=MagickSetImageProperty(magick_wand,"wand:custom-property",
CustomProperty);
if (status == MagickFalse)
status=MagickDeleteImageProperty(magick_wand,"wand:custom-property");
if (status == MagickFalse)
ThrowAPIException(magick_wand);
- (void) FormatLocaleFile(stdout,"Set, list, get, and remove sRGB color profile...\n");
+ (void) FormatLocaleFile(stdout,
+ "Set, list, get, and remove sRGB color profile...\n");
status=MagickSetImageProfile(magick_wand,"sRGB",sRGBProfile,
sizeof(sRGBProfile));
if (status == MagickFalse)