{"id":18937493,"url":"https://github.com/verifytests/verify.imagehash","last_synced_at":"2025-04-15T18:32:15.423Z","repository":{"id":42575977,"uuid":"442935655","full_name":"VerifyTests/Verify.ImageHash","owner":"VerifyTests","description":"Extends Verify to allow comparison of images via ImageHash.","archived":false,"fork":false,"pushed_at":"2024-04-29T22:33:06.000Z","size":854,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T09:37:53.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VerifyTests.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"VerifyTests"}},"created_at":"2021-12-30T01:39:36.000Z","updated_at":"2024-05-09T20:39:52.592Z","dependencies_parsed_at":"2023-10-03T00:18:32.529Z","dependency_job_id":"7875531b-6bc0-44f2-8ef6-05a8d4b8aea0","html_url":"https://github.com/VerifyTests/Verify.ImageHash","commit_stats":{"total_commits":116,"total_committers":2,"mean_commits":58.0,"dds":"0.025862068965517238","last_synced_commit":"79b558acae4aa6440c61a153e02dbe4a8ab1d3e2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ImageHash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ImageHash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ImageHash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ImageHash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VerifyTests","download_url":"https://codeload.github.com/VerifyTests/Verify.ImageHash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129272,"owners_count":21217319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:11:26.910Z","updated_at":"2025-04-15T18:32:10.408Z","avatar_url":"https://github.com/VerifyTests.png","language":"C#","funding_links":["https://github.com/sponsors/VerifyTests"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Verify.ImageHash\n\n[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true\u0026label=)](https://github.com/orgs/VerifyTests/discussions)\n[![Build status](https://ci.appveyor.com/api/projects/status/48pfe99118r80g72?svg=true)](https://ci.appveyor.com/project/SimonCropp/Verify-ImageHash)\n[![NuGet Status](https://img.shields.io/nuget/v/Verify.ImageHash.svg)](https://www.nuget.org/packages/Verify.ImageHash/)\n\nExtends [Verify](https://github.com/VerifyTests/Verify) to allow comparison of images via [ImageHash](https://github.com/coenm/ImageHash).\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\nContains [comparers](https://github.com/VerifyTests/Verify/blob/master/docs/comparer.md) for png, jpg, and bmp.\n\n\n## NuGet package\n\nhttps://nuget.org/packages/Verify.ImageHash/\n\n\n## Usage\n\n\u003c!-- snippet: enable --\u003e\n\u003ca id='snippet-enable'\u003e\u003c/a\u003e\n```cs\n[ModuleInitializer]\npublic static void Init() =\u003e\n    VerifyImageHash.Initialize();\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-enable' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### Image Comparers\n\nThe following will use ImageHash to compare the images instead of the default DifferenceHash algorithm.\n\n\u003c!-- snippet: CompareImage --\u003e\n\u003ca id='snippet-CompareImage'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task CompareImage() =\u003e\n    VerifyFile(\"sample.jpg\");\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L4-L10' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-CompareImage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### Register all comparers\n\nAll comparers can be registered:\n\n```\nVerifyImageHash.RegisterComparers();\n```\n\n\n## Icon\n\n[Swirl](https://thenounproject.com/term/wizard/2744075/) designed by [Philipp Petzka](https://thenounproject.com/masteroficon) from [The Noun Project](https://thenounproject.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.imagehash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverifytests%2Fverify.imagehash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.imagehash/lists"}