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 threshold to MagickImage #113

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

with-heart
Copy link
Contributor

This PR adds the threshold method to MagickImage.

I based the implementation on the Magick.Net impl.

I also added a test but it doesn't feel very thorough. I'm not sure what to test to validate that the image threshold changes based on the inputs though.

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 your help. I have left some minor review comments.

tests/magick-image/threshold.spec.ts Outdated Show resolved Hide resolved
tests/magick-image/threshold.spec.ts Outdated Show resolved Hide resolved
@with-heart
Copy link
Contributor Author

Updated based on your feedback!

@dlemstra dlemstra merged commit eb38214 into dlemstra:main Oct 17, 2023
10 checks passed
@dlemstra
Copy link
Owner

Thanks for this PR!

@with-heart with-heart deleted the add-threshold-method branch October 18, 2023 14:38
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.

None yet

2 participants