예제 #1
0
 public void FromL16(L16 source)
 {
     byte rgb = ImageMaths.DownScaleFrom16BitTo8Bit(source.PackedValue);
     this.R = rgb;
     this.G = rgb;
     this.B = rgb;
 }
예제 #2
0
        public void FromL16(L16 source)
        {
            byte rgb = ColorNumerics.DownScaleFrom16BitTo8Bit(source.PackedValue);

            this.R = rgb;
            this.G = rgb;
            this.B = rgb;
        }
예제 #3
0
 public void FromL16(L16 source) => this.FromScaledVector4(source.ToScaledVector4());
예제 #4
0
파일: Rgb48.cs 프로젝트: wilka/ImageSharp
 public void FromL16(L16 source)
 {
     this.R = source.PackedValue;
     this.G = source.PackedValue;
     this.B = source.PackedValue;
 }