---
title: "ZipCompressor Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ZipCompressor.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ZipCompressor Class
 
This class is intended to compress binary data with the deflate algorithm (also known as ZIP).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public NotInheritable Class ZipCompressor
```
 
```csharp
public sealed class ZipCompressor
```
 
## Remarks
 This class is used by Graphics Mill for .NET for internal data compression. However you can use it to compress your data as well. It exposes two static method: [Compress(Byte\[\])](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ZipCompressor_Compress_1_a3d79294.htm.md) and [Decompress(Byte\[\])](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ZipCompressor_Decompress_1_a3d79294.htm.md). Simply pass an array as argument and get an array containing compressed or decompressed data.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - Aurigma.GraphicsMill.ZipCompressor
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
   
## See Also

### Reference

- [ZipCompressor Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_ZipCompressor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
