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.
mkoppanen
Posts: 309 Joined: 2007-06-09T07:06:32-07:00
Post
by mkoppanen » 2009-02-09T04:26:29-07:00
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.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2009-02-09T06:57:15-07:00
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
Post
by mkoppanen » 2009-02-15T15:38:55-07:00
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)
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2009-02-15T17:37:58-07:00
Updated Subversion with your patch. Thanks.