Page 1 of 3

MagickGetImageProfiles documentation error

Posted: 2012-04-24T12:31:10-07:00
by RetroJ
The online docs give an incorrect type signature for MagickGetImageProfiles. It is missing the 'pattern' argument.

http://imagemagick.org/api/magick-prope ... geProfiles

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T15:34:22-07:00
by RetroJ

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T15:54:36-07:00
by RetroJ
Type signature of MagickGetResource is right, but parameter list below is wrong

http://imagemagick.org/api/magick-prope ... etResource

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T16:58:04-07:00
by RetroJ
There is a typo in the type signature of MagickSetResolution. It says "doubtl" instead of "double".

http://imagemagick.org/api/magick-prope ... Resolution

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T17:26:01-07:00
by magick
Thanks for the doc errors. We'll get these problems corrected within the next few days.

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T17:46:01-07:00
by RetroJ
Thanks. I'm in the process of writing some bindings, so I'm going through the whole magickwand docs. I'll continue to note bugs as I find them.

MagickBrightnessContrastImage has a wrong title: "Use MagickBrightnessContrastImage"

http://imagemagick.org/api/magick-image ... trastImage

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-24T18:06:07-07:00
by RetroJ
The type signature of MagickColorDecisionListImage gives the wrong type for the second argument; gives 'double', should be 'const char *'.

http://imagemagick.org/api/magick-image ... nListImage

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T08:48:41-07:00
by RetroJ
The type signature of MagickGetImageAlphaChannel gives the wrong return type; gives 'size_t', should be 'MagickBooleanType'.

http://imagemagick.org/api/magick-image ... phaChannel

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T08:53:48-07:00
by RetroJ
MagickGetImagesBlob is mistitled as MagickGetImageBlob (note difference of plural). The mistake is repeated in the text of the section.

http://imagemagick.org/api/magick-image ... tImageBlob

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T09:19:44-07:00
by RetroJ
MagickGetImageCompression appears twice, and MagickGetImageCompressionQuality is missing.

http://imagemagick.org/api/magick-image ... ompression

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T09:51:15-07:00
by RetroJ
Wrong return type in the type signature of MagickGetImageSignature; has 'const char', should be 'char *'.

http://imagemagick.org/api/magick-image ... eSignature

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T10:00:32-07:00
by magick
All problems fixed in the Subversion repository. We will export the fixes to the ImageMagick web pages this weekend.

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T10:43:05-07:00
by RetroJ
In the type signature box for MagickNegateImage, a second type signature is listed, which looks like it should be MagickNegateImageChannel, but I'm not sure, because no function by that name is listed in doxygen.

http://imagemagick.org/api/magick-image ... egateImage

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T11:25:30-07:00
by RetroJ
In the type signature of MagickPosterizeImage, the type of the second argument is given as "const unsigned"; should be "const size_t".

http://imagemagick.org/api/magick-image ... erizeImage

Re: MagickGetImageProfiles documentation error

Posted: 2012-04-25T12:00:18-07:00
by RetroJ
In the type signature of MagickRollImage, the type of 'y' is given as 'const size_t'; it should be 'const ssize_t'.

http://imagemagick.org/api/magick-image ... kRollImage