Leanify: lossless file optimizer

cool_penguin_smallLeanify is a cmdline utility to minimize or optimize files without any loss of quality. It removes redundant data like debug information, comments, metadata etc. from files.

FEATURES

  • Supports recursive minifying (e.g. a PNG inside an APK inside a ZIP).
  • Supports a wide variety of file formats.
  • Lightweight, one file, under 1MB, no external dependency.
  • Everything is done in memory, no temporary files.
  • Multiplatform. Supports Linux, Windows, Mac.
  • Supports recursive directory traversal.
  • Identifies file format by data instead of name.

FORMATS

  • APK
  • Epub, Comic book archive (.cbt, .cbz), FictionBook (.fb2, .fb2.zip)
  • MS Office formats (docx, pptx, xlsx). No support for Office 2003 and older formats.
  • GFT image container
  • tar, gzip, zip
  • Icon (.ico)
  • JAVA archive (.jar)
  • JPEG (.jpeg, .jpg, .jpe, .jif, .jfif, .jfi, .thm), PNG image (.png, .apng), SVG image (.svg, .svgz)
  • Lua object file (.lua, .luac)
  • OpenDocument (.odt, .ods, .odp, .odb, .odg, .odf)
  • PE file (.exe, .dll, .sys, .ocx, .scr, .cpl)
  • RDB archive (.rdb)
  • Flash file (.swf)
  • XML document (.xml, .xsl, .xslt)
  • XPInstall (.xpi)
  • XPS document (.xps, .oxps)
  • Planned: BMP, PDF, Microsoft Compound File Binary

DOWNLOAD

Get the latest release for your architecture here.

USAGE

Usage: Leanify [options] path1 path2 path3 ...
  -i <iteration>  More iterations means slower but better result. Default: 15.
  -d <max depth>  Maximum recursive depth.
  -f              Fast mode, no recompression.
  -q              Quiet mode, no output.
  -v              Verbose output.

Webpage: Leanify

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s