Skip to content

Conversation

@RunDevelopment
Copy link
Collaborator

This PR fills 2 gaps in the API of public types that I noticed while implementing #96. So it would be nice to have this in before #96, so I can use the additions there.

Changes:

  1. Added DataLayout::mipmaps to get the mipmap count of the layout. This is just a convenience method, similar to the others surrounding it.
  2. Derive PartialEq and Eq for ResizeFilter. This just makes it possible to == resize filters, which can be useful.

@RunDevelopment RunDevelopment merged commit ecca997 into image-rs:main Nov 23, 2025
10 checks passed
@RunDevelopment RunDevelopment deleted the minor-api-additions branch November 23, 2025 19:13
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.

1 participant