Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 30, 2026

This is a bit messy because:

  • We have a bit of a conflicting theme of whether the output should be display ready. E.g. does the output dtype always have to be uint8?
  • Does the input data type always have to be uint8?
  • For grayscale, we assume that the max value is 255
  • For paletted images we have some assumptions over the data type of the data

Closes #25

@kylebarron kylebarron marked this pull request as draft January 30, 2026 21:25
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.

Array.to_rgb that handles photometric interpretation

2 participants