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, -3 or -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, --iter option πŸ”₯
  • -4, --shrink-insane β€” Sets the compression level to "insane", using the zopfli compressor. Same deal, you can set the iterations with the -i, --iter option 😭 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 -3 and -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 πŸ’€

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