<?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.jpegtran.class">Assetic\Filter\JpegtranFilter</parameter>
        <parameter key="assetic.filter.jpegtran.bin">/usr/bin/jpegtran</parameter>
        <parameter key="assetic.filter.jpegtran.timeout">null</parameter>
        <parameter key="assetic.filter.jpegtran.copy">null</parameter>
        <parameter key="assetic.filter.jpegtran.optimize">false</parameter>
        <parameter key="assetic.filter.jpegtran.progressive">false</parameter>
        <parameter key="assetic.filter.jpegtran.restart">null</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.jpegtran" class="%assetic.filter.jpegtran.class%">
            <tag name="assetic.filter" alias="jpegtran" />
            <argument>%assetic.filter.jpegtran.bin%</argument>
            <call method="setTimeout"><argument>%assetic.filter.jpegtran.timeout%</argument></call>
            <call method="setCopy"><argument>%assetic.filter.jpegtran.copy%</argument></call>
            <call method="setOptimize"><argument>%assetic.filter.jpegtran.optimize%</argument></call>
            <call method="setProgressive"><argument>%assetic.filter.jpegtran.progressive%</argument></call>
            <call method="setRestart"><argument>%assetic.filter.jpegtran.restart%</argument></call>
        </service>
    </services>
</container>
