This project is read-only.
1
Vote

msl not implemented exception for contrast

description

The following msl file failed with not implemented exception

<msl>
<read>
<contrast/>
</read>
</msl>

If we look at Generated\Execute.cpp we don't find any cases where contrast calls

case 'n':
{
                                switch(element->Name[3])
                                {
                                    case 'n':
                                    {
                                        ExecuteConnectedComponents(element, image);
                                        return;
                                    }
                                    case 't':
                                    {
                                        if (element->Name->Length == 15)
                                        {
                                            ExecuteContrastStretch(element, image);
                                            return;
                                        }
                                    }
                                }
                                break;
                            }

this code is incorrect. ExecuteContrast exists but never called.

comments

dlemstra wrote Jan 19, 2015 at 10:46 AM

I think you created an issue in the wrong project. MSL is part of this project: https://magick.codeplex.com.