Skip to content

Conversation

@midare160
Copy link
Contributor

When working with serialized images, e.g. embedded resources in WinForms, the equality check of the extension method fails. When deserializing the image, a new instance of ImageFormat is created, which still uses the same Guid as the singleton instance, but represents a whole new instance, thus failing the equality check.

@CLAassistant
Copy link

CLAassistant commented Jul 4, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Owner

@dlemstra dlemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this. I think I will follow this up with small improvement.

@dlemstra dlemstra merged commit 2f323a9 into dlemstra:main Jul 4, 2024
This was referenced Jul 23, 2025
This was referenced Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants