Exemplo n.º 1
0
 public override void WriteValue(MapleLib.WzLib.Util.WzBinaryWriter writer)
 {
     writer.WriteStringValue("Canvas", 0x73, 0x1B);
     writer.Write((byte)0);
     if (properties.Count > 0)
     {
         writer.Write((byte)1);
         IWzImageProperty.WritePropertyList(writer, properties.ToArray());
     }
     else
     {
         writer.Write((byte)0);
     }
     writer.WriteCompressedInt(PngProperty.Width);
     writer.WriteCompressedInt(PngProperty.Height);
     writer.WriteCompressedInt(PngProperty.format);
     writer.Write((byte)PngProperty.format2);
     writer.Write(0);
     writer.Write(PngProperty.CompressedBytes.Length + 1);
     writer.Write((byte)0);
     writer.Write(PngProperty.CompressedBytes);
 }
Exemplo n.º 2
0
 public override void WriteValue(MapleLib.WzLib.Util.WzBinaryWriter writer)
 {
     writer.WriteStringValue("Property", 0x73, 0x1B);
     IWzImageProperty.WritePropertyList(writer, properties.ToArray());
 }