ZImageOptimizer Versions Save

Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.

0.9.6

5 years ago
  • Added support for extensions.
  • Added hooks for extensions. The script refactored for support redefinition of some variables using extensions.
  • Added lock file to prevent cycling optimization and avoid conflicts during optimization for longer than period between optimizations.
  • Min bash version raised to 4.*.
  • Added autoinstall new bash version on MacOS.
  • Specific supported versions of FreeBSD replaced with minimum version. Now for new versions will be supported automatic installation of dependencies without refactoring the script.
  • Optimization via djpeg/cjpeg is currently temporarily disabled to prevent an increase in size of output files in lossless mode. Later, djpeg/cjpeg options for lossless compression and small output file size will be selected.
  • Refactoring.

0.9.5

5 years ago

Fixed quality in cjpeg/djpeg compression. This increases the size of the output JPEGs. In the future I will try to adjust this for better compression without loss of quality.

0.9.4

5 years ago

Added check for empty temporary file after decompress image with djpeg.

Optimization with djpeg/cjpeg is skipped if decompressed file is empty. This can occur if input file has CMYK colorspace or when other decompression errors occur.

0.9.3

6 years ago

Fixes:

  • added restoration of original files if their size is less or equal than optimized files size;
  • added additional check for isset djpeg/cjpeg temporary files before removing it to avoid errors on RHEL7.

0.9.2

6 years ago

Fixed PNG file permissions if script does not work from files owner.

0.9.1

6 years ago

Added:

  • added new parameter for excluding folders/files from search before optimizing (script removes from the search files in the full path of which includes any value from the list);
  • added progrees indicator;
  • added displaing total time after optimizing.

Other:

  • bug fixes;
  • small code refactoring.

0.9.0

6 years ago

Added support for working script on MacOS 10.10+ with automatic install dependences.

0.8.1

6 years ago

New:

  • added new parameter for excluding optimizing process from output;
  • added number of input and optimized files after optimizing in output.

Others:

  • disabled colored text, when script executing in cron;
  • small code refactoring;
  • some bug fixes.

0.8.0

6 years ago

New:

  • added option for search of the images changed in a certain period of time;
  • added options for use of a special time marker for search only new files (based on last modify time);
  • added option for set custom directory path for temporary files;
  • added option for display script version.

Changes:

  • -n(--no-ask) changed to -q(--quiet);
  • now path to working directory may be with and without slash on the end of path;
  • now path to temporary files directory may be with and without slash on the end of path;
  • now paths to binary files may be with and without slash on the end of path;
  • added check for no input files;
  • bug fixes and code refactoring.

0.7.0

6 years ago

Features:

  • added support for working script on FreeBSD
  • added support for automatic install dependences on FreeBSD 10.3 / 10.4 / 11.1
  • added saving space in percentage view in the end of script working

Fixes:

  • added support for non-latin characters and special characters (including spaces) in path to input directory (special characters and spaces must be escaping using back slash in parameter -p/-path)
  • for now input directory may be set with or without slash in the end of path
  • some packages removed from list of dependences

And some minor bug fixes and code refactoring.