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

Alpha band improvement for DayNightCompositor #2357

Closed
yukaribbba opened this issue Jan 19, 2023 · 2 comments · Fixed by #2358
Closed

Alpha band improvement for DayNightCompositor #2357

yukaribbba opened this issue Jan 19, 2023 · 2 comments · Fixed by #2358
Assignees
Labels
component:compositors enhancement code enhancements, features, improvements

Comments

@yukaribbba
Copy link
Contributor

yukaribbba commented Jan 19, 2023

Feature Request

Is your feature request related to a problem? Please describe.
Under "day/night only" mode, an alpha band will be added to the output image for transparency, even if I set fill_value=0 in geotiff. However, sometimes I just want a single-band image with masked-out area, like the right one below.
image

Describe the solution you'd like
Add an argument to the compositor to switch alpha band on/off.

I'll start a PR for this.

@mraspaud
Copy link
Member

Thanks for reporting this issue. Do I understand correctly that you are not interested in space as a background, you just want black instead?

@mraspaud mraspaud added enhancement code enhancements, features, improvements component:compositors labels Jan 19, 2023
@yukaribbba
Copy link
Contributor Author

Thanks for reporting this issue. Do I understand correctly that you are not interested in space as a background, you just want black instead?

Yep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:compositors enhancement code enhancements, features, improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants