You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since commit 0fcf386, ChannelPerceptualHash.SumSquaredDistance force casting of parameter IChannelPerceptualHash to implementation ChannelPerceptualHash :
Not doing the cast would force me to expose the HuPhashList that nobody will want to use. So I took this shortcut. Creating an interface for the HuPhashList is probably a better solution. I will take a look at this next week.
Magick.NET version
13.6.0 (since 0fcf386)
Environment (Operating system, version and so on)
All
Description
Since commit 0fcf386,
ChannelPerceptualHash.SumSquaredDistance
force casting of parameterIChannelPerceptualHash
to implementationChannelPerceptualHash
:Magick.NET/src/Magick.NET/Statistics/ChannelPerceptualHash.cs
Lines 97 to 104 in 0fcf386
It breaks interface contract.
I don't have a solution to suggest =/
Regards.
Steps to Reproduce
N/A
The text was updated successfully, but these errors were encountered: