Page 1 of 1

[SOLVED] why array changed from MagickRealType to double?

Posted: 2012-08-08T07:29:29-07:00
by NicolasRobidoux
... in IM7:

Code: Select all

cd ImageMagick/ImageMagick
svn diff -r 8856:8859 MagickCore/enhance.c
, sigmoidal_map is changed from MagickRealType to double.
I also do not understand why sigmoidal_map is not an array of the target type from the get go.

Re: why was sigmoidal_map changed from MagickRealType to dou

Posted: 2012-08-08T08:37:02-07:00
by NicolasRobidoux
I see that such differences are there with other arrays in enhance.c.

Re: why was sigmoidal_map changed from MagickRealType to dou

Posted: 2012-08-08T08:38:06-07:00
by magick
We deprecated MagickRealType in ImageMagick 7 Alpha series. We changed the array type to Quantum as you suggest.

Re: why was sigmoidal_map changed from MagickRealType to dou

Posted: 2012-08-08T08:42:06-07:00
by NicolasRobidoux
Thank you Cristy.
I had just noticed out that it was completely gone from enhance.c when you posted your reply.