SVGfx is a tool to optimize and customize SVG image files in MODX web projects. The main feature is the automatic SVG optimization, compression and cachingof every SVG file used in your web pages. Just install it and let go. SVGfx now has multiple color filters, which can change any color values in svg graphicsaccording to the filter. This makes it easy to uniformly change colors oficons (other filter like darken/lighten/colorize will follow). Filters currently supported are: gray,sepia,bw,colorize,map,lighten,darken,lightness,saturate,desaturate,saturation. Others are planned. It also works as an output filter which can filter colors inside SVGs and automatically compress (.svgz) your files directly at the MODX instance.
- no more hand-optimizing of SVGs. Just place your normal .svg-Files (from Inkscape maybe) and let MODX do the compression and possible optimizations.
- the web server does not need to compress your SVG files on every request. It just delivers the precompressed svgz and thus you gain performance.
- Cache integrated: every svg file is compressed just once until you clear the cache or the ttl (1 day preset) is down.
- color filters can be applied to style all svgs according to website theme without having to touch each svg file manually.
New in SVGfx 0.3.2-alpha
0.3.2-alpha (bugfix release)- fixed fatal error with newer php versions