63 Commits

Author SHA1 Message Date
Ingo Weyrich
ffa461d3de Bottleneck when loading Panasonic RW2 files, #5517 2019-11-07 18:47:11 +01:00
Ingo Weyrich
cac2eb53ef Further reduction of include dependencies 2019-10-31 20:41:08 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
17f343f682 add -Wcast-qual switch and fix all related warnings 2019-07-25 17:45:43 +02:00
lewiatan
105517c561 support rating tag from EXIF/XMP 2019-05-16 17:04:07 -07:00
Flössie
9fe6bcaab1 Merge branch 'dev' into relax-procparam-dependency 2019-03-10 12:54:04 +01:00
Flössie
d89364fcc0 Fix Exif parsing for old Canons (ported by @Beep6581, fixes #4843) 2019-03-10 11:40:05 +01:00
Flössie
70475f781a Derive lens name from 0xA434 and 0xA433 if other means fail (#5157)
Implemented for
- Pentax
- Canon
- "Unknown"

Also constified `toString()` methods in `rtexif`.
2019-03-07 19:29:11 +01:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
heckflosse
52ddc63f54 Fix coverity issues 2018-11-23 00:33:30 +01:00
heckflosse
944b901a65 Fix some coverity issues, next try... 2018-11-22 22:07:39 +01:00
heckflosse
c667ec4a38 Fix some coverity issues 2018-11-22 13:41:10 +01:00
heckflosse
7f32010895 Fix coverity issues 2018-11-21 16:21:05 +01:00
heckflosse
0e8069c1d8 Fix another coverity issue 2018-11-21 00:37:55 +01:00
heckflosse
c9044485a6 Fix some coverity issues 2018-11-19 21:49:51 +01:00
Hombre
c5ad03c9cc Better support of TIFF's SubFileType tag and alpha channel
Fix issue #4868
2018-10-15 22:48:37 +02:00
Hombre
ec2181f7ff Fix #4532, Fix #4533 : Pentax HDR/PEF and 16/24 bits float support 2018-05-06 17:14:44 +02:00
Hombre
5e10f1133b Fix UTF16 support for EXIF.UserComment on behalf of floessie
Issue reported here
https://discuss.pixls.us/t/call-for-testing-rawtherapee-5-4-rc2/6828/9
2018-03-03 16:03:15 +01:00
Morgan Hardwood
4579d4be14 Fixes memory leak in ExifManager::parse
Fixes #4375
2018-02-07 14:51:12 +01:00
Hombre
2f1ab34ef1 Attempt to fix clang warnings in rtexif/stdattribs.cc (see #2017)
https://github.com/Beep6581/RawTherapee/issues/2017#issuecomment-361060194
2018-01-28 14:47:56 +01:00
Hombre
ee2c8f01e0 Merge branch 'dev' into tiff32float 2018-01-01 15:24:00 +01:00
Hombre
9d2ccc19d3 Better UNICODE support (UCS-2/UTF-8) for Exif.UserComment (#2017)
- BOM is now checked and correctly handled
- auto-detection of UTF-8 string if no BOM available, otherwise assume
it's an UCS-2/UTF-16 string
- try to autodetect endianess of UTF-16 string by counting zeros
- possibility to enable writing BOM for this field (disabled for now)
- for undefined charset (empty identifier), RT now assume that the
string is what glib think is the local charset (not tested), and try to
convert it to UTF-8 for display/editing

JIS is still not handled though.
2018-01-01 14:24:47 +01:00
Hombre
96863bb956 Sets UTF-8 as default charset for IPTC + suppress one of the 2 methods
for saving TIFF images.
2018-01-01 13:51:48 +01:00
Flössie
0b7b1d6ab3 Fix null pointer dereference (as hinted by Coverity)
Plus some `const` fixes.
2018-01-01 12:13:29 +01:00
Hombre
32d0a934f4 Fix #4265: "Segfault saving image with edited metadata" 2017-12-31 00:48:33 +01:00
Alberto Griggio
7dea8a3ea8 added support for writing metadata in PNG files
Fixes #3352
2017-12-28 22:26:22 +01:00
Hombre
157da7f9ba Merge branch 'dev' into tiff32float 2017-12-20 00:21:23 +01:00
Flössie
caa68ff49b (Try to) fix warnings that popped up in #4223
The only place I don't know how to fix is the
`-fvar-tracking-assignments` warning in `ProcParams::save()` as
there is nothing to constify.
2017-12-14 20:42:45 +01:00
heckflosse
4cc7861125 Fix wrong cast 2017-12-09 11:54:23 +01:00
heckflosse
a3d59a864a heap-buffer-overflow, fixes #4217 2017-12-08 20:40:03 +01:00
Alberto Griggio
912f9f436b added support for 32-bit floating-point TIFF output 2017-11-20 00:11:18 +01:00
Hombre57
2ef064f7d4 Various bugfix (see #4008) :
1. RT could crash in some circumstances with single frame image
2. UNICODE UserComment now done when already existing in raw file
3. When editing UserComment in the ExifPanel, the Value filed is now
filled with the current value
2017-10-07 00:43:45 +02:00
Hombre57
bb874bcce7 Bigfix (see #4008) :
- CIECam now gets the shot's setting of the selected frame
- 'UserComment' metadata now correctly handled
- RT prepared to handle XTrans multiframe
- SensorType now set in the cache/data files
2017-10-04 23:27:08 +02:00
Hombre57
6c988e94d4 FileBrowser now detects the 2 frames from DualPixel Canon files
The QuickInfo frame from the EditorPanel now display the number of frame
contained in the image file if > 1 

See #4008
2017-09-18 21:30:42 +02:00
Hombre57
17c7ec684d PixelShift detection for PEF files was broken (see #4008) 2017-09-17 23:05:34 +02:00
Hombre57
ee0bff4124 Updated frame handling with any type of hierarchy (see #4008)
Images can now be detected in nested IFDs or as root IFDs.
2017-09-16 22:30:07 +02:00
Hombre57
d5e4980c08 Adding Floessie's patch to use std::unique_ptr (issue #4008) 2017-08-12 19:21:29 +02:00
Hombre57
1a296b763f Correction as discussed in commit review (see also issue #4008) 2017-08-10 00:50:26 +02:00
Hombre57
f23be9345c Add multi-frame handling.
- Exif of all frames are displayed in the Editor's Exif tab (without
separator)
- isHDR and isPixelShift is added to the data files stored in cache
- In the Editor panel, the QuickInfo frame display the HDR and
PixelShift information, as well as the number of frame and bit-depth for
HDR image
- the number of frame is provided by dcraw. If not set, it is provided
by the Exif's main IFD count
- the PixelShift information (for Pentax as of now) is provided by
looking at the Exif informations
- the HDR information is provided by the Exif information of the first
frame for Pentax raw files, or by the bitspersample, sampleformat and
compression tags for other files

TODO: add icons to the thumbnails to tag HDR and PixelShift files.
2017-08-08 23:42:05 +02:00
heckflosse
240d81d49f Fix some coverity issues 2017-06-20 00:00:19 +02:00
heckflosse
0088a4d3e8 Fix some coverity issues 2017-06-15 23:30:04 +02:00
heckflosse
97e558a040 Fixed some coverity issues 2017-06-12 17:54:34 +02:00
Morgan Hardwood
22875bed9d Merge branch 'dev' of https://github.com/t0pu/RawTherapee into t0pu-dev 2017-04-18 21:49:48 +02:00
Morgan Hardwood
cb4e6c83dd Merge branch 'dev' into exiftool1049 2017-04-18 21:00:42 +02:00
topu
f2b0efecce Show lens used on Panasonic cameras 2017-04-17 17:12:06 +02:00
heckflosse
931db7ab4e Fix wrong focal length for Pentax K200D, as reported in #3654 2017-04-16 23:48:20 +02:00
heckflosse
34be802c92 Fix wrong focal length for Pentax 645Z and Pentax K100D Super, as reported in #3654 2017-04-16 23:04:32 +02:00
Morgan Hardwood
33a940cef4 astyled rtexif files, #3802 2017-04-15 21:36:53 +02:00
Morgan Hardwood
e5c00f0a9d Complete revision to how RawTherapee's version is handled in CMake and in other files, #3628 2017-01-27 15:33:05 +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