Mercurial > cgi-bin > hgweb.cgi > ImagePrep
diff src/name/blackcap/imageprep/default.properties @ 0:e0efe7848130
Initial commit. Untested!
author | David Barts <davidb@stashtea.com> |
---|---|
date | Thu, 16 Jul 2020 19:57:23 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/name/blackcap/imageprep/default.properties Thu Jul 16 19:57:23 2020 -0700 @@ -0,0 +1,24 @@ +# -*- coding: UTF-8 -*- + +# The maximum dimension the output file should have. If either the +# width or the height exceeds this number, the image will be scaled +# (preserving its aspect ratio) so that the maximum dimension is equal +# to the the following number. +maxDimension=640 + +# The quality of the output JPEG file (a JPEG is always produced), as +# an integer from 0 to 100 +outputQuality=85 + +# This is added to the name part of the file to create the default +# output file name. +outputSuffix=_scaled + +# The directory where files will be written, if outputToInputDir is not +# true. If empty, output to the home directory. If this starts with a +# tilde, the tilde will be replaced with the home directory. +outputTo= + +# If true, output files get created by default in the same place the +# input file was loaded from. +outputToInputDir=true