Fix the build on big-endian
Fixes #794 (closed) by introducing some types and traits for pixel conversions, instead of assuming that the rgb crate will have everything we need.
Fixes #794 (closed) by introducing some types and traits for pixel conversions, instead of assuming that the rgb crate will have everything we need.