X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDia2Png.py;h=c20e6c7560d0881236b0ef45ebebb1bad3919d7b;hb=9a988902090d28007578e93bffd809f6bd913155;hp=d536ebfdde7b3fc2479a09c01fd81433cbf36a1f;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/senfscons/Dia2Png.py b/senfscons/Dia2Png.py index d536ebf..c20e6c7 100644 --- a/senfscons/Dia2Png.py +++ b/senfscons/Dia2Png.py @@ -1,8 +1,22 @@ -"""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 |