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.
GammaImage Function Prototype/Documentation Error
-
- Posts: 6
- Joined: 2011-02-16T11:11:40-07:00
- Authentication code: 8675308
Re: GammaImage Function Prototype/Documentation Error
We'll have a fix for the GammaImage() documentation within a few days. Thanks.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: GammaImage Function Prototype/Documentation Error
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"
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"
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/