kornelski / rust-rgb

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

Should there be impl From<ARGB> for RGBA? #41

Closed federicomenaquintero closed 2 years ago

federicomenaquintero commented 2 years ago

I was somewhat surprised to see that there is no impl<T> From<ARGB<T>> for RGBA<T> similar to how there are BGRA -> RGBA and such. Would you like me to write some macros to do all these?

kornelski commented 2 years ago

Yes, please.

fzyzcjy commented 2 years ago

Hi is there any updates?