-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I've been thinking about the rust image ecosystem a bit recently, and how this library works great for sharing pixel types between libraries. But, that's not the only information that often needs to be passed. Additional information could include:
- Pixel types (implemented)
- Colorspace Information types (not implemented)
- AlphaType types (not implemented)
- Image types (not implemented)
- Other Image Metadata (see Creating a new
PixelImagetype. image-rs/image#2262)
I think it still fits with the original purpose of this library, (as a common denominator compatibility crate), to also provide types for these other image-related types.
I've been working on what I think this might look like over at https://github.com/ripytide/pixmeta.
This would solve issues like the one you most recently raised: #140
What do you think @kornelski?
As an addendum I've also got a proof-of-concept of what a colorspace conversion library would look like which would be use the colorspaces provided to implement conversions from any pixel with any colorspace to any other pixel with any other colorspace. It's over at https://github.com/ripytide/pixconv, since I know it's another tricky piece of the rust image type puzzle, and having a working copy could help influence decisions made lower down like in this crate.
Another possible downstream crate we might want to think about implementing too so we know our library is properly structured is an ICC serializer/deserializer which would depend on the colorspace types.