ADVDEF(1)
β¨ NAME β¨
Okay bestie, the name is advdef and it's the AdvanceCOMP Deflate Compression Utility π
π«Ά SYNOPSIS π«Ά
advdef [-z, --recompress] [-0, --shrink-store]
[-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra]
[-4, --shrink-insane] [-i, --iter N]
[-f, --force] [-q, --quiet]
[-h, --help] [-V, --version] FILES...
πΈ DESCRIPTION πΈ
Okay so the whole point of advdef is to recompress the data inside your .png, .mng, .gz, .tgz and .svgz files. It's giving glow-up π§
Your file's internal structure stays exactly the same, no cap. Only the compressed data gets changed, so it's like a new outfit but the same girl π β¨
π OPTIONS π
-z,--recompress FILES...β Recompresses the files you name. If you pair it with-1,-2,-3or-4, it keeps whichever is smaller, the old compressed data or the new one, so you never end up worse off π¦ If you pair it with-0, the file is always rewritten with no compression at all.-0,--shrink-storeβ Turns compression off completely. The file is just stored, not compressed π It gets rewritten every time, even if the result is bigger, so be careful with this one bestie π-1,--shrink-fastβ Sets the compression level to "fast", using the zlib compressor β‘-2,--shrink-normalβ Sets the compression level to "normal", using the libdeflate compressor. This is the default level, so if you don't pick anything, you get this one π-3,--shrink-extraβ Sets the compression level to "extra", using the 7z compressor. You can tell it how many iterations to run with the-i,--iteroption π₯-4,--shrink-insaneβ Sets the compression level to "insane", using the zopfli compressor. Same deal, you can set the iterations with the-i,--iteroption π Zopfli is literally the max-effort queen.-i,--iter Nβ Adds some extra iterations for the 7z and zopfli compressors when you're using modes-3and-4. More iterations usually means a better compression, but it can take a LOT more time β³ Try something like 10, 15, 20, and so on and see what slaps π-f,--forceβ Forces the new file to be used even if it's bigger than the original. Dramatic, but sometimes you just need it π
π LIMITATIONS π
β οΈ advdef can't recompress huge files, because it has to allocate memory for both the full compressed data and the full uncompressed data at the same time. Your RAM will be crying if you try π
π¦ COPYRIGHT π¦
This file is Copyright (C) 2003, 2004 Andrea Mazzoleni π
π§ SEE ALSO π§
Check out these besties too: advpng(1), advmng(1), advzip(1), gzip(1), bzip2(1) π«Ά
Okay that's the tea β This page came from the AdvanceCOM...ion Utility(1) manual, and that's the whole vibe, periodt ππΈβ¨
π¦ where this page comes from
- alpine 3.24: advancecomp-doc 2.6-r0 Β· GPL-3.0-or-later
- debian bookworm: advancecomp 2.5-1
- debian trixie: advancecomp 2.5-1
- epel 10: advancecomp 2.6-8.el10_0 Β· GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- epel 9: advancecomp 2.6-4.el9 Β· GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: advancecomp 2.6-13.fc43 Β· GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: advancecomp 2.6-16.fc44 Β· GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- nixos 26.05: advancecomp 2.6
- nixpkgs unstable: advancecomp 2.6
- ubuntu jammy: advancecomp 2.1-2.1ubuntu2
- ubuntu jammy: advancecomp 2.1-2.1ubuntu2.1
- ubuntu noble: advancecomp 2.5-1build1
- ubuntu resolute: advancecomp 2.5-1build2
- ubuntu stonking: advancecomp 2.5-1build2
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms