X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDia2Png.py;h=a8000be3f67791b1691fc1e22e20e118488e819f;hb=63798e5079a247de387d94b980bd87dc22968414;hp=a51846426476ed727cfe695a4111fd91db2d22b1;hpb=cd9dd31c21fb021fe2c27ff52419b0e93340a964;p=senf.git diff --git a/senfscons/Dia2Png.py b/senfscons/Dia2Png.py index a518464..a8000be 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 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: +#
\c DIACOM | dia command, defaults to \c dia |
\c DIA2PNGDPI | resolution of converted image, defaults to 115 |
\c DIA2PNGMAXWIDTH | maximum image width, defaults to 800 |