LevelColorsImageChannel returns wrong status
Posted: 2014-01-06T04:11:49-07:00
Since revision 13011 (http://trac.imagemagick.org/changeset/1 ... /enhance.c), the LevelColorsImageChannel function always returns 0 (MagickFalse).
This causes RMagick's level_colors to fail with recent ImageMagick versions (https://github.com/rmagick/rmagick/issues/94).
The 'status' variable is initialized to MagickFalse (http://trac.imagemagick.org/browser/Ima ... ce.c#L3283), and remains MagickFalse since status&=MagickTrue is still MagickFalse. It should probably be initialized to MagickTrue.
This causes RMagick's level_colors to fail with recent ImageMagick versions (https://github.com/rmagick/rmagick/issues/94).
The 'status' variable is initialized to MagickFalse (http://trac.imagemagick.org/browser/Ima ... ce.c#L3283), and remains MagickFalse since status&=MagickTrue is still MagickFalse. It should probably be initialized to MagickTrue.