Commit Graph

96 Commits

Author SHA1 Message Date
Hombre
d7f7c06f10 Whean read, 32 bits tiff image data are not scaled anymore
So the highlights above the 1.0 upper limit will be clipped but colors
will be preserved. Fix #4379
2018-02-09 22:25:40 +01:00
Morgan Hardwood
09c4572402 Fix corrupt 32-bit compressed TIFF
Match endianness of pixel data with endianness of Exif metadata when
saving compressed 32-bit float TIFF.
Fixes #4377
2018-02-07 17:10:57 +01:00
heckflosse
d6f1b3e6f6 Fix resource leak reported by Coverity (CID 186465) 2018-01-12 16:12:11 +01:00
Hombre
91e494a709 Fix issue #4291 : "Bug when edit current image in external editor"
Is also add metadata to the "ICC Reference image" (ICM tool).
2018-01-10 18:22:50 +01:00
Alberto Griggio
e29e9ca0d8 Fixed segfault when saving reference image (due to metadata in TIFF not present)
Fixes #4289
2018-01-10 17:38:18 +01:00
Hombre
ee2c8f01e0 Merge branch 'dev' into tiff32float 2018-01-01 15:24:00 +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
Alberto Griggio
7dea8a3ea8 added support for writing metadata in PNG files
Fixes #3352
2017-12-28 22:26:22 +01:00
Alberto Griggio
527f41c254 embed the output profile when writing PNG files
Fixes #4262
2017-12-28 22:25:04 +01:00
Alberto Griggio
0e9aab579e Extract embedded ICC profile from PNG images
Fixes #4260
2017-12-27 22:55:00 +01:00
Hombre
5ea5cfd943 Fixing #4233 : "Segfault opening PREDICTOR_FLOATINGPOINT image"
Now compressed file use Deflate compression for all bit depth, and
PREDICTOR_HORIZONTAL for 8/16 bit integer images, and
PREDICTOR_FLOATINGPOINT for 32 bits float images.
2017-12-19 22:28:52 +01:00
Alberto Griggio
912f9f436b added support for 32-bit floating-point TIFF output 2017-11-20 00:11:18 +01:00
heckflosse
5ddd42f721 Faster png save with still good compression, fixes #4045 2017-11-18 12:56:37 +01:00
heckflosse
01ffd294b2 Use rtengine::min/max instead of std::min/max(std::min/max(, patch by Flössie 2017-07-13 13:30:29 +02:00
heckflosse
8aff354df9 Fix some coverity and cppcheck issues 2017-06-18 18:40:40 +02:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
heckflosse
9b5f429602 Fixed another bunch of warnings 2017-04-03 21:01:28 +02:00
heckflosse
21b1a34c24 Fix all warnings in imageio.cc 2017-03-31 13:36:17 +02:00
Hombre
c654785ae3 Merge branch 'dev' into rt-cli 2017-03-18 18:17:45 +01:00
Flössie
97caf21b5c PIMPLed and streamlined ICCStore (#3691) 2017-03-18 11:59:14 +01:00
Flössie
d2b4fe5e54 Merge branch 'std_cpp11-dev' into dev (fixes #3635) 2017-02-21 20:37:21 +01:00
Flössie
e9b5f42a9f Sanitize ImageDimensions base class
- Make `width` and `height` private
- Drop `getW()` and `getH()`
- Clean `PreviewProps`
2017-02-14 21:23:54 +01:00
Flössie
88336cb897 Make RT build without __USE_MISC and __USE_XOPEN 2017-02-14 21:02:39 +01: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
4649e1306f Fix #3619 and some minor clean-ups 2017-01-22 19:28:46 +01:00
FelixJongleur42
62451f471f issue 3598 and 2289 - util functions to determine file types by ending 2017-01-20 21:14:02 +01:00
Flössie
c5bef4f3bc Make ImageIO load grayscale JPGs and TIFFs (#3515) 2016-11-28 20:57:19 +01:00
Flössie
730c03785d Reapplied clang-tidy filters
- modernize-use-nullptr
- modernize-redundant-void-arg
- readability-simplify-boolean-expr
- misc-redundant-expression
- readability-redundant-control-flow
- readability-avoid-const-params-in-decls
2016-10-18 18:16:05 +02:00
Hombre
81c5b1ca41 Cancelling a 32 bits Tiff workaround, now the Gamma value from embedded
ICC profile is correctly handled
2016-10-11 23:21:41 +02:00
Ingo Weyrich
36f2c4db59 Merge pull request #3375 from Beep6581/fix_all_cppcheck_performance_hints
Fix cppcheck performance hints
2016-07-08 12:42:34 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
Morgan Hardwood
3d6f9407a2 Updated help and man page, #3369 2016-07-05 23:07:58 +02:00
heckflosse
1bf2f87cdc Exif lost when saving compressed tiff from raw on windows builds, fixes #3370 2016-07-05 15:05:03 +02:00
heckflosse
1a0b96b223 Remove some top level tags when saving to uncompressed tiff, also simplified generation of 'Software' tag 2016-07-04 19:28:04 +02:00
heckflosse
87e1914b9d Fix buffer overrun writing uncompressed tiff 2016-07-03 16:06:07 +02:00
heckflosse
2710bcdcec Fix a warning and a crash 2016-07-02 23:03:58 +02:00
heckflosse
e4a7287650 Removed StopWatches and cleaned code 2016-06-18 16:04:54 +02:00
heckflosse
88685c66f6 SSS3 code to speedup save to 8bit formats (mainly for 8bit tiff and jpeg) 2016-06-17 17:56:34 +02:00
Adam Reichold
a2eea7c265 Finally fully remove the safegtk module. 2016-02-21 10:26:11 +01:00
Adam Reichold
1297f4b2ec Move the UTF-8 string conversion helper to their respective places of use. 2016-02-21 10:20:21 +01:00
Adam Reichold
0eab0ebd94 Move the two low-level file I/O helper to their respective single place of usage. 2016-02-21 10:12:56 +01:00
Adam Reichold
747a28014b Begin removing simple pass-through wrapper for POSIX-style file system functions from safegtk module. 2016-02-21 10:07:57 +01:00
heckflosse
842f508088 Crash when saving to uncompressed tiff using a huge output profile 2015-08-15 17:44:46 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
DrSlony
effb46c3e1 Line endings 2015-08-11 11:53:44 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00