-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 background colour option to tiles operation (#1923) #1924
Conversation
Hm it seems the tests fail in regards to skipBlanks, but the PR doesn't touch that code. Any idea what's going on here? Thanks! |
Thanks for the PR, I think the test failures are due to the need to match the number of channels in the "background" with the number of channels in the image. Try conditionally using |
OK that seemed to do the trick. It can now set the tiles background colour and passes the tests. I've committed the changes but it's now reporting coverage failure? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating, I've left a comment inline about a possible way to deal with the test coverage drop.
Brilliant, thank you Paul. |
I've done the best I can to add background colour as an option for the tile() method. I may have missed something here as I'm not a C++ programmer. Let me know your thoughts. Thanks.