A minor documentation error
Posted: 2007-10-28T13:22:29-07:00
from wand/magick-wand.c
The documentation on method is "NewMagickWandWithImage" when it should be "NewMagickWandFromImage"
Code: Select all
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% %
% N e w M a g i c k W a n d F r o m I m a g e %
% %
% %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% NewMagickWandWithImage() returns a wand with an image.
%
% The format of the NewMagickWandWithImage method is:
%
% MagickWand NewMagickWandWithImage(const Image *image)
%
% A description of each parameter follows:
%
% o image: The image.
%
*/
WandExport MagickWand *NewMagickWandFromImage(const Image *image)
{
MagickWand
*wand;
wand=NewMagickWand();
wand->images=CloneImage(image,0,0,MagickTrue,wand->exception);
return(wand);
}