---
title: "ZipCompressor..::.Compress Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_ZipCompressor_Compress.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.Compress Method 
 
Compresses a byte array with the deflate algorithm (ZIP).
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [Compress(Byte\[\])](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ZipCompressor_Compress_1_a3d79294.htm.md) |  Compresses a byte array with the deflate algorithm (ZIP). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [Compress(IntPtr, UInt32, IntPtr, UInt32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ZipCompressor_Compress_4_f6130501.htm.md) |  Compresses a byte array with the deflate algorithm (ZIP). |
   
## See Also

### Reference

- [ZipCompressor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ZipCompressor.htm.md)
- [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)
