Skip to content

wtanaka/ansible-role-pngcrush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status CircleCI

wtanaka.pngcrush

This ansible role installs pngcrush, an optimizer for PNG (Portable Network Graphics) files. It can be run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline.

Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels and PNG filter methods. It also can be used to remove unwanted ancillary chunks, or to add certain chunks including gAMA, tRNS, iCCP, and textual chunks.

Example Playbook

- hosts: all
  roles:
     - wtanaka.pngcrush

pngcrush_should_shortcircuit

Default: True

When True, this role short-circuits itself if a pngcrush is already in the PATH.

All variables

The full set of configuration options available are visible in defaults/main.yml

License

GPLv2

Author Information

http://wtanaka.com/