public static Bgr565 ToBgr565 <TPixel>(this TPixel source) where TPixel : struct, IPixel { Bgr565 bgr = default; // TODO: Unsafe.SkipInit bgr.FromColor(source.ToRgb24()); return(bgr); }