diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-04-23 14:19:56 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-04-23 14:23:59 +0200 |
commit | 13d436eae25f1b49e681ae0535729dd0dea508dd (patch) | |
tree | 8b6bcf9ec6892cb59769ea99eab28a9ab8321d6b /docs | |
parent | b13d72b19bb77c5233d730abde239c3555f3ffca (diff) | |
download | ufo-filters-13d436eae25f1b49e681ae0535729dd0dea508dd.tar.gz ufo-filters-13d436eae25f1b49e681ae0535729dd0dea508dd.tar.bz2 ufo-filters-13d436eae25f1b49e681ae0535729dd0dea508dd.tar.xz ufo-filters-13d436eae25f1b49e681ae0535729dd0dea508dd.zip |
Fix #159: add boolean `rescale` option
If set to TRUE (default) the writer will rescale the values either
implicitly according to the minimum and maximum values or the ones
provided by the user. Otherwise the data will not be modified
numerically.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sinks.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/sinks.rst b/docs/sinks.rst index c78d083..a100fe5 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:: quality:uint |