# Compressing compressed contents

**URL:** <https://discourse.appimage.org/t/compressing-compressed-contents/1618>\
**Category:** Creating AppImages\
**Created:** [March 29, 2020, 12:40pm UTC](https://discourse.appimage.org/t/compressing-compressed-contents/1618 "2020-03-29T12:40:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trixon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/trixon/32/347_2.png) [@trixon](https://discourse.appimage.org/u/trixon)\
**Post date:** [March 29, 2020, 12:40pm UTC](https://discourse.appimage.org/t/compressing-compressed-contents/1618/1 "2020-03-29T12:40:24Z")

</div>

First off, a really big thank you for making it possible to distribute my Mapton application in this way.

Having published my first attempt a while back, it’s now time to make an update.  
While playing around with appimagetool and jlink regarding compression I noticed that the more I compress my Custom Runtime Image produced with [jlink](https://docs.oracle.com/en/java/javase/14/docs/specs/man/jlink.html#jlink-options) the larger my AppImages get, with both gzip and xz.  
`-c ={0|1|2}` or `--compress={0|1|2}`

```
Enable compression of resources:

* `0` : No compression
* `1` : Constant string sharing
* `2` : ZIP

```

How is that?  
I guess one should not include compressed stuff if possible.
