<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="assetic.filter.pngout.class">Assetic\Filter\PngoutFilter</parameter>
        <parameter key="assetic.filter.pngout.bin">/usr/bin/pngout</parameter>
        <parameter key="assetic.filter.pngout.color">null</parameter>
        <parameter key="assetic.filter.pngout.filter">null</parameter>
        <parameter key="assetic.filter.pngout.strategy">null</parameter>
        <parameter key="assetic.filter.pngout.block_split_threshold">null</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.pngout" class="%assetic.filter.pngout.class%">
            <tag name="assetic.filter" alias="pngout" />
            <argument>%assetic.filter.pngout.bin%</argument>
            <call method="setColor"><argument>%assetic.filter.pngout.color%</argument></call>
            <call method="setFilter"><argument>%assetic.filter.pngout.filter%</argument></call>
            <call method="setStrategy"><argument>%assetic.filter.pngout.strategy%</argument></call>
            <call method="setBlockSplitThreshold"><argument>%assetic.filter.pngout.block_split_threshold%</argument></call>
        </service>
    </services>
</container>
