-## \file
-# \brief Dia2Png builder
-
-## \package senfscons.Dia2Png
-# \brief Build a PNG file from a DIA file
-#
-# This builder will convert a given DIA file into a PNG image. The
-# size of the target file is specified by giving a preferred DPI value
-# and a maximum width. The Builder will automatically fetch the
-# correct aspect ratio from the dia file.
-#
-# \par Construction Envrionment Variables:
-# <table class="senf">
-# <tr><td>\c DIACOM</td><td>dia command, defaults to \c dia</td></tr>
-# <tr><td>\c DIA2PNGDPI</td><td>resolution of converted image, defaults to 115</td></tr>
-# <tr><td>\c DIA2PNGMAXWIDTH</td><td>maximum image width, defaults to 800</td></tr>
-# </table>
-#
-# \ingroup builder
-
import os
import SCons.Builder, SCons.Action