Stephen Shkardoon
23f2a2fc9f
Use _WIN32
instead of WIN32
to detect Windows
...
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Lawrence37
d74524f2c5
Camconst support for multiple crops ( #6473 )
...
Adapted from ART
Co-authored-by: Alberto Griggio <agriggio@users.noreply.github.com >
* camconst: support for multiple image sizes in raw_crop and masked_areas
* Clean up code after porting raw crop changes
* fixed raw crop for Canon R6 reduced-resolution raws
* Add Canon EOS R5 1.6 crop raw crop & masked areas
2023-01-01 10:50:11 +01:00
Flössie
4d931ed9f4
Fix some sizes
2020-09-15 17:12:03 +02:00
Flössie
79278875da
Use snprintf()
instead of sprintf()
( #5907 )
2020-09-15 14:56:57 +02:00
Ingo Weyrich
e89a3041fa
fix black level computation for applying flat-field correction, taken from ART, thanks @agriggio
2020-06-19 17:07:49 +02:00
Ingo Weyrich
beb8fd8f74
Merge branch 'dev' into newlocallab2
2020-06-14 22:03:26 +02:00
Ingo Weyrich
41675913d6
Cleanups and also some speedups for RT 5.9, to be continued
2020-05-31 17:27:44 +02:00
Desmis
e573de78b4
merge with dev
2020-03-19 13:40:11 +01:00
Ingo Weyrich
b2165aedd9
camconst.cc/h : code review
2020-03-08 14:12:23 +01:00
Ingo Weyrich
f0b5ca02e7
More double promote fixes
2020-02-10 16:22:42 +01:00
Ingo Weyrich
033d9fe02a
Merge branch 'dev' into newlocallab
2019-11-04 23:01:33 +01:00
Ingo Weyrich
284fe57159
Further reduction of include dependencies
2019-10-31 13:29:12 +01:00
Ingo Weyrich
6935faa258
Further cleanup of include dependencies
2019-10-30 22:12:06 +01:00
Desmis
cbeb828609
merge with dev
2019-07-18 13:41:26 +02:00
Flössie
54cc02eea9
Filmenegative core cleanup
2019-06-17 08:03:46 +02:00
Desmis
b378b0f74c
merge with dev
2019-06-07 16:52:34 +02:00
heckflosse
3b19b9f55b
Rawtherapee 5.6 crashes with.dng from PixelShift2DNG-0.9.8.67, fixes #5348
2019-06-07 16:37:59 +02:00
Desmis
0db024126c
merge with dev - suppress unused variable
2019-02-06 08:48:54 +01:00
Flössie
37027e46bd
Fix non-OpenMP build
2019-02-06 06:54:31 +01:00
Desmis
86c03e61d4
merge with dev - I hope no error
2018-11-24 14:18:37 +01:00
Alberto Griggio
655bdfd7e7
merged branch 'floatdng'
2018-11-22 08:50:35 +01:00
Desmis
721972ee72
merge with dev
2018-11-20 17:50:33 +01:00
Alberto Griggio
ac21918094
DNG: apply the BaselineExposure tag only for float DNGs
2018-11-20 13:37:23 +01:00
heckflosse
c9044485a6
Fix some coverity issues
2018-11-19 21:49:51 +01:00
Alberto Griggio
6877360913
DNG: use embedded black and white levels also from files generated by Adobe
...
We only override the colour matrix for Adobe DNG Converter (to ensure a consistent look between dng an native raw)
2018-10-30 14:36:56 +01:00
Alberto Griggio
4fbb0cd3eb
DNG: use black/white levels and matrix from the file, unless it comes from the Adobe DNG Converter
...
See #4472
2018-10-24 12:03:15 +02:00
Desmis
c1463c7edd
merge with dev..
2018-06-14 09:06:29 +02:00
heckflosse
d7f6a69bd2
Exclude very dark regions from calculation of pre demosaic auto white balance, #4587
2018-06-07 18:01:37 +02:00
Desmis
c74cdb922f
merge with dev
2018-03-27 17:18:32 +02:00
Morgan Hardwood
c9fa7b055c
Prevent "comparison between signed and unsigned integer expressions" GCC warning, #4455
2018-03-27 16:57:50 +02:00
Desmis
1062869d01
merge with Dev
2018-03-26 14:59:08 +02:00
Alberto Griggio
15d8e2917a
added support for Fuji X-A3 (ported from Libraw)
...
See #4447
2018-03-21 18:03:27 +01:00
heckflosse
2591364b54
Fixed wrong replacement of rgb_cam matrix
2018-03-20 23:06:22 +01:00
heckflosse
b29029527d
Fix black thumb when applying a processing profile to a monochrome dng with wrong rgb_cam matrix
2018-03-20 22:18:42 +01:00
Desmis
7a714e5093
Add inverse to shapemethod - fixed crash retinex inverse
2018-01-03 16:47:54 +01:00
Flössie
b73970e94f
Fix unintended sign extent (Coverity)
...
Would hit us at 716Mpx (26755px²).
2018-01-01 13:04:01 +01:00
heckflosse
18f09dcbee
Fix wrong thumbnails for Canon G3 and G5, fixes #4000 , fixes #4099
2017-09-23 16:20:50 +02:00
Hombre57
b183a0b3c7
Solving issue #4000 on behalf of heckflosse
2017-08-07 21:05:00 +02:00
heckflosse
e242afedd6
On Windows, previously opened raw files can't be moved or deleted until RawTherapee is closed. Fixes #3884
2017-05-24 14:46:19 +02:00
Alberto Griggio
b36aa29c36
added initial support for Sigma sd Quattro DNG files
...
See #3858
2017-05-04 17:25:14 +02:00
heckflosse
1db6e78817
minimize changes for 'Fix wrong computation of black levels (in some cases) in RawImage::get_colorsCoeff'
2017-04-06 16:59:38 +02:00
Alberto Griggio
6dfe6f95b8
Fix wrong computation of black levels (in some cases) in RawImage::get_colorsCoeff
...
Was happening e.g. with compressed DNG files
2017-04-06 09:00:53 +02:00
heckflosse
f9aa67b05e
Fix warning in rtengine/rawimage.cc and rtgui/dirbrowser.cc
2017-04-01 20:59:10 +02:00
heckflosse
071d960035
Fix all warnings in demosaic_algos.cc
2017-03-31 19:07:58 +02:00
heckflosse
f0b7547cbb
Fix all warnings in rawimage.cc
2017-03-30 18:23:18 +02:00
heckflosse
f9a536fd0b
new gtk3 version of pixelshift
2017-03-11 22:30:36 +01:00
Ingo Weyrich
3684ac4053
Merge pull request #3725 from Beep6581/xtranscompressed
...
Support for compressed bayer files from FUJIFILM GFX 50S
2017-03-04 01:34:23 +01:00
Flössie
88336cb897
Make RT build without __USE_MISC
and __USE_XOPEN
2017-02-14 21:02:39 +01:00
heckflosse
3329899b37
Added support for compressed fuji bayer files
2017-02-12 21:27:11 +01:00
heckflosse
f2bef65be1
small cleanup
2017-02-11 18:28:52 +01:00