12605 Commits

Author SHA1 Message Date
Simone Gotti
eb3b49eff7 dcraw: add 12 bit raw handling to panasonic v6 decoder.
Port panasonic v6 decoder handling of 12 bit raw from libraw.
2024-05-22 10:28:05 +02:00
Simone Gotti
0d60258a96 dcraw: add Panasonic DC-GH6 to adobe_coeffs 2024-05-22 10:18:10 +02:00
Simone Gotti
b57679ac15 dcraw: add Panasonic DC-G9M2 to adobe_coeffs 2024-05-22 09:44:14 +02:00
Lawrence37
6b9f45c69c
Merge pull request #7080 from Benitoite/patch-37
Fix linking with jpeg-turbo
2024-05-20 21:24:40 -07:00
Richard E Barber
7789a8574b
removes redundant jpeg error message
Co-authored-by: Lawrence37 <45837045+Lawrence37@users.noreply.github.com>
2024-05-19 16:39:28 -07:00
Richard E Barber
422a11866a
Bump codeql actions to v3
v2 is deprecated in github actions.  Fixes warnings in codeql analysis.
2024-05-19 05:12:07 -07:00
Richard E Barber
efdc5bce3b
Fix linking with jpeg-turbo
patch via Termux PR
https://github.com/termux-user-repository/tur/pull/1027
2024-05-19 04:27:10 -07:00
Lawrence Lee
7f405aa51f
Update Chinese (Simplified) translation
Translation provided by 十一元人民币 (syyrmb) in
https://github.com/Beep6581/RawTherapee/issues/7077.
2024-05-18 14:53:33 -07:00
U-PCSPECIALIST01\jdesm
e316e872f3 Abstract Profile - Change label Highlight attenuation 2024-05-17 07:46:17 +02:00
Desmis
5571c3a4c6
Local adjustments tools used globally - Laspotmain (#6928)
* First step LA globally

* fixed several GUI bad behavior

* better behavior shows additional settings

* Improve transition in main

* First step hide-show invers and scope

* Hide show invers and scope step2

* hide show others inverse and scope

* Try to improve

* Change windows.yml and appimage.yml

* In Preference set choice for default Spot Method

* Optimization call idle_register

* forgotten delete mainfp

* Re-enable sliders scope in colorlight - shadows - vibrance - move setting checkbox others settings

* Fixed bad behavior hide - show

* Optimize behavior

* Bad behavior scope when changing method

* Clean and comment code

* disable preview mask and modif for cbdl and retinex

* Fixed preview deltaE mask and modif log encode - exposure - new button preview color and light

* Button preview deltaE - exposure

* Button preview SH

* Button preview Vibrance

* Improce code using mask

* Fixed several bad behavior - preview TM and Contrast

* Preview log button

* Preview Ciecam button

* Preview common mask button

* Disable Preview button in settings when not used in tools

* Change call to controspotpanel in improcoordinator

* Change Local adjustments title to Selective Editing

* Change default value spotmethod in option

* Missing cddl in preview settings

* Change parameter setting spot type

* put selective editing tab just after exposure tab

* Disable preview ΔE button when another is enabled

Only one button should be active at any given time.

* Deactivate preview ΔE buttons when switching spots

* Change tooltip Spot method

* Change selective editing position

* Remove duplicate line in language default

* Remove appimage.yml windows.yml

---------

Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
2024-05-16 08:21:16 +02:00
U-PCSPECIALIST01\jdesm
5a25619bd5 Restore appimage.yml and windows.yml 2024-05-12 08:45:00 +02:00
Desmis
1adf2bbac3
Wavelet selection levels issue 7069 (#7070)
* Fixed wavelet selective luminance

* Enable PR appimage.yml windows.yml

* disabled appimage.yml and windows.yml
2024-05-12 08:40:32 +02:00
Desmis
18d69a6af6
Local adjustments - Colorappearance Cam16 - Source Data Adjustments - levels R G B and Black & White (#7071)
* Change management viewing temperature and tint

* Enable autotemp wbcamchanged and hide history message

* Change wbcamchnaged as proposed by kaesa

* First step levels

* Levels with luminosity mode

* History messages

* Clean and comment code

* Gamutmap xyz levels values

* Change range slope R G B

* Change range slope R G B

* Harmonize case Slope and Levels

* Harmonize case Slope and Levels 2

* Check Scale Yb viewing

* Small change

* Checbox black and white in source data adjustments

* Change tooltip avoid color shift issue 7066

* modify appimage.yml and windows.yml

* Fixed bad primaries space in free

* Fixed bwcie only in advanced mode
2024-05-12 07:33:48 +02:00
Lawrence37
eba3fac411
Merge pull request #7047 from Lawrence37/popup-button-divider
Divider between buttons in the pop-up button
2024-05-11 22:10:27 -07:00
Lawrence Lee
ca3d4a06b6 Fix Panasonic DMC-FX150 16:9 raw crop
The dcraw default leaves a couple of unwanted pixels on the right and
bottom edges. Other aspect ratios are fine.
2024-05-11 22:04:15 -07:00
Lawrence37
bfc94310bf
Merge pull request #6988 from sgotti/add_optional_thumbnail_rank_color_load_save_from_to_xmp_sidecar
Add optional image rank/color load/save from/to xmp sidecar
2024-05-11 21:45:00 -07:00
Lawrence Lee
068420da60
Use camera crop factor to select Lensfun lens 2024-05-02 22:12:44 -07:00
Anna
b7749c0719
Add correct DateTime to Exif date 2024-05-02 09:59:47 +02:00
Anna
1715334960
Merge branch 'Beep6581:dev' into patch-5 2024-05-02 09:37:13 +02:00
U-PCSPECIALIST01\jdesm
ca569b051b Fixed bad variable assignement in iplocallab.cc 2024-05-01 10:48:15 +02:00
Desmis
a53ddf4282
Ciecam - Change management viewing temperature and tint #7055 (#7058)
* Change management viewing temperature and tint

* Enable autotemp wbcamchanged and hide history message

* Change wbcamchnaged as proposed by kaesa
2024-05-01 07:49:14 +02:00
Anna
428988dd29
Merge branch 'Beep6581:dev' into patch-5 2024-04-25 14:21:49 +02:00
Floessie
95f85d50f5
Merge pull request #7056 from sgotti/dcp_use_std_unique_ptr_to_automatically_close_file_descriptor
dcp: use std::unique_ptr to automatically close file descriptor
2024-04-24 14:22:02 +02:00
Simone Gotti
ff65f86559 dcp: use std::unique_ptr to automatically close file descriptor
Use std::unique_ptr to automatically close file descriptor instead of
manually closing it at every return point.
2024-04-24 11:37:43 +02:00
Floessie
543a3604c2
Merge pull request #7053 from sgotti/dcp_avoid_file_descriptor_leak_on_error
dcp: avoid file descriptor leak on error.
2024-04-23 08:20:08 +02:00
Simone Gotti
232c11c37c dcp: avoid file descriptor leak on error.
If the provided file doesn't contain valid dcp metadata the DCPProfile
constructor will return without closing the file descriptor.
2024-04-22 09:45:12 +02:00
Sergey Fedorov
223afc3af8
ProcessorTargets: support PowerPC 2024-04-22 06:40:50 +08:00
xiota
8c5fc60a7d Make requested changes
* Remove cast in scanline
* Improve Glib::ustring conversion
2024-04-21 09:56:25 +00:00
Desmis
c72e67ae24
Limits incompatibility between Ciecam and CBDL and others to Cam02 #7017 (#7023)
* CBDL and others only with ciecam Cam16

* Change windows and appimage yml

* Remove appimage.yml and windows.yml
2024-04-20 17:34:53 +02:00
Desmis
30cf3f721f
UV photos - Wish from LarsHP Increased green (tint) value from 10 to 100 (#7043)
* Change limits green to 40 instead of 10

* Publish uvgreen in pre-dev appimage.yml windows.yml

* Change range setLogScale

* Revert change to observer 2 - format

* Set maxgreen 60

* Set maxgreen 100 and minequal 0.5 maxequal 1.8

* Set maxgreen 1000 minequal 0.4 maxequal 2.5

* Set maxgreen 100 minequal 0.5 maxequal 2
2024-04-20 17:11:31 +02:00
Lawrence Lee
b5abd46d0c
Add divider in pop-up button for RawTherapee theme
Provide a visual cue that there are two buttons.
2024-04-18 23:13:21 -07:00
Anna
1aea652fea
Add correct DateTime (editing date) to Exif data
Currently, RT does not save the editing date (Exif tag DateTime) in the exif data of the exported files, only DateTimeOriginal (the date/time the photo was captured). This patch fixes this.
2024-04-18 16:48:08 +02:00
Anna
a1eaa8f64e
fix ModifyDate 2024-04-18 15:12:42 +02:00
Lawrence37
46531c7eca
Merge pull request #7038 from Lawrence37/windows-installer-icons
Fix for missing icons from the Windows installer
2024-04-17 21:21:06 -07:00
xiota
4d715cf281 Make requested changes 2024-04-16 17:28:32 +00:00
U-PCSPECIALIST01\jdesm
129e3f4dd8 Reset windows.yml appimage.yml 2024-04-15 07:54:24 +02:00
Desmis
8e312d9c02
Local Adjustments - Cam16 - lacam16n2 (new) (#7010)
* Restore settings and options

* Clean code and windows.yml

* Gui improvment

* Fixed wrong value maxicam

* Change GUI TRC and Log encoding and sigmoid

* Clean code locallabtools2

* Fomat locallabtools2

* New calcualtion gray when using Q

* Improve sigmoid Q with meanQ

* Change labels and tooltip

* Change DR with log

* Change location GUI TRC

* Change GUI sigmoid hide - show

* Fixed bug with trc

* Added whites to TRC & whites

* Small modification whites - comment code

* Change GUI and selection for sigmoid and log encoding Q

* Change yml worksflow

* Added cat to workingtrc rtthumbnail

* Delete entries in defualt languages

* Blacks and whites distribution

* Change tooltips

* Fixed some issues

* Change GUI hide to set_sensitive

* first step white and black log encoding

* GUI Labels - tooltips

* Compress brightness log encoding

* Change compression threshold

* Clean procparams

* Improve GUI and threshold compression

* Improvment GUI and tooltips

* First step primaries cam16

* Primaries loc step 2

* Primaries loc step 3

* jdcmax primaries - format iplab2rgb

* Improve GUI

* Beta RGB primaries and message

* Change tooltips

* Change order prim

* CIExy diagram step 1

* CIExy step 2

* CIExy step 2

* CIExy diagram step 4

* CIExy diagram step 5

* Change improccordinator and locallabtool2s listener

* Forgoten delete in improccordinator

* Disable setListener

* Improve GUI and behavior TRC and Primaries

* TRC primaries - illuminant step 1

* TRC primaries - illuminant step 2

* TRC primaries - illuminant step 3

* TRC primaries - illuminant step 4

* Gamut control - remove old listener and added listener locallabcieLC

* publish pre dev labels windows appimage

* publish pre dev labels windows appimage []

* Move log encoding cie - step 1

* Step 2

* Move Log encoding CIE and improve GUI step 3

* Pre Ciecam midtones step 1

* Mid tones step 2 and tooltips

* Forgoten label and tooltips

* Improve tooltips - and change yml files

* Include repository in appimage and windows.yml - change labels

* Forgotten surroundcie in procparams.cc

* Improve GUI with expander - clean code

* Change tooltip

* Clean locallabtools2 - improve Jpro

* Bypass Ciecam step 1

* step 2

* Step 3

* Change settings - improve GUI

* Clean code

* Improve sigmoid cam16

* Improve sigmoid cam16

* Added illuminant E to illmethod

* Change iccmatrices

* Working profile JDCmax stdA and Abstract Profile

* Pre-ciecam JDCmax stdA

* Abstract profile - cat method step 1

* Step 3

* Step 4 and various changes

* Enable default gamutcontrol - improve GUI

* Refine color pre-ciecam

* Step 2

* step 3

* Step - 4

* Refine colors Abstract profiles

* Expander true Abstract Profile

* Clean and comment code

* Tooltip pre-ciecam

* Change tooltips

* Improve GUI free primaries

* Labgrid dominant color

* Shift dominant color step 1

* Shift xy dominant color

* History msg shift

* Fixed various bad behavior - change scalrefi

* Improve behavior DR vs deltaE - log encoding and pre-ciecam

* Limited reduce deltaE to 1 - comment code

* Improve behavior TIF/JPG

* Forgotten code

* Various small changes to refinement color pre-ciecam

* Foramt iplab2rgb and simpleprocees - small change meanx meany

* Bad behavior with simpleprocess abstract profile and pre-ciecam

* Re-enable code for simpleprocess

* Iprove iplab2rgb

* Improve GUI if selection Jz

* provis with precision

* Chnage GUI log encoding basic - improve shiftxl shiftyl pre-ciecam

* Improve GUI with expanders

* Change location pre-ciecam expander

* Change label tooltip pre-ciecam

* Improve white distribution and equalizer

* Bad behavior Source data adjustments

* Comment code

* Improve Dynamic Range Compression - for some images with very high DR

* Clean code

* Improve TM fattal with saturation control in LA

* saturation control fattal LA

* RE-order paramsedit

* Change local contrast in LA - log encoding and Cam16

* LA settings avoidcolorshift XYZabsolute

* Change GUI precision blackEv WhiteEv BlackEvjz WhiteEvjz

* Check button smoothcie - smooth highlights

* Change order midtones - log encoding - other method smooth

* Change maximum gamma in TRC cam16

* Change maximum slope in TRC cam16

* refine smooth highlights

* Small improvment - comment code

* Bad behavior - black screen - in Cam16

* setLogscale for slopjcie

* Change source data GUI - PQ and other DR functions

* PQ mode advanced - adjustments and tooltip

* Comment and clean code

* Simplified GUI in Basic mode - Source Data Adjustments

* Added primaries to source date adjustements - fix basic problem

* GUI graduaded filter cie cam16

* Graduated filter - LA Color appearance

* More illuminant cam16 - D120 - Tungsten 2000K - Tungsten 1500K

* Abstract profile ICM - shift x - shift y

* Frame color dominant Abstract profile

* Frame color dominant Abstract profile

* Illuminant E - abstract profile

* Abstact profile - midtones

* Abstrcat profile - smooth highlights checkbutton

* Abstract Profile - Smooth highligts rtengine

* Bad behavior LA gamut - re-enabled Munsell in settings

* adapts Abstract profile and auto-match tone curve

* Change chromaticity curve c(h) - ppversion 351 and procparams

* icmpanel fixed bad wmidtcie

* Change in procparams assignfromkeyfile color Management

* Remove message in console

* Missing code procparams.cc wcat

* Clean message in console

* Disable ppversion 351 - surround extremely dark

* Choice surround scene Disable ciecam

* Improve GUI for surround Disable Ciecam

* Small change gamutcontrol - message g0..g5 verbose

* Remove gautcontrol on limits

* Strength log encoding - Source data adjustments

* Fixed genral bug in lacam16n - bad behavior color

* Checkbutton saturation control - Cam16 log encoding

* Change default saturation controle log encoding - false

* GUI LA Log encoding - Strength - saturation control - part 1

* Checkbox saturation control LA Log encoding

* Change repartition GUI brightnees - hue - chroma

* Hide primaries and illuminant in standard mode

* Merge with dev 2

* reduces sigmoid Q contrast

* Provisory disable Sigmoid Q

* Re-enable sigmoid function complexity mode

* Re-enable log encoding Q - with Ciecam

* GUI improvments - small code improvments

* Change tooltip

* Simplify GUI mode Basic - Standard - added tooltip

* Change tooltip - LA settings - Avoid color shift

* hope to fix the bug between Jz and Cam16

* Another change for Jz - format astyle locallabtool2.cc

* Clean code GUI - remove Zcam

* Change label in Recovery based on luminance mask

* Reduces minimum spot size from 2 to 1.5

* Improve behavior GUI with Jzczhz

* Clean code iplocallab.cc

* Small improvement ciecam02.cc

* Fixed bad behvior GUI and code between Cam16 and Jzczhz

* Improve Jz and surround effects

* Improve Jz and Local contrast Cam16 & Jz taking account surround

* Disable local contrast if cam16 and not ciecam surround

* Restore epsil 0.001 loccont

* Improve local contrast when surround low and Jz

* Clean code locallabtool2 - weakened a little Local Contrast in connection with surround

* Remove Laplacian threshold in Cam16 and JzCzHz mask

* Simplify Mask for JzCzHz

* Enable choice complexity mask in mode advanced

* Solved bad behavior GUI masks

* Optimize GUI mask Jz and cam16

* Change 3 icon .png without png

* Remove wrong message in console without problem

* Remove warning with &amp; in some tooltips and TP_WBALANCE_AUTO_HEADER

* Smoothcie Method GUI

* Replace checkbutton smooth highlight bya combobox

* Improve behavior GUI - CIECAM - advanced - tempout and greenout

* Fixed - I hope - crash when delete spot and cam16

* Clean code with maxcam and dependencies

* Added Smooth highlight rolloff or not

* Improve smooth lights - gamma mode only - standard and advanced - gray balance

* Improve Smoothing lights - take into account the 2 Yb

* Change tooltip

* Chnage wrong lable scope => slope

* Clean and comment code

* Reduces the effect of - Smoothing light -Ev mode - Small change range Slope

* Scale Yb scene white whiteEv

* Hide Scale in some GUI cases

* Clean comment code Smotth and TM function

* Change GUI - Smooth highlights and tone mapping - allows also Basic

* Change labels

* Change tooltip

* Remove arrow.cur in windows.yml as suggested by Lawrence37

* Reverse last changes

* Change limits slope based in SDA

* Clean locallabtools2.cc

* Set minimum slope based to 0.6

* Change label highlight

* Change listener scene parameters to GUI

* Clean code sine changes listener

* Limits Blackev Whiteev values in slope base to avoid crash

* Change a little limits BlackEv WhiteEv

* Small changes in console - remove warnings

* Change XYZ relative - avoid color shift

* Improve gamutmap

* re build gamutmap
2024-04-15 07:47:19 +02:00
Lawrence37
73fb89147c
Merge pull request #7002 from sgotti/dcraw_fujifilm_gfx_100ii
dcraw: add support for Fujifilm GFX 100 II
2024-04-14 12:18:31 -07:00
Lawrence Lee
8d4c12b00d
Publish LibRaw pre-dev builds 2024-04-14 12:03:50 -07:00
xiota
1ad5ec3e9e Remove makedeb installer script 2024-04-14 08:02:20 +00:00
xiota
bde73f5ce1 Use makedeb to build libjxl from source 2024-04-14 07:08:05 +00:00
Lawrence Lee
fe2247cca5
Add README for upgrading the internal LibRaw 2024-04-13 23:23:06 -07:00
Lawrence Lee
ef0655a84d
Merge commit '4c61b7d3c3eb8d474ab54a2221eeb1a059dcd67d' into libraw-copylib
Upgrade LibRaw to snapshot 202403.
2024-04-13 23:05:55 -07:00
Lawrence Lee
4c61b7d3c3 Squashed 'rtengine/libraw/' changes from 1ef70158d..12b0e5d60
12b0e5d60 Snapshot 202403
a4c9b1981 loop parameters in remove_trailing_spaces
e231b01a4 CR3-Qstep table: avoid wrong 64-bit code generation
21368133a 0.21.2 release
a6f212a4a tag type => tag size mapping fixed
41506ef73 cubic_spline: better handling of non-integer data
17294b5fd extra metadata check in arq_load_raw
47d9dd8e2 Better incorrect data handling in cubic_spline
3baa51068 skip invalid pattern in xtrans_interpolate
eaf63bf5f Check HL recovery coeffs before processing
a14574080 limit wavelet denoise minimum size
4e597e4e9 Merge pull request #594 from pinotree/path_max
086dcb9a6 raw-identify: use fallback if PATH_MAX not available
0e105f9f8 additional check against corrupted ljpeg layout
0c8b68e9f Disable color conversion for Canon 16-bit thumbnails
cd1abd695 docs/changelog: explained the case when no thumbnail is found in specific file
6fffd414b rename swapXX to libraw_swapXX to avoid name conflict
af78ae48a Check against corrupted LJPEG header in Canon sRAW decoder
ba780e600 Limit embedded color profile allocation/read size
122bf7c5b Wrong alloc result check for 16-bit bitmap thumbnail
e6dd2709e check pana_data/buffer offset before use
ae2dc5884 Check P1 quadrant linearization coeff[15] against zero
f2998bacc avoid integer overflow in buffer space check
443b7fb51 prevent buffer overrun in buffer_datastream::scanf_one
35a6d3615 ensure correct T.tlength for 16b bitmap thumbnails(2)
b69ea8be5 ensure correct T.tlength for 16b bitmap thumbnails
2b6eca897 Do not run sraw decoder on (crafted) bayer files
68808b57f better striped thumbnails handling
9ab70f6dc do not set shrink flag for 3/4 component images
32425dd96 allow more decoders for fuji-rotated RAWs
REVERT: 1ef70158d 0.21.2 release
REVERT: 62f042366 tag type => tag size mapping fixed
REVERT: ee087e3fe cubic_spline: better handling of non-integer data
REVERT: af755b991 extra metadata check in arq_load_raw
REVERT: 0fadd8819 Better incorrect data handling in cubic_spline
REVERT: d7fb66053 skip invalid pattern in xtrans_interpolate
REVERT: d059ed280 Check HL recovery coeffs before processing
REVERT: 104730519 limit wavelet denoise minimum size
REVERT: cae09838e raw-identify: use fallback if PATH_MAX not available
REVERT: d6c677608 additional check against corrupted ljpeg layout
REVERT: 1001a6ac1 Disable color conversion for Canon 16-bit thumbnails
REVERT: a5130b01b docs/changelog: explained the case when no thumbnail is found in specific file
REVERT: 600c0c63d rename swapXX to libraw_swapXX to avoid name conflict
REVERT: 299c8a11b Check against corrupted LJPEG header in Canon sRAW decoder
REVERT: ec8671ad9 Limit embedded color profile allocation/read size
REVERT: 5229d5942 Wrong alloc result check for 16-bit bitmap thumbnail
REVERT: b278b775f check pana_data/buffer offset before use
REVERT: 7f4b8d3af Check P1 quadrant linearization coeff[15] against zero
REVERT: e942a7db6 avoid integer overflow in buffer space check
REVERT: f6a57cfb8 prevent buffer overrun in buffer_datastream::scanf_one
REVERT: 3e62ed304 ensure correct T.tlength for 16b bitmap thumbnails(2)
REVERT: 8e52d81cd ensure correct T.tlength for 16b bitmap thumbnails
REVERT: 8e1af15e2 Do not run sraw decoder on (crafted) bayer files
REVERT: 0ace959c2 better striped thumbnails handling
REVERT: 477e0719f do not set shrink flag for 3/4 component images
REVERT: c8efae6c5 allow more decoders for fuji-rotated RAWs

git-subtree-dir: rtengine/libraw
git-subtree-split: 12b0e5d60c57bb795382fda8494fc45f683550b8
2024-04-13 22:44:59 -07:00
xiota
775f7cbd03 Add missing dep to codeql workflow 2024-04-14 05:22:24 +00:00
xiota
aff8de59ea Add libjxl to codeql workflow 2024-04-14 03:13:03 +00:00
xiota
9cd5ebbf37 Add libjxl to appimage workflow 2024-04-14 02:08:02 +00:00
Lawrence37
9e42a67f58
Merge pull request #7015 from sgotti/imageio_fix_png_with_transparency
imageio: fix issues/crash on png with transparency
2024-04-13 16:51:59 -07:00
Lawrence Lee
eaabf66e9c
Register icons folder for Windows installer 2024-04-12 22:36:08 -07:00
xiota
79450113b4 Add libjxl to workflow depends lists 2024-04-12 22:02:37 +00:00