Skip to content

Conversation

@griffin-h
Copy link

Multiplying an image by a constant crashes with a KeyError if GAIN, SATURATE, or MAXLIN are not set in the headers. This switches the multiplication method to using the gain, saturate, and max_linearity properties, which have an appropriate default set.

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