Minor documentation issue

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Minor documentation issue

Post by mkoppanen »

Here is a patch against trunk:

Code: Select all

Index: magick-image.c
===================================================================
--- magick-image.c      (revision 14016)
+++ magick-image.c      (working copy)
@@ -3090,13 +3090,15 @@
 %        const MagickFunction function,const unsigned long number_arguments,
 %        const double *arguments)
 %      MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
-%        const MagickFunction function,const unsigned long number_arguments,
-%        const double *arguments)
+%        const ChannelType channel,const MagickFunction function,
+%        const unsigned long number_arguments,const double *arguments)
 %
 %  A description of each parameter follows:
 %
 %    o wand: the magick wand.
 %
+%    o channel: the channel(s).
+%
 %    o function: the image function.
 %
 %    o number_arguments: the number of function arguments.
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Minor documentation issue

Post by magick »

We applied your patch against the Subversion trunk. Thanks.

P.S. If you want credit for your patches, be sure to include a patch against the ChangeLog file.
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Minor documentation issue

Post by mkoppanen »

Hi,

one param seems to be missing from the docs of MagickSetSizeOffset:

Code: Select all

Index: magick-property.c
===================================================================
--- magick-property.c   (revision 14060)
+++ magick-property.c   (working copy)
@@ -2509,6 +2509,8 @@
 %
 %    o rows: the rows in pixels.
 %
+%    o offset: the image offset.
+%
 */
 WandExport MagickBooleanType MagickSetSizeOffset(MagickWand *wand,
   const unsigned long columns,const unsigned long rows,const long offset)
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Minor documentation issue

Post by magick »

Updated Subversion with your patch. Thanks.
Post Reply