X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDia2Png.py;h=3e5f0fe8739401b3bdd752cadfa3eb9538dd32db;hb=9bfe0b87be0926193b5baf13865cf045f0de0b0d;hp=a51846426476ed727cfe695a4111fd91db2d22b1;hpb=cd9dd31c21fb021fe2c27ff52419b0e93340a964;p=senf.git diff --git a/senfscons/Dia2Png.py b/senfscons/Dia2Png.py index a518464..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 |