Skip to content

Releases: zevilz/zImageOptimizer

0.9.6

20 Apr 08:21
40ce82f
Compare
Choose a tag to compare
0.9.6 Pre-release
Pre-release
  • 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

06 Feb 10:54
Compare
Choose a tag to compare
0.9.5 Pre-release
Pre-release

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

28 Oct 06:47
Compare
Choose a tag to compare
0.9.4 Pre-release
Pre-release

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

11 Mar 10:18
Compare
Choose a tag to compare
0.9.3 Pre-release
Pre-release

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

27 Feb 16:42
Compare
Choose a tag to compare
0.9.2 Pre-release
Pre-release

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

0.9.1

27 Feb 09:25
Compare
Choose a tag to compare
0.9.1 Pre-release
Pre-release

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

25 Feb 08:52
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release

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

0.8.1

24 Feb 06:56
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

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

04 Dec 11:50
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

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

30 Nov 13:36
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

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.