Commit Graph

15 Commits

Author SHA1 Message Date
Hombre
d7f7c06f10 Whean read, 32 bits tiff image data are not scaled anymore
So the highlights above the 1.0 upper limit will be clipped but colors
will be preserved. Fix #4379
2018-02-09 22:25:40 +01:00
Alberto Griggio
4cd1ad066d imagefloat: correctly clip the values when outputting to 8- or 16-bit formats
Fixes #4310
2018-01-23 13:44:58 +01:00
Hombre
157da7f9ba Merge branch 'dev' into tiff32float 2017-12-20 00:21:23 +01:00
Alberto Griggio
4ef705cdd6 fixed behaviour of "WB off" for non-raw images 2017-12-12 21:08:31 +01:00
Alberto Griggio
bc8b8902e6 make rtengine::processImage return an Imagefloat instead of an Image16
This is for supporting saving to 32-bit float TIFFs
2017-11-20 00:10:51 +01:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
Hombre
c654785ae3 Merge branch 'dev' into rt-cli 2017-03-18 18:17:45 +01:00
Flössie
97caf21b5c PIMPLed and streamlined ICCStore (#3691) 2017-03-18 11:59:14 +01:00
Flössie
e9b5f42a9f Sanitize ImageDimensions base class
- Make `width` and `height` private
- Drop `getW()` and `getH()`
- Clean `PreviewProps`
2017-02-14 21:23:54 +01:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Flössie
759676788b Use BABL method for 16-to-8 bit conversion (#3429) 2016-09-22 21:52:07 +02:00
Flössie
1e7b8035c4 Round when converting to 8 bits (#3429) 2016-09-21 21:54:46 +02:00
Flössie
309b823f93 Fix range in Image* classes (#3429) 2016-09-17 17:32:46 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00