Lawrence Lee
6daf3f6a23
Fix possible infinite loop in dcraw
...
Use same type for variable comparison in loop condition. Fixes CodeQL
alert 96.
2024-03-02 20:55:07 -08:00
Alberto Griggio
65a14051fe
rawimage: put global black level (as found in DNG converted files) for xtrans files where the code expects to find it
2024-02-22 22:22:41 -08:00
Lawrence Lee
67da8a9634
Implement Hasselblad flat-field and levels
2024-01-11 22:35:26 -08:00
Lawrence Lee
2b6789b4ac
Fix Hasselblad model name when using LibRaw
...
The model, rather than the normalized model, gives the name that matches
those given by dcraw for Hasselblad cameras. This is important for
matching the model name in camconst.json.
2024-01-11 22:32:09 -08:00
Lawrence Lee
d13badbbe0
Implement DNG bad pixels constant for LibRaw
...
Works if the FixBadPixelsConstant is zero, as implemented for dcraw.
Other constant values may be implemented in the future.
2024-01-06 21:40:00 -08:00
Lawrence Lee
d96809ecab
Copy missing camera constants from dcraw to LibRaw
...
Update white level for Fujifilm HS20EXR/HS22EXR and add constants for
Panasonic DMC-TZ82.
2024-01-06 21:40:00 -08:00
Lawrence Lee
ab21f77b95
Implement Sony Pixel Shift for LibRaw
2024-01-06 21:39:59 -08:00
Lawrence Lee
88f9978e1f
Merge commit 'de5f92937857cccc45080c59c6236561416e5ece' into libraw-copylib
...
Upgrade LibRaw to 0.21.2.
2023-12-31 14:05:48 -08:00
Lawrence Lee
de5f929378
Squashed 'rtengine/libraw/' changes from cccb97647..1ef70158d
...
1ef70158d 0.21.2 release
62f042366 tag type => tag size mapping fixed
ee087e3fe cubic_spline: better handling of non-integer data
af755b991 extra metadata check in arq_load_raw
0fadd8819 Better incorrect data handling in cubic_spline
d7fb66053 skip invalid pattern in xtrans_interpolate
d059ed280 Check HL recovery coeffs before processing
104730519 limit wavelet denoise minimum size
cae09838e raw-identify: use fallback if PATH_MAX not available
d6c677608 additional check against corrupted ljpeg layout
1001a6ac1 Disable color conversion for Canon 16-bit thumbnails
a5130b01b docs/changelog: explained the case when no thumbnail is found in specific file
600c0c63d rename swapXX to libraw_swapXX to avoid name conflict
299c8a11b Check against corrupted LJPEG header in Canon sRAW decoder
ec8671ad9 Limit embedded color profile allocation/read size
5229d5942 Wrong alloc result check for 16-bit bitmap thumbnail
b278b775f check pana_data/buffer offset before use
7f4b8d3af Check P1 quadrant linearization coeff[15] against zero
e942a7db6 avoid integer overflow in buffer space check
f6a57cfb8 prevent buffer overrun in buffer_datastream::scanf_one
3e62ed304 ensure correct T.tlength for 16b bitmap thumbnails(2)
8e52d81cd ensure correct T.tlength for 16b bitmap thumbnails
8e1af15e2 Do not run sraw decoder on (crafted) bayer files
0ace959c2 better striped thumbnails handling
477e0719f do not set shrink flag for 3/4 component images
c8efae6c5 allow more decoders for fuji-rotated RAWs
git-subtree-dir: rtengine/libraw
git-subtree-split: 1ef70158d7fde1ced6aaddb0b9443c32a7121d3d
2023-12-31 12:52:34 -08:00
Lawrence Lee
ebf5b422be
Use proper include for LibRaw
...
The include directory for LibRaw is properly set by CMake so
`#include <libraw/libraw.h>`
will work for both the internal and system versions.
2023-12-31 12:33:01 -08:00
Lawrence Lee
e599f71bf2
Remove unused rawimage functions
...
Prevent accidental use of these functions that will not supply the
correct data when using LibRaw.
2023-12-31 12:03:16 -08:00
Lawrence Lee
dca44bb89a
Fix crash loading multi-frame RAFs with LibRaw
...
Set the frame number when reading image metadata.
2023-12-31 12:00:45 -08:00
Lawrence Lee
2b7889b645
Add option to disable LibRaw in preferences
2023-12-17 16:00:30 -08:00
Lawrence Lee
f296991419
Implement DNG gain map for LibRaw
2023-12-17 16:00:30 -08:00
Lawrence Lee
20d3311931
Add decoding through LibRaw
...
Decode raw files with LibRaw and fall back to dcraw if LibRaw is unable
to read the file.
2023-12-01 21:15:13 -08:00
Lawrence Lee
638ecc4cde
Squashed 'rtengine/libraw/' content from commit cccb97647
...
git-subtree-dir: rtengine/libraw
git-subtree-split: cccb97647fcee56801fa68231fa8a38aa8b52ef7
2023-11-12 11:49:00 -08:00
Lawrence Lee
3f5c3988e5
Merge commit '638ecc4cde79b0296f2e04f683ca4cb881c28f36' as 'rtengine/libraw'
2023-11-12 11:49:00 -08:00
Desmis
5acf1c0a7f
White Balance - temperature correlation in batch mode - issue #6867 ( #6877 )
...
* Change Itcwb in simpleprocess
* Change for auto RGBgrey
* remove unnecessary code
2023-11-07 07:38:13 +01:00
Lawrence Lee
0e835e8c00
Fix crash in noise reduction
...
Fix upper bound for array access while building histogram of absolute
values in mean absolute deviation (MAD) calculation.
Fixes #6871 .
2023-10-29 16:20:12 -07:00
Morgan Hardwood
72bf271214
Removed gzip from windows.yml workflow #6864
...
gzip is now included as part of the MSYS2 base install.
2023-10-13 23:04:33 +02:00
Beep6581
46e5a63b6c
Merge pull request #6864 from kmilos/patch-1
...
Streamline Windows build action
2023-10-13 23:03:55 +02:00
Miloš Komarčević
ae236073e2
Streamline Windows build action
...
Use pacboy for msystem independent install
Use build directory directly from CMake
Remove lensfun patch (included upstream)
2023-10-12 16:28:56 +02:00
Desmis
d276a56b10
Local adjustments - improvment Dehaze with black ( #6860 )
...
* Local Dehaze black
* Enable black
* Change threshold black - publish_pre_dev_labels ladehazeblack
2023-10-12 06:59:33 +02:00
Lawrence37
dac3dcf664
Merge pull request #6854 from Lawrence37/color-toning-layers-fix
...
Fix hidden layers in the Color Toning tool
2023-10-10 21:05:33 -07:00
Lawrence Lee
a35b320f1a
Fix color toning layers being hidden
...
Request resizing of tool widgets after being attached to the tool panel.
2023-09-17 15:27:19 -07:00
Floessie
4c671fb661
Merge pull request #6850 from Beep6581/fix-pedited-ub
...
Fix UB in `ProcParams::load()` and the resulting Clang 15+ miscompilation
2023-09-17 11:51:32 +02:00
Flössie
2a87c65a14
Fix UB in ProcParams::load() and the resulting Clang 15+ miscompilation
...
Fixes #6847 .
2023-09-15 15:24:24 +02:00
Floessie
c380044a29
Merge pull request #6842 from Lawrence37/popupcommon-lock-debug-crash
...
Fix mutex try lock for debug builds
2023-09-11 11:00:13 +02:00
Lawrence37
7ebbac25ca
Format code
2023-09-10 14:29:17 -07:00
Lawrence Lee
730704f3b2
Fix startup crash in debug build
...
Do not throw error when trying to get mutex lock.
2023-09-09 16:02:41 -07:00
Lawrence Lee
97e181bd58
Fix automatic distortion correction crash
...
Closes #6840 .
2023-09-09 14:59:14 -07:00
U-PCSPECIALIST01\jdesm
5da07d8658
Auto white balance - change label and tooltip
2023-09-08 18:09:05 +02:00
Lawrence37
f93c3ddf94
Merge pull request #6838 from Lawrence37/canon-various-camconsts
...
Raw crop and masked areas for a few Canon cameras
2023-09-05 18:32:34 -07:00
Lawrence37
c3a97f0304
Merge pull request #6836 from Lawrence37/ilce-7m4-raw-crop
...
Raw crop for Sony ILCE-7M4
2023-09-05 18:30:09 -07:00
Morgan Hardwood
ab238a2ef0
generateTranslationDiffs
2023-09-06 00:47:55 +02:00
Morgan Hardwood
3b8e43c703
Polish translation
2023-09-06 00:33:38 +02:00
Morgan Hardwood
2197a9be76
Local updates to languages/default
2023-09-06 00:32:55 +02:00
Morgan Hardwood
3662b2fa01
generateTranslationDiffs
2023-09-05 22:04:22 +02:00
Lawrence Lee
7c73da7723
Fix Olympus E-M10MarkIV white level
...
Closes #6236 .
2023-09-04 14:31:03 -07:00
Lawrence Lee
408b41dc72
Raw crop and masked areas for a few Canon cameras
...
- Fix masked areas for EOS RP 1.6x crop mode
- Masked areas for EOS M50, EOS M50m2, and EOS M100 (all the same)
- Raw crop and masked areas for EOS R 1.6x crop mode
2023-09-03 18:03:08 -07:00
Lawrence37
ec12c170a2
Merge pull request #6806 from Lawrence37/browser-preview-applied-pparams
...
Enable black level and abstract profile preview in file browser
2023-09-03 15:15:25 -07:00
Beep6581
71f3c8adab
Merge pull request #6832 from Benitoite/patch-28
...
link to rth and rth-cli
2023-09-04 00:05:51 +02:00
Battyányi Dániel
3fbf39fa18
Hungarian localisations for issue #6827 ( #6834 )
...
* ADJUSTER_RESET_TO_DEFAULT CURVEEDITOR DONT_SHOW_AGAIN DYNPROFILEEDITOR EDIT EXIF EXPORT EXTPROGTARGET FILEBROWSER FILECHOOSER GENERAL GIMP_PLUGIN_INFO and HISTOGRAM translated
* Wavelet translations
* Added Hungarian translation conventions
* Translated PREFERENCES
* Translated PARTIALPASTE
* Translated ICCPROFCREATOR
* Translated IPTCPANEL
* Translated MAIN
* Translated MONITOR_PROFILE_SYSTEM
* Translated OPTIONS
* Translated PROFILEPANEL
* Translated PROGRESSBAR
* Translated QINFO
* Translated QUEUE
* Translated SAMPLEFORMAT
* Translated SVEDLG
* Translated SHCSELECTOR
* Translated THRESHOLDSELECTOR
* Changed translation of HDR
* Translated TOOLBAR_TOOLTIP
* Translated NAVIGATOR
* Translated TC_PRIM
* Fixed typo
* Translated TP_BWMIX
* Translated TP_CBDL
* Fixed translations of histogram
* Translated COLORAPP
* Added credits
* Fixed spelling
Fixed spelling and the translation of some lines
2023-09-03 23:59:11 +02:00
Lawrence Lee
6fb8ded886
Add Sony ILCE-7M4 raw crop
...
Remove 10 columns of bad pixels from the right border.
2023-09-02 22:03:34 -07:00
Richard E Barber
4fab12bf1e
link to rth and rth-cli
2023-08-30 08:49:01 -07:00
Lawrence Lee
0fdac3797a
Merge branch 'dev' into browser-preview-applied-pparams
2023-08-29 22:58:51 -07:00
Beep6581
e189a1a4ec
Merge pull request #6817 from ss23/clang_windows_mingw_64bit_fix
...
Use `_WIN32` instead of `WIN32` to detect Windows
2023-08-29 00:47:13 +02:00
Morgan Hardwood
5f6ca0afab
More visible curve crosshair cursor
...
Fixes #6741
The mouse cursor when hovering over a curve was sometimes impossible to
see on a high resolution screen due to the almost identical colors of
the cursor relative to the curve background.
2023-08-29 00:32:56 +02:00
Beep6581
daeb279bc3
Merge pull request #6605 from EwoutH/ci-maint
...
CI: Update GitHub actions environments and used actions
2023-08-29 00:17:41 +02:00
Morgan Hardwood
ec1b6daa31
Merge branch 'Eemilp-switched-rating-shortcuts' into dev
2023-08-29 00:02:17 +02:00