Skip to content

PerceptualHash is quite different on version 14.0.0 vs prior versions. Expected? #1720

Answered by dlemstra
ozziepeeps asked this question in Help
Discussion options

You must be logged in to vote

Thanks for reaching out but this was an intended change and mentioned in the changelog of release 14.0.0: https://github.com/dlemstra/Magick.NET/releases/tag/14.0.0

  • Changed the default colorspaces for PerceptualHash from sRGB and HCLp to XyY and HSB

You will get the "old" result if you do image.PerceptualHash(ColorSpace.sRGB, ColorSpace.HCLp) instead. This was an intended change because ImageMagick changed it's default implementation a while back. And with a major release I could finally make that change in this library.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ozziepeeps
Comment options

@dlemstra
Comment options

@ozziepeeps
Comment options

Answer selected by ozziepeeps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants