- Timestamp:
- 06/20/11 10:20:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/System.Drawing/Bitmap2XmlSerializer.cs
r5445 r6446 28 28 internal sealed class Bitmap2XmlSerializer : PrimitiveXmlSerializerBase<Bitmap> { 29 29 30 public override XmlString Format(Bitmap o) { 30 public override XmlString Format(Bitmap o) { 31 31 MemoryStream stream = new MemoryStream(); 32 o.Save(stream, ImageFormat.Png); 32 lock (o) 33 o.Save(stream, ImageFormat.Png); 33 34 byte[] array = stream.ToArray(); 34 35 Byte1DArray2XmlSerializer serializer = new Byte1DArray2XmlSerializer();
Note: See TracChangeset
for help on using the changeset viewer.