kornelski / rust-rgb

struct RGB for sharing pixels between crates
https://lib.rs/rgb
MIT License
98 stars 19 forks source link

Add generic conversions between subpixels #71

Closed ripytide closed 3 months ago

ripytide commented 3 months ago

As discussed in https://github.com/kornelski/rust-rgb/issues/39#issuecomment-753414640

The idea of other conversions such that have different semantics was also discussed but in my opinion is not suited to this crate and should be implemented somewhere else or in the users code directly if it is required.

ripytide commented 3 months ago

Whoops I've just realized this is a duplicate of #46, closing