MagickGetImageProfiles documentation error

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.
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

Type signature of MagickGetResource is right, but parameter list below is wrong

http://imagemagick.org/api/magick-prope ... etResource
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickGetImageProfiles documentation error

Post by magick »

Thanks for the doc errors. We'll get these problems corrected within the next few days.
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

MagickGetImageCompression appears twice, and MagickGetImageCompressionQuality is missing.

http://imagemagick.org/api/magick-image ... ompression
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

Wrong return type in the type signature of MagickGetImageSignature; has 'const char', should be 'char *'.

http://imagemagick.org/api/magick-image ... eSignature
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickGetImageProfiles documentation error

Post by magick »

All problems fixed in the Subversion repository. We will export the fixes to the ImageMagick web pages this weekend.
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post 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
Post Reply