Coder Social home page Coder Social logo

icatalyst's Introduction

Image Catalyst

Lossless PNG, JPEG and GIF image optimization / compression for Windows.

Adobe Photoshop Image Catalyst
Adobe Photoshop CC 2015 (Export as) — 56.10 KB Image Catalyst (Xtreme) — 51.25 KB

Created by Lorents & Res2001

Tools

PNG:
JPEG:
GIF:

System requirements

Operating system — Windows XP SP3 and higher.

Command line options (cmd.exe)

call iCatalyst.bat [options] [add directories \ add files]

Options:

/png:# PNG optimization mode (Non-Interlaced):
       1 - Compression level - Advanced
       2 - Compression level - Xtreme
       0 - Skip (default)

/jpg:# JPEG optimization mode:
       1 - Encoding Process - Baseline
       2 - Encoding Process - Progressive
       3 - use settings of original image
       0 - Skip (default)

/gif:# GIF optimization mode:
       1 - use settings of original image
       0 - Skip (default)

"/outdir:#" image saving options:
       true  - open dialog box for saving images (default)
       false - replace original image with optimized
       "full path to directory" - specify directory to save images to.
       for example: "/outdir:C:\temp". If the destination directory
       does not exist, it will be created automatically.

Add directories \ Add files:
- Specify full image paths and / or paths to directories containing images.
  For example: "C:\Images" "C:\logo.png"
- Full image paths should not contain any special characters such as
  "&", "%", "(", ")" etc.
- Images in sub-directories are optimized recursively.

Examples:
call iCatalyst.bat /gif:1 "/outdir:C:\photos" "C:\images"
call iCatalyst.bat /png:2 /jpg:2 "/outdir:true" "C:\images"

Drag and Drop

Drag and Drop

  • Full image paths should not contain any special characters such as &, %, (, ), ! etc.
  • Images in sub-directories are optimized recursively.

PNG optimization settings

PNG

Advanced Xtreme
Advanced Xtreme
Size — 55.57 KB; Optimization time — 1.5 s Size — 54.67 KB; Optimization time — 7.5 s
TruePNG (zlib) + Advdef (libdeflate) TruePNG (zlib) + PNGWolfZopfli (zopfli)
  • Skip — skip optimization of PNG images.

Interlace option:

  • None — displays the image in a browser only when download is complete.
  • Interlaced — displays low-resolution versions of the image in a browser as the file downloads. Interlacing makes download time seem shorter, but it also increases file size (not support).

JPEG optimization settings

JPEG

Baseline Progressive
Baseline Progressive
For image < 10 KB, it is recommended to use — Baseline (read more) For image > 10 KB, it is recommended to use — Progressive (read more)
  • Default — uses settings of original images;
  • Skip — skip optimization of JPEG images.

GIF optimization settings

GIF

  • Default — uses settings of original images;
  • Skip — skip optimization of GIF images.

Config.ini

Open the file Tools\config.ini with any text editor and follow the instructions.

[options]
;Number of streams. If value is 0, the %NUMBER_OF_PROCESSORS% value is used
thread=0

;Image saving options:
;true  - open dialog box for saving images;
;false - replace original image with optimized;
;path  - directory for output files.
outdir=true

;Check update
update=true

[PNG]
;PNG optimization modes:
;/a# - PNG dirty transparency 0=Clean, 1=Optimize;
;/g# - PNG gamma 0=Remove, 1=Apply & Remove, 2=Keep;
;/na - PNG don't change RGB values for fully transparent pixels;
;/nc - PNG don't change ColorType and BitDepth;
;/np - PNG don't change Palette.
xtreme=/a1 /g0
advanced=/a0 /g0

;Remove PNG Metadata (Chunks)
pngtags=true

[JPEG]
;Remove JPEG Metadata
jpegtags=true

[GIF]
;Remove GIF Metadata
giftags=true

Additionally

  • To pause optimization process click on right mouse button in the command prompt window and choose "Select all" in the context menu. To resume click right mouse button again.
  • By default optimization runs in multi-threading mode. It is not recommended to run in more than one copy of the application, as it will significantly reduce both the image optimization speed and system performance overall. To disable multi-threading mode, open the file Tools\config.ini with any text editor and follow the instructions.

Thanks

Alpha version

https://github.com/res2001/iCatalyst

License

This software is released under the terms of the MIT license.

Future plans

  • add support of optimization of SVG;
  • add support of optimization of PNG and JPEG lossy.

icatalyst's People

Contributors

lorents17 avatar samdark avatar res2001 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.