Changeset 6569 for branches/QAPAlgorithms/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/System.Drawing/Bitmap2XmlSerializer.cs
- Timestamp:
- 07/17/11 22:51:11 (13 years ago)
- Location:
- branches/QAPAlgorithms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/QAPAlgorithms
- Property svn:ignore
-
old new 12 12 *.psess 13 13 *.vsp 14 *.docstates
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/QAPAlgorithms/HeuristicLab.Persistence
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Persistence merged: 6356,6446,6548
- Property svn:mergeinfo changed
-
branches/QAPAlgorithms/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/System.Drawing/Bitmap2XmlSerializer.cs
r5445 r6569 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.