Page 1 of 1

A minor documentation error

Posted: 2007-10-28T13:22:29-07:00
by mkoppanen
from wand/magick-wand.c

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);
}
The documentation on method is "NewMagickWandWithImage" when it should be "NewMagickWandFromImage"

Re: A minor documentation error

Posted: 2007-12-11T17:32:04-07:00
by anthony
Just to finish this thread, I have noted that the code has fixed, so it will filter down in the next release.