[SOLVED] why array changed from MagickRealType to double?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

[SOLVED] why array changed from MagickRealType to double?

Post 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.
Last edited by NicolasRobidoux on 2012-08-08T09:42:08-07:00, edited 2 times in total.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: why was sigmoidal_map changed from MagickRealType to dou

Post by NicolasRobidoux »

I see that such differences are there with other arrays in enhance.c.
Last edited by NicolasRobidoux on 2012-08-08T08:39:01-07:00, edited 2 times in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: why was sigmoidal_map changed from MagickRealType to dou

Post by magick »

We deprecated MagickRealType in ImageMagick 7 Alpha series. We changed the array type to Quantum as you suggest.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: why was sigmoidal_map changed from MagickRealType to dou

Post by NicolasRobidoux »

Thank you Cristy.
I had just noticed out that it was completely gone from enhance.c when you posted your reply.
Post Reply