summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2018-04-23 15:23:05 +0200
committerGitHub <noreply@github.com>2018-04-23 15:23:05 +0200
commit5004f5559cce3049f1b3efdc7606ec4cac5c08b2 (patch)
tree5378b3a59f47951ce2b1d31e31af3af56ef0f2cc /docs
parentdcc5157975e0a7fc9f8106030db55ef083d17fe1 (diff)
parent13d436eae25f1b49e681ae0535729dd0dea508dd (diff)
downloadufo-filters-5004f5559cce3049f1b3efdc7606ec4cac5c08b2.tar.gz
ufo-filters-5004f5559cce3049f1b3efdc7606ec4cac5c08b2.tar.bz2
ufo-filters-5004f5559cce3049f1b3efdc7606ec4cac5c08b2.tar.xz
ufo-filters-5004f5559cce3049f1b3efdc7606ec4cac5c08b2.zip
Merge pull request #160 from ufo-kit/fix-159
Fix #159: add boolean `rescale` option
Diffstat (limited to 'docs')
-rw-r--r--docs/sinks.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/sinks.rst b/docs/sinks.rst
index 9171db8..cc47d8f 100644
--- a/docs/sinks.rst
+++ b/docs/sinks.rst
@@ -45,7 +45,8 @@ File writer
Possible values are 8 and 16 which are saved as integer types and 32 bit
float. By default, the minimum and maximum for scaling is determined
automatically, however depending on the use case you should override
- this with the ``minimum`` and ``maximum`` properties.
+ this with the ``minimum`` and ``maximum`` properties. To avoid
+ rescaling, set the ``rescale`` property to ``FALSE``.
.. gobj:prop:: minimum:float
@@ -57,6 +58,12 @@ File writer
This value will represent the largest possible value for discrete bit
depths, i.e. 8 and 16 bit.
+ .. gobj:prop:: rescale:boolean
+
+ If ``TRUE`` and ``bits`` is set to a value less than 32, rescale values
+ either by looking for minimum and maximum values or using the values
+ provided by the user.
+
For JPEG files the following property applies:
.. gobj:prop:: jpeg-quality:uint