Page 1 of 1

GammaImage Function Prototype/Documentation Error

Posted: 2011-03-23T16:03:52-07:00
by cappelaere
Documentation http://www.imagemagick.org/api/enhance.php says:
MagickBooleanType GammaImage(Image *image,const double gamma)

but code says:
MagickExport MagickBooleanType GammaImage(Image *image,const char *level)

Thanks,
Pat.

Re: GammaImage Function Prototype/Documentation Error

Posted: 2011-03-23T16:11:18-07:00
by magick
We'll have a fix for the GammaImage() documentation within a few days. Thanks.

Re: GammaImage Function Prototype/Documentation Error

Posted: 2011-03-24T23:18:50-07:00
by anthony
the argument name of "level" is a bit miss-leading as they are not levels.

What it is, is a string containing a list of gamma values for each channel. Or one value for all channels.
just like the -gamma option

May be "gamma_args"