コード例 #1
0
ファイル: StegoColor.cs プロジェクト: sll4bres/stego-sharp
 public void SetChannel(StegoColorChannel colorChannel)
 {
     if (!_colorChannels.ContainsKey(colorChannel.ColorChannel))
     {
         _colorChannels.Add(colorChannel.ColorChannel, colorChannel);
     }
     else
     {
         _colorChannels[colorChannel.ColorChannel] = colorChannel;
     }
 }
コード例 #2
0
ファイル: StegoColor.cs プロジェクト: sll4bres/stego-sharp
        public void SetChannel(ColorChannel colorChannel, byte colorValue)
        {
            var stegoColorChannel = new StegoColorChannel(colorChannel, colorValue);

            SetChannel(stegoColorChannel);
        }