Gets/sets a value that specifies whether to compress data during serialization.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Property CompressSerializedData As Boolean
public bool CompressSerializedData { get; set; }
Compression reduces the serialized data size, however it takes more CPU resources. That's why it is recommended to use compression only when the size is an actual bottleneck, for example, if you transfer this data through the slow network connection. If the serialization speed is more important that the size (e.g. on the local machine), it is better to disable the compression.