Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test to validate resizing of animated image. #443

Closed
wants to merge 1 commit into from

Conversation

TheKigen
Copy link

This adds a test to the ImageRef.Resize functions to make sure when resizing an animated image that the correct scale is used to avoid unrolling the animated image.

See #350

@TheKigen
Copy link
Author

TheKigen commented Jul 29, 2024

I found the original PR that added the 0.5. This change breaks the test that one had so I'm going to do some research on why.

The scale without casting to int results in 99.84 on the test previously.

See #386

@TheKigen TheKigen marked this pull request as draft July 29, 2024 10:03
@tonimelisma
Copy link
Collaborator

Thanks @TheKigen. This bug has been haunting a bit too long. Greatly appreciated if you can look into it. Let me know when the PR is ready to review and merge

@tonimelisma
Copy link
Collaborator

Hey @TheKigen I would love it if you could look at helping finalize this PR. Do you have any time in the near future to look at this?

@TheKigen
Copy link
Author

Hi, @tonimelisma just been busy with a work trip this week. I'll try to get something done on it the weekend of Oct 5th.

@tonimelisma
Copy link
Collaborator

Hey @TheKigen - thanks for the input. I eagerly await your contributions. Thanks again for helping!

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.

2 participants