NAME

Dist::Zilla::Plugin::JSAN::OptimizePNG - a plugin for Dist::Zilla which optimize the PNG images

VERSION

version 0.06

SYNOPSIS

In your dist.ini:

[JSAN::OptimizePNG]

dir             = lib/Dist/Name/static/images/icons     ; runs in "After Build" phase, so need to consider 
dir             = lib/Dist/Name/static/images/buttons   ; the effect of StaticDir plugin

use_lossless            = 1    ;    default, use lossless optimizations
use_quantization        = 1    ;    default, use quantization (with losses)

use_optipng             = 1    ;    default, use the `optipng` command for optimization 
                               ;    (available from `optipng` package)
                           
use_pngout              = 0    ;    default is to not use the `png_out` command 
                               ;    (its provides much better compression than `optipng`
                               ;    but is available only from http://www.advsys.net/ken/utils.htm
                               
png_out_binary          = script/bin/pngout-static  ; path to the `pngout` binary, if enabled                                    

DESCRIPTION

AUTHOR

Nickolay Platonov <nplatonov@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Nickolay Platonov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.