Simone Gotti bd118a4a40
dcraw: use the right black levels for linear DNGs (#6444)
Linear dng (like the one created by Adobe DNG Converter) contains
multiple tiff subifd with different kind of images (the Primary Image
and multiple previews), these defines different kind of black levels.

Currently dcraw has a global cblack array that is overwritten by the
last parsed tiff ifd. With such kind of linear dng it's the last subifd.
The causes the use of the wrong black levels with the image having
usually a magenta color cast.

The dng spec uses the NewSubFileType tag to define the primary image
with tag value as 0.
This patch reads also the NewSubFileType tag and populates the cblack
array provided by the other tags only if it's the primary image.
2022-03-26 11:28:05 +01:00
2022-02-13 11:41:55 -08:00
2021-08-13 14:37:29 +02:00
2015-08-09 20:56:10 +02:00
2021-05-07 07:44:39 +02:00
2020-01-31 01:26:27 +01:00
2021-02-01 10:22:38 +01:00
2019-09-10 12:41:29 +02:00
2020-02-28 19:20:40 +01:00
2019-06-03 17:38:50 -04:00

RawTherapee logo

RawTherapee is a powerful, cross-platform raw photo processing program, released as libre software under the GNU General Public License Version 3. It is written mostly in C++ using a GTK+ front-end. It uses a patched version of dcraw for reading raw files, with an in-house solution which adds the highest quality support for certain camera models unsupported by dcraw and enhances the accuracy of certain raw files already supported by dcraw. It is notable for the advanced control it gives the user over the demosaicing and development process.

Target Audience

RawTherapee is designed for developing raw files from a broad range of digital cameras, as well as HDR DNG files and non-raw image formats (JPEG, TIFF and PNG). The target audience ranges from enthusiast newcomers who wish to broaden their understanding of how digital imaging works to semi-professional photographers. Knowledge in color science is not compulsory, but it is recommended that you are eager to learn and ready to read our documentation (RawPedia) as well as look up basic concepts which lie outside the scope of RawPedia, such as color balance, elsewhere.

Professionals may use RawTherapee as well while enjoying complete freedom, but will probably lack some peripheral features such as Digital Asset Management, printing, uploading, etc. RawTherapee is not aimed at being an inclusive all-in-one program, and the open-source community is sufficiently developed by now to offer all those peripheral features in other specialized software.

Website: https://www.rawtherapee.com/

Forum: https://discuss.pixls.us/c/software/rawtherapee

Features: https://rawpedia.rawtherapee.com/Features

Documentation: https://rawpedia.rawtherapee.com/

Download RawTherapee: https://www.rawtherapee.com/downloads

Download source code tarballs: https://www.rawtherapee.com/shared/source/

Compilation, Branches and Git

Refer to RawPedia for a detailed explanation of how to get the necessary dependencies and how to compile RawTherapee.

Linux: https://rawpedia.rawtherapee.com/Linux

Windows: https://rawpedia.rawtherapee.com/Windows

macOS: https://rawpedia.rawtherapee.com/macOS

Description
RawTherapee fork, WIP, adding keyboard shortcuts
Readme SSPL-1.0 194 MiB
Languages
C++ 91.6%
C 5.1%
CSS 1.1%
HTML 1.1%
CMake 0.4%
Other 0.5%