X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDia2Png.py;h=3e5f0fe8739401b3bdd752cadfa3eb9538dd32db;hb=28489b2b034740ce21bcce6f38b8fa1701948b03;hp=d536ebfdde7b3fc2479a09c01fd81433cbf36a1f;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/senfscons/Dia2Png.py b/senfscons/Dia2Png.py index d536ebf..3e5f0fe 100644 --- a/senfscons/Dia2Png.py +++ b/senfscons/Dia2Png.py @@ -1,11 +1,25 @@ -"""Dia2Png SCons Builder: Build a PNG file given a DIA file. - -Support the specification of a scalefactor in the DIA2PNGDPI Environment variable. - -""" +## \file +# \brief Bia2Png 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: +#
\c DIACOM | dia command, defaults to \c diak |
\c DIA2PNGDPI | resolution of converted image, defaults to 115 |
\c DIA2PNGMAXWIDTH | maximum image width, defaults to 800 |