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

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature of MagickSetImageExtent, the type given for 'rows' is 'const unsigned'; it should be 'const size_t'.

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

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature of MagickSetImageResolution there is a typo, 'doubtl' instead of 'double'.

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

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature of MagickShearImage has a typo in the type of y_shear; it reads 'onst' instead of 'const'.

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

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature of ClearPixelIterator gives the return type as PixelIterator*, but it should be void.

http://imagemagick.org/api/pixel-iterat ... elIterator
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature for PixelIteratorClearException uses the variable name 'wand', but it was probably intended to be 'iterator'.

http://imagemagick.org/api/pixel-iterat ... rException
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature of NewPixelRegionIterator gives the return type as 'PixelIterator', but it should be 'PixelIterator *'.

http://imagemagick.org/api/pixel-iterat ... onIterator
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature of PixelGetIteratorExceptionType, the type of the first argument is given as 'const PixelWand *'; it should be 'const PixelIterator *'.

http://imagemagick.org/api/pixel-iterat ... eptionType
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature for PixelSetColorFromWand does not give a return type; it should be 'void'.

http://imagemagick.org/api/pixel-wand.p ... orFromWand
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature of PixelSetMagickColor has no return type; it should be 'void'. This function is also not in doxygen.

http://imagemagick.org/api/pixel-wand.p ... agickColor
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

The type signature for PixelSetQuantumColor gives no return type; it should be 'void'.

http://imagemagick.org/api/pixel-wand.p ... antumColor
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature for DrawGetFontResolution, the return type is given as 'DrawBooleanType'; it should be 'MagickBooleanType'.

http://imagemagick.org/api/drawing-wand ... Resolution
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

There is an errant '$' in the type signature of DrawGetStrokeColor

http://imagemagick.org/api/drawing-wand ... trokeColor
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature for DrawGetTextAlignment, the keyword 'const' is missing before the first argument.

http://imagemagick.org/api/drawing-wand ... tAlignment
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

In the type signature for DrawGetTextDecoration, the keyword 'const' is missing from the first argument.

http://imagemagick.org/api/drawing-wand ... Decoration
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: MagickGetImageProfiles documentation error

Post by RetroJ »

DrawGetTextInterwordSpacing appears twice.

http://imagemagick.org/api/drawing-wand ... ordSpacing
Post Reply