Indexed32 IPixel type? #2776
Unanswered
Shadowblitz16
asked this question in
Q&A
Replies: 1 comment 2 replies
-
What's the use case for this type? Palette information in ImageSharp is metadata, essentially providing information about the original encoded palette and providing a palette for quantizing to during encoding if desired. Each When you decode a Gif or other image format with a palette the decoder will decode from the compressed buffer of indices into the final |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How would you guys implement a
Indexed32:IPixel<Indexed32>
type?I thought about maybe defining it as a
uint Index
and aImmutableArray<IPixel>
but there is two problems.Beta Was this translation helpful? Give feedback.
All reactions