forked from LibRaw/LibRaw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog.txt
executable file
·1763 lines (1376 loc) · 72.3 KB
/
Changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2017-02-12 Alex Tutubalin <[email protected]>
* 0.19-Snapshot-20170212
* Fuji compressed decoder updated to handle Bayer compressed data (GFX 50s)
* Camera support:
Fujifilm: GFX50s, X100f, X-T20
Leica M10
Nikon D5600, B700
Panasonic FZ80/82, GX800/850
* Added several C-API calls to access parts of libraw public structures
* Source completely reformatted using clang-format
* New LibRaw::open_bayer call allows to pass sensor dump w/o metadata directly to LibRaw:
virtual int open_bayer(unsigned char *data, unsigned datalen,
ushort _raw_width, ushort _raw_height, ushort _left_margin, ushort _top_margin,
ushort _right_margin, ushort _bottom_margin,
unsigned char procflags, unsigned char bayer_pattern, unsigned unused_bits, unsigned otherflags,
unsigned black_level);
Parameters:
data, datalen - buffer passed
width/height/margins - speaks for itself
procflags:
for 10-bit format:
1: "4 pixels in 5 bytes" packing is used
0: "6 pixels in 8 bytes" packing is used
for 16-bit format:
1: Big-endian data
bayer_pattern: one of LIBRAW_OPENBAYER_RGGB,LIBRAW_OPENBAYER_BGGR,
LIBRAW_OPENBAYER_GRBG,LIBRAW_OPENBAYER_GBRG
unused_bits: count of upper zero bits
otherflags:
Bit 1 - filter (average neighbors) for pixels with values of zero
Bits 2-4 - the orientation of the image (0=do not rotate, 3=180, 5=90CCW, 6=90CW)
black_level: file black level (it also may be specified via imgdata.params)
see samples/openbayer_sample.cpp for usage sample (note, this sample is 'sample only', suited for
Kodak KAI-0340 sensor, you'll need change open_bayer() params for your data).
2016-12-27 Alex Tutubalin <[email protected]>
* Licensing changes:
- there is no 'LibRaw Software License 27032010' licensing anymore (and all signed
agreements have expired)
- LibRaw is now dual-licensed: LGPL 2.1 or CDDL 1.0
* Camera support (+87):
Apple: iPad Pro, iPhone SE, iPhone 6s, iPhone 6 plus, iPhone 7, iPhone 7 plus
BlackMagic Micro Cinema Camera, URSA, URSA Mini
Canon PowerShot G5 X, PowerShot G7 X Mark II, PowerShot G9 X,
IXUS 160 (CHDK hack), EOS 5D Mark IV, EOS 80D, EOS 1300D, EOS M10, EOS M5,
EOS-1D X Mark II
Casio EX-ZR4000/5000
DXO One,
FujiFilm X-Pro2, X70, X-E2S, X-T2
Gione E7
GITUP GIT2
Google Pixel,Pixel XL
Hasselblad X1D, True Zoom
HTC MyTouch 4G, One (A9), One (M9), 10
Huawei P9
Leica M (Typ 262), M-D (Typ 262), S (Typ 007), SL (Typ 601), X-U (Typ 113), TL
LG G3, G4
Meizy MX4
Nikon D5, D500, D3400
Olympus E-PL8, E-M10 Mark II, Pen F, SH-3, E-M1-II
Panasonic DMC-G8/80/81/85, DMC-GX80/85, DMC-TZ80/81/85/ZS60, DMC-TZ100/101/ZS100,DMC-LX9/10/15, FZ2000/FZ2500
Pentax K-1, K-3 II, K-70
PhaseOne IQ3 100MP
RaspberryPi Camera, Camera V2
Ricoh GR II
Samsung Galaxy S7, S7 Edge
Sigma sd Quattro
Sony A7S II, ILCA-68 (A68),ILCE-6300,DSC-RX1R II,DSC-RX10III, DSC-RX100V,ILCA-99M2 (A99-II), a6500
IMX214, IMX219, IMX230, IMX298-mipi 16mp, IMX219-mipi 8mp, Xperia L
PtGrey GRAS-50S5C
YUNEEC CGO4
Xiaomi MI3, RedMi Note3 Pro
* Floating point DNG support:
- new data fields:
imgdata.rawdata.float_image - bayer float data
imgdata.rawdata.float3_image - 3-component float data
imgdata.rawdata.float4_image - 4-component float data
imgdata.color.fmaximum - float data maximum (calculated from real data,
rounded to 1.0 if below 1.0)
- new raw processing flag
LIBRAW_PROCESSING_CONVERTFLOAT_TO_INT - converts float data to 16-bit
integer immediately after decoding with default parameters
- new API Calls:
int LibRaw::is_floating_point() returns non-zero if RAW file contains
floating point data
int LibRaw::have_fpdata() returns non-zero if rawdata.float*_image is not
null (so FP data has been unpacked but not converted to integrer, see below).
LibRaw::convertFloatToInt(float dmin=4096.f, float dmax=32767.f, float dtarget = 16383.f)
converts float/float3/float4_image to raw_image/color3/color4_image with or without scaling:
- if both real data maximum and metadata maximum are within the range ( >= dmin && <=dmax), float
data is just converted to integer
- if data is out of the range given above, values are scaled so real data maximum becomes dtarget
- if data was rescaled (normalized), scale multiplier is stored in imgdata.color.fnorm
* LibRaw can be built with Adobe DNG SDK support to decode exotic DNG formats (e.g. 8 bit).
See README.DNGSDK.txt for details
* New API calls
unsigned LibRaw::capabilities and C-API libraw_capabilities()
allows developers to determine LibRaw compile flags at runtime.
Returns ORed bit fields:
LIBRAW_CAPS_RAWSPEED - LibRaw was compiled with RawSpeed Support
LIBRAW_CAPS_DNGSDK - LibRaw was compiled with Adobe DNG SDK
LIBRAW_CAPS_DEMOSAICSGPL2, LIBRAW_CAPS_DEMOSAICSGPL3 - LibRaw was compiled with demosaic packs (GPL2/GPL3)
* More metadata parsed:
- White balance coefficients stored in the raw file are extracted into:
int imgdata.color.WBCoeffs[256][4] - array indexed by EXIF lightsource type
for example, WBCoeffs[21][..] contains coefficients for D65 lightsource
float imgdata.color.WBCT_Coeffs[64][5] contains white balance data specified
for given color temperature: WBCT_Coeffs[i][0] contains temperature value,
and [1]..[4] are WB coefficients.
- DNG analog balance, per-channel black/white level, and forward matrix
- vendor specific metadata stored in vendor-specific data structures
* new C-API calls:
void libraw_set_user_mul(libraw_data_t *lr,int index, float val);
void libraw_set_ca_correction(libraw_data_t *lr,int ca_correc, float ca_red, float ca_blue);
void libraw_set_cfalinenoise(libraw_data_t *lr,int cfaline, float linenoise);
void libraw_set_wf_debanding(libraw_data_t *lr, int wf_debanding, float wfd0, float wfd1, float wfd2, float wfd3);
void libraw_set_interpolation_passes(libraw_data_t *lr,int passes);
* Existing API changes:
imgdata.params fields (all very specific purpose): sony_arw2_options, sraw_ycc, and params.x3f_flags
replaced with single bit-field raw_processing_options
See LIBRAW_PROCESSING_* bits in documentation.
* zlib library is optional
Use -DUSE_ZLIB to compile with zlib (to provide deflate DNG support)
* libjpeg version: jpeg_mem_src() is mandatory, so use libjpeg-turbo
or libjpeg 8+
* Fixes in vng_intepolate to make modern compilers happy
* Fixed bug in Sony SR2 files black level
* DNG files with BlackLevel both in vendor makernotes and BlackLevel:
BlackLevel tag always takes precedence
* strlen replaced with strnlen in most cases, added local version of strnlen
* ChannelBlackLevel added to canon makernotes
* unpack_thumb() data size/offset check against file size
2015-08-15 Alex Tutubalin <[email protected]>
* LibRaw 0.17
* Fixed dcraw.c ljpeg_start possibly buffer overrun
* fixed several bugs detected by using American Fuzzy Lop
* C-API extension to support 3DLut Creator
* More metadata parsing/extraction:
- XMP packet extracted (if exists)
- DNG Color information parsed
- GPS data (partially) parsed
- EXIF/Makernotes parsed for used optics (for both RAW files and DNG converted by Adobe convertor).
* Exif/Makernotes parser callback (called for each processed tag)
* Sony ARW2.3 decoder:
- params.sony_arw2_hack removed, decoded data are always in 0...17k range (note the difference with dcraw!)
- Additional processing options for Sony lossy compression techincal analysis.
* Dcraw 9.26 imported (but some changes not approved because Libraw do it better) with some exceptions:
- no Pentax K3-II frame selection code
- no built-in JPEG decompressor
* Many improvements in data decoding/processing:
- Correct decoding of black level values from metadata for many formats, LibRaw do not rely on hardcoded black levels.
* 224 camera models added to supported camera list.
Some of them are new (released since LibRaw 0.16 come out), some was supported before, but missed from the list.
Added cameras are:
Alcatel 5035D
BlackMagic Pocket Cinema Camera, Production Camera 4k
Canon PowerShot A550, A3300 IS, G1 X Mark II, G7 X, SD950, SX60 HS, EOS 7D Mark II, EOS 20Da, EOS 60Da, EOS 1200D, EOS-1D C, 5DS, 5DS R, 750D, 760D, M2, M3, G3 X
Casio EX-FC300S, EX-FC400S, EX-Z1080, EX-ZR700, EX-ZR710, EX-ZR750, EX-ZR800, EX-ZR850, EX-ZR1000, EX-ZR1100, ZR1200, ZR1300, EX-ZR1500, EX-100, EX-10
Digital Bolex D16,D16M
DJI 4384x3288,
Epson R-D1s, R-D1x
FujiFilm E505,S1,S205EXR,HS10,HS11,HS22EXR,HS33EXR,HS35EXR,F505EXR,F605EXR,F775EXR,F900EXR,X100T,X30,X-T1,X-T1 Graphite Silver, XQ2, X-A2, X-T10
Hasselblad H5D-60, H5D-50,H5D-50c,H5D-40,H4D-60,H4D-50,H4D-40,H4D-31,H3DII-22,H3DII-31,H3DII-39,H3DII-50,H3D-22,H3D-31,H3D-39,H2D-22,H2D-39,CF-22,CF-31,CF-39,Stellar II,HV
HTC UltraPixel
Imacon Ixpress 96, 96C, 384, 384C (single shot only),132C, 528C (single shot only)
ISG 2020x1520
Ikonoskop A-Cam dII Panchromatic, A-Cam dII
Kinefinity KineMINI, KineRAW Mini, KineRAW S35
Kodak DCS460D, S-1
Leaf Credo 50
Lenovo a820
Leica Digital-Modul-R, D-Lux (Typ 109), M (Typ 240), Monochrom (Typ 240), M-E, M-P, R8, S, T (Typ 701), X (Typ 113), X2, X-E (Typ 102), V-Lux (Typ 114), Monochrom (Typ 246), Q
Matrix 4608x3288
Nikon D4s, D600, D610, D750, D800, D800E, D810, D3300, D5500, Df, 1 J4, 1 S2, 1 V3, Coolpix P340, Coolscan NEF, D7200, 1 J5,D810A
Nokia 1200x1600
Olympus E-450, E-600, E-PL6, E-PL7, E-M1, E-M10, E-M5 Mark II, SP565UZ, STYLUS1s, SH-2, TG-4, AIR-A01
Panasonic DMC-CM1, DMC-FZ7, DMC-FZ70, DMC-FZ1000, DMC-GF7, DMC-GH4, AG-GH4, DMC-GM1s, DMC-GM5, DMC-LX100, DMC-TZ60/61/SZ40, DMC-TZ70, FZ300/330, GX8
Pentax GR, K110D, K-01, K-S1, Q, QS-1, 645Z, K-S2, K3 II
PhaseOne IQ250, IQ260, IQ260 Achromatic, IQ280, Achromatic+, P 20+, P 21, P 25+, P 30+, P 40+
Ricoh GXR MOUNT A12, GXR MOUNT A16 24-85mm F3.5-5.5, GXR, S10 24-72mm F2.5-4.4 VC, GXR, GR A12 50mm F2.5 MACRO, GXR, GR LENS A12 28mm F2.5, GXR, GXR P10
Samsung GX-1L, NX1, NX5, NX1000, NX1100, NX30, NX300, NX300M, NX3000, NX mini, Galaxy S3, Galaxy Nexus, NX500
Sigma dp1 Quattro, dp2 Quattro, dp3 Quattro, dp0 Quattro
Sinar eMotion 22, eMotion 54, eSpirit 65, eMotion 75, eVolution 75, Sinarback 54
Sony A7 II, A7S, ILCA-77M2 (A77-II), ILCE-3000, ILCE-5000, ILCE-5100, ILCE-6000, ILCE-QX1, DSC-RX100III, DSLR-A560, NEX-VG20, NEX-VG30, NEX-VG900, IMX135-mipi 13mp, IMX135-QCOM, IMX072-mipi, RX100-IV, A7R-II, RX10-II
* Fujifilm F700/S20Pro second frame support
2014-02-01 Alex Tutubalin <[email protected]>
* Updated Oly E-M10 & Panasonic TZ60/61 color data
* Updated foveon SD9-14 white level
* Support for 1x1 BlackLevelRepeatDim
2014-01-31 Alex Tutubalin <[email protected]>
* imported dcraw 1.461: fixed error in BlackLevelDim handling
* Accurate work with pattern black-level (cblack[6+])
* Support for Olympus E-M10 and Fujifilm X-T1
* Adjusted possbile maximum value for Sigma SD9 small raws
2014-01-27 Alex Tutubalin <[email protected]>
* dcraw 1.460: Nikon D3300, Panasonic DMC-TZ61, Sony ILCE-5000
2014-01-25 Alex Tutubalin <[email protected]>
* PhaseOne IQ250 support (both compressed and uncompressed)
2014-01-21 Alex Tutubalin <[email protected]>
* imgdata.params.sony_arw2_hack removed.
It always on for ARW2-files.
* New imgdata.params.sony_arw2_options processing flags
Values:
LIBRAW_SONYARW2_NONE - normal processing
LIBRAW_SONYARW2_BASEONLY - BASE pixels outputeed, delta pixels set to 0
LIBRAW_SONYARW2_DELTAONLY - Delta pixels written to raw data, base pixels zeroed
LIBRAW_SONYARW2_DELTAZEROBASE - Only deltas written without base offset
2014-01-20 Alex Tutubalin <[email protected]>
* Imported dcraw 9.20:
- Support for DNG BlackLevelRepeatDim tags
- imgdata.color.cblack[] holds variable BlackLevel for DNG files (up to ~4k values)
- imgdata.params.use_camera_matrix is now ON by default. Set it to 3 if you want
to force use of DNG embedded matrix.
- Tone curve for Canon RMF format supported
- Color data for Canon C500
* Additional camera support:
Alcatel 5035D
DJI 4384x3288
Fujifilm F900EXR
Kodak 12MP
Matrix 4608x3288
Nokia 1200x1600
Olympus E-PL6
Panasonic DMC-FZ7
2014-01-17 Alex Tutubalin <[email protected]>
* Camera support:
Added: Fujifilm XE2, XQ1
Color data updated: Nikon D4 1 AW1/J3, Fuji X-M2
Fixes: Nikon D610 visible image area, Canon A3300 bayer
pattern
* RawSpeed support: enabled processing for cameras,
unknown to RawSpeed
* Fixed error in LibRaw::unpack_thumb()
* little improve performance in my_strcasestr
* Fix compiler errors for VS2012/OpenMP
* Fixed typo which prevents to use Demosaic Pack GPL2
* LibRaw 0.16.0-Release
2013-11-15 Alex Tutubalin <[email protected]>
* New cameras supported
Leica C, X VARIO
Nikon D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus STYLUS1
Pentax K-3
Sony RX10, A3000 (ILCE-3000),
* Color data updated:
Canon S120
Nikon P7800, 1 J3
Olympus E-M1
* Corrected image visible area sizes
Canon G16
Sigma pre-Merrill cameras: small and medium-sized RAWs
* Better EXIF parsing:
- ISO values for new Nikon cameras (D4, D800)
- black level extraction for Nikon D5300
- correct Olympus color data conversion
* Better Visual Studio compatibility (esp. old versions)
* Cmake build: added ws2_32 library for MinGW builds
* LibRaw 0.16.0-Beta1
2013-10-22 Alex Tutubalin <[email protected]>
* Support for new cameras:
Sony A7, A7R
Panasonic GM1
* Sony RX1R and RX100M2 color data updated.
* Sony cameras model name is set by SonyModelID EXIF tag
* Sony ARW2: black level and color matrix extracted from EXIF data
* Samsung: black level and color matrix extracted from EXIF;
Camera multipliers are now extracted correctly even if black is not 0
* Better source compatibility with Mac OS X compilation
* Better source compatibility with Win32 compilation
* DNG without Compression tag assumed uncompressed
* Better X3F-tools based Foveon support:
- new Foveon metadata parser based on X3F-tools. So, if LibRaw compiled
without demosaic-pack-GPL2, then no dcraw Foveon code used.
- Support for Medium resolution RAWs from DPx Merrill and SD1 cameras.
RAW data extracted as is (4800x1600 pixels), aspect ratio is set to
0.5, so these RAWs are processed to full-size 4800x3200 RGB.
- Support for Foveon thumbnail extraction. Only JPEG and bitmap
thumbnails extracted, but 'foveon' (RAW) thumbnails are really not used
in production cameras.
- New imgdata.params.force_foveon_x3f flag
Forces use of x3f-tools based code for Foveon processing if LibRaw
compiled with demosaic-pack-GPL2 (and does nothing if LibRaw compiled
without this pack).
New flag -disadcf added to dcraw_emu sample to use this flag.
- LibRaw do not calls exit() on broken Foveon files.
* API/ABI changed, so all code using LibRaw should be recompiled.
* LibRaw 0.16.0-Alpha3
2013-10-16 Alex Tutubalin <[email protected]>
* Support for new cameras:
Canon S120 (preliminary color data), G16
Fujifilm X-A1 (preliminary color data)
Hasselblad Lunar, Stellar
Nikon P7800 (preliminary color data)
Pentax K50, K500, Q7
Samsung Galaxy NX (EK-GN120)
Sony NEX-5T
* Updated color data for:
Samsung NX300
Sony RX1R
Sigma SD1, SD1 Merrill, DPxx (only if non-GPL2 foveon decoder used)
* Image dimensions table for Foveon cameras (only if
non-GPL2 foveon decoder used)
* Fixed memory leak in x3f-tools code (new Foveon decoder)
* Fixed DHT-demosaic incompatibility with MS VisualStudio in OpenMP directives
* Additional image size checks.
* LibRaw 0.16-Alpha2
2013-09-22 Alex Tutubalin <[email protected]>
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500
Fujifilm X-M1
Nikon D5200
Olympus E-P5,E-M1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6
Richon GR
Samsung NX300, NX1100, NX2000
Sony RX100II, RX1R, NEX-3N
* Support for Foveon sensor based on X3F code by Roland Karlsson
BSD-like license, so included in main LibRaw code.
No 'foveon intepolation', so no way to get good colors from
old Sigma cameras (SD9, SD14, Polaroid x530). For modern Foveon cameras
one may try to create ICC profile (not supplied).
TODO: thumbnail extraction, fast cancelation
Old foveon_*_load_raw (from dcraw) code is used if compiled with
LIBRAW_DEMOSAIC_PACK_GPL2
* API Changes:
+ New parameters in imgdata.params:
- imgdata.params.no_interpolation - disables interpolation step in
LibRaw::dcraw_process() call.
- imgdata.params.no_auto_scale - disables call to scale_colors() in
LibRaw::dcraw_process() call.
- imgdata.params.sraw_ycc - disables Canon sRAW YCbCr to RGB conversion
in LibRaw::unpack() call (use for RAW analyzers
+ New Fuji X-Trans handling:
- imgdata.iparams.filters value is now 9 for Fuji X-Trans (instead of 2)
- imgdata.iparams.xtrans[6][6] matrix contains row/col to color mapping
for Fuji X-Trans sensor.
+ LibRaw::setCancelFlag() - use for fast decoder termination
+ LibRaw_abstract_datastream::make_byte_buffer() call is not needed more.
+ New demosaic code: DHT Demosaic by Anton Petrusevich
Set params.user_qual=11 to use.
+ New demosaic code: Modified AHD Demosaic by Anton Petrusevich
Set params.user_qual=12 to use.
+ New C-API call libraw_COLOR(libraw_data_t *t, int row,int col)
(so LibRaw::COLOR(row,col) exposed to C-API users)
* Removed faster lossless jpeg decoder ported from RawSpeed library
some years ago. Build LibRaw with RawSpeed to get fast decoding.
* Fixed decoding error for some Canon sRAW files.
* Disabled RawSpeed's bad pixel processing if RawSpeed used.
* EOS M and EOS 70D added to unique Canon ID table
* Canon EOS model name normalized by unique ID table
* Backported 0.15.4 input data checks
* Support for CMake builds
* Updated RawSpeed supported camera list
* Internals changed, so all code using LibRaw should be recompiled.
* LibRaw 0.16.0-Alpha1
2013-05-23 Alex Tutubalin <[email protected]>
LibRaw 0.15-Release
New camera/format support:
* Adobe DNG: fast Load DNG (LightRoom 4.x), support for
lossy-compressed DNG (LR 4.x, requires libjpeg 6+)
* Canon: G1 X, SX220 HS, EOS 5D Mark III, EOS 650D, EOS 1D-X,
100D (Rebel SL1), 700D (Rebel T5i), 6D, EOS M, G15, S110, SX50
* Casio: EX-ZR100,EX-Z8
* Fujifilm: X-S1, HS30EXR, X1-Pro,X-E1, X20, X100S, SL1000, HS50EXR,
F800EXR, XF1
* Leica: D-LUX6 and V-LUX4
* Nikon: D4, D3200, D800, D800E, 1 J2, 1 V2, D600, 1 J3, 1 S1, Coolpix A,
Coolpix P330, Coolpix P7700, D7100
* Olympus: E-M5, XZ-2, XZ-10, E-PL5, E-PM2
* Panasonic: G5, G6, DMC-GF5, FZ200, GH3, LX7
* Pentax: MX-1, K-5 II, K-5 IIs, K-30, Q10
* Samsung: EX2F, NX20, NX210, support for the new firmware for NX100
* Sigma: SD15, SD1, SD1 Merill, DP1, DP1S, DP1X, DP2, DP2S, DP2X
(only with Demosaic-pack-GPL2)
* Sony: SLT-A58, RX-1, SLT-A99, NEX-5R, NEX-6, NEX-F3, SLT-A37, SLT-A57
* Multishot files: Imacon Ixpress 39Mpix
API changes:
1. dcraw_process() can now be called several times with different parameters
without re-opening and unpacking the file for second and consecutive
calls to dcraw_process
2. deleted (nobody uses those)
- LibRaw::dcraw_document_mode_processing (and respective C-API)
- imgdata.color.color_flags data field
3. LibRaw::unpack() now decodes data into different buffers, the buffer
depends on the raw data type
- imgdata.rawdata.raw_image - 1 color component per pixel,
for b/w and Bayer type sensors
- imgdata.rawdata.color3_image - 3 color components per pixel,
sRAW/mRAW files, RawSpeed decoding
- imgdata.rawdata.color4_image - 4 components per pixel, the 4th
component can be void
4. Support for compiling with RawSpeed library, http://rawstudio.org/blog/?p=800
details are in README.RawSpeed
5. Suppression of banding
6. New API calls
- recycle_datastream(),
- open_file(wchar_t*) (Win32)
2012-04-05 Alex Tutubalin <[email protected]>
* Casio EX-Z500 support
* (possible) I/O exceptions on file open catched in open_datastream
* Fixed possible read-after-buffer in Sony ARW2 decoder
* Fixed mingw32 errors when compiling LibRaw_windows_datastream
* Makefile.msvc: support of OpenMP and LCMS (uncomment to use)
* Fixed decoding of some Leaf Aptus II files
* LibRaw 0.14.6-Release
2011-12-24 Alex Tutubalin <[email protected]>
* Fixed bug (uninitialized variable) in SMAL format decoding.
* Imported new dcraw 9.12 (1.446): support for Leica V-LUX 3,
updated color data for Canon S100, Fujifilm X10, Nikon 1 J1/V1,
Panasonic GX1, Samsung NX200, Sony NEX-7
* LibRaw 0.14.5-Release
2011-12-12 Alex Tutubalin <[email protected]>
* Fixes to Panasonic/Leica file parser to prevent crash
on broken jpegs.
* Fixes to include order in src/libraw_datastream.cpp to
better compile with KDEWIN
* Floating-point DNGs are rejected on early processing stage.
* Support for new cameras: Canon S100, Fuji X10, Panasonic GX1,
Samsung NX200, Sony NEX-7.
* LibRaw 0.14.4-Release
2011-10-26 Alex Tutubalin <[email protected]>
* Bug fixes in black level subtraction code for PhaseOne files
* New API call LibRaw::get_internal_data_pointer() for developers
who need access to libraw_internal_data fields (i.e.
Fuji SuperCCD layout).
* doc/API-overview fixes to reflect 0.14 changes
* LibRaw 0.14.3-Release
2011-10-19 Alex Tutubalin <[email protected]>
* Fixed bug in Canon 1D and 1Ds files decoding.
* New decoder information bit DECODER_HASRAWCURVE
* LibRaw 0.14.2-Release
2011-10-11 Alex Tutubalin <[email protected]>
* Imported dcraw 9.11/1.445:
+ Support for new cameras added: Fujifilm F600EXR, Nikon P7100,
Olympus E-PL3 and E-PM1, Panasonic DMC-FZ150, Sony NEX-5N,
A65 and A77.
+ Changed color data for: Olympus E-P3, Panasonic G3 and GF3,
PhaseOne H25, P40 and P65, Sony NEX-C3, NEX-5, NEX-3, A35 and A55.
+ Support for dark frame extraction on Sony cameras.
* DCB demosaicing: reserving 6 pixels instead of 3 to suppress
colored image frame.
* LibRaw 0.14.1-Release
2011-09-21 Alex Tutubalin <[email protected]>
* Cosmetic changes to make Visual C++/OpenMP more happy
* Fix megapixel calculation for postprocessing_benchmark in half mode
* Shlib version number increment
* LibRaw 0.14.0-Release
2011-09-04 Alex Tutubalin <[email protected]>
* Fixed bug with Kodak thumbnail extraction
* raw2image_ex() always return value
* LibRaw 0.14.0-Beta2
2011-09-02 Alex Tutubalin <[email protected]>
* Cosmetic changes to LibRaw_file_datastream interface
* OpenMP speedup of postprocessing steps (up to 50% for
half mode and 4-core machine)
* LibRaw 0.14.0-Beta1
2011-08-20 Alex Tutubalin <[email protected]>
* Patch to dcraw_emu for SunStudio compiler compatibility
* Fixed crash in unprocessed_raw sample due to uninitialized
timestamp variable.
* Fixed crash in raw decoding if raw_width/raw_height is
less than resulting image width/height.
* imgdata.sizes.flip is set from user_flip only on
postprocessing and/or adjust_sizes_info_only()
* Fixed buffer overrun for some LJPEG-compressed files
* Most of LibRaw_datastream function bodies are moved to
separate source file
* LibRaw_windows_datastream is merged to main sourcetree
* LibRaw 0.14.0-Alpha5
2011-08-11 Alex Tutubalin <[email protected]>
* Imported dcraw 9.10 (1.444), support for new cameras added:
ARRIRAW format, Canon SX30 IS, Leica D-LUX 5 and V-LUX2,
Olympus E-P3, Panasonic G3 and GF3, Sony NEX-C3 and SLT-A35
* Support for RedOne digital movie cameras (R3D format).
To enable this support you should:
+ install libjasper JPEG2000 support library
+ compile LibRaw with -DUSE_JASPER compiler switch (./configure
will do it for you)
+ If you use own LibRaw_datastream implementation, you should
implement make_jas_stream() call for your datastream. See
bottom of src/libraw_cxx.cpp for implementations in datafile
and mem-buffer LibRaw streams.
* Bugfix: green matching is turned off if output image is shrinked
due to wavelet filtering or aberration correction.
* fixed open_file()/adjust_sizes_info_only() code path
* Removed imgdata.sizes.bottom_margin and right_margin data fields
use imgdata.sizes.raw_width - width - left_margin to get right one,
the same with bottom_margin.
* minor ./configure cleanup
* Qmake files and Visual Studio Project files are updated.
* New version check macros:
For use at runtime checks:
LIBRAW_RUNTIME_CHECK_VERSION_EXACT() - checks that runtime
major/minor version numbers are same with compile-time values.
LIBRAW_RUNTIME_CHECK_VERSION_NOTLESS() - checks that runtime
version is not less that compile-time one.
For use at compile-time in preprocessor directives:
LIBRAW_COMPILE_CHECK_VERSION_EXACT(major,minor) - Compile-time
check that LibRaw version is exact major.minor.
LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(major,minor) - Compile-time
check that version is not less than major.minor.
* all client code should be recompiled due to internals change.
* LibRaw 0.14.0-Alpha4
2011-07-19 Alex Tutubalin <[email protected]>
* New sample samples/postprocessing_benchmark.cpp
This sample measures postprocessing speed.
All demosaic methods, averaged white balance, median
filtering, wavelet filtration, highlight recovery, and
cropping are supported.
* Removed LibRaw::rotate_fuji_raw() call and corresponding C-API call.
* The LibRaw::adjust_sizes_info_only() call may be called repeated
and mixed with dcraw_process() call.
* Postprocessing speedup and optimization, especially if cropping set.
* Cropping works for FujiCCD raws. For the technical reasons, the position
of top-left corner of crop area will be rounded to the nearest
multiple of 4 (the corner is shifted top-left).
* LibRaw 0.14.0-Alpha3
2011-07-15 Alex Tutubalin <[email protected]>
* imported cropping code from 0.13 branch
2011-07-12 Alex Tutubalin <[email protected]>
* samples/multirender_test - check for different clip settings
2011-07-11 Alex Tutubalin <[email protected]>
* New call LibRaw::free_image(), deallocates imgdata.image buffer.
Use this call if current postprocessing results are not
needed, but it is to early to call recycle() because
dcraw_process() may be called later.
* New C-API calls
libraw_raw2image() - C API for LibRaw::raw2image()
libraw_free_image() - C API for LibRaw::free_image()
libraw_get_decoder_info() - C API for LibRaw::get_decoder_info()
* Bugfix: change of params.user_flip aftee open()/unpack()
calls should work.
* LibRaw 0.14.0-Alpha2
2011-07-10 Alex Tutubalin <[email protected]>
* Multiple rendering (LibRaw::dcraw_process() calls) allowed
without re-opening RAW file thrfough the sequence of open()/unpack()
calls.
You should be able to change any processing parameters (except
shot_select parameter) between dcraw_process() calls.
+ New sample in samples/multirender_test.cpp: renders data 4 times:
in half and full modes with different white balance settings.
+ Unprocessed RAW data is stored in separate data buffer:
(2 bytes per pixel for all Bayer-pattern images,
8 bytes per pixel for Foveon, sRAW, and other full-color raw
formats), so now LibRaw uses 25% more memory for full processing of
most common Bayer images; while for just unpack memory is reduced
4 times.
+ New call LibRaw::raw2image() fills imgdata.image array
with fresh copy of data.
There is no need to call raw2image() separately if you use
dcraw_process() or dcraw_document_mode_processing() calls.
+ New call LibRaw::get_decoder_info() to determine raw data
storage layout. See samples/unprocessed_raw.cpp for an example
of how to use it.
If your code uses usual open()/unpack()/dcraw_process() call
sequence, then NOTHING CHANGED: your program should produce same
results. For interactive programs you may skip open()/unpack()
calls after adjusting processing parameters, so user should see
image refreshed much faster.
If your code uses raw data (open+unpack calls), you need to call
LibRaw::raw2image(), and imgdata.image will contain same bitmap
as in LibRaw 0.13.x
If you code uses access to masked borders data, you need to
rewrite it. See samples/unprocessed_raw.cpp as a sample.
Unfortunately, documentation is untouched yet. This problem will be
fixed in next Alpha release.
Other changes:
* No separate imgdata.masked_pixels buffers, Bayer raw formats are read
to buffer with borders. So, no ugly add_masked_border_to_bitmap()
call.
* No filtering_mode parameter. Raw tone curve is applied
at unpack() stage; zero pixels removed on postprocesing stage.
* unprocessed_raw and 4colors samples are adjusted to use
new RAW data storage layout.
* all client code should be recompiled due to internals change.
* LibRaw 0.14.0-Alpha1
2011-07-03 Alex Tutubalin <[email protected]>
* Cosmetic cleanup in Libraw_memmgr code
* Permit OpenMP support on MS VS2008
* More general mem_image interface:
+ New call get_mem_image_format returns bitmap size and bit depth
+ New call copy_mem_image can copy bitmap into buffer with
different color order (RGB/BGR) and line stride
+ dcraw_make_mem_image() uses calls mentioned above
+ see documentation for info on these function parameters.
* libraw/librawwindows.h implements LibRaw_datastream class based
on Windows memory mapped files.Win32/64-only
Thanks to Linc Brookes.
* Fixed parallel make errors in configure/Makefile.am
* LibRaw 0.13.6-Release
2011-05-18 Alex Tutubalin <[email protected]>
* Imported new dcraw 9.08/1.443:
+ New color data for Canon 600D and 1100D, Fuji S200EXR
+ New camera supported: Fuji HS20EXR and F550EXR, Kodak Z990,
Nikon D5100, Olympus E-PL1s and XZ-1,
Samsung NX11, Sony A230 and 290.
* LibRaw 0.13.5-Release
2011-04-02 Alex Tutubalin <[email protected]>
* Imported new dcraw 9.07/1.442:
+ Support for Canon 600D and 1100D, Hasselblad H4D-60,
Olympus E-PL2
* Color data for Leaf Aptus II and Canon Powershot S2 IS
* LibRaw 0.13.4-Release
2011-03-30 Alex Tutubalin <[email protected]>
* Preliminary support for Leaf Aptus II cameras (no color data yet):
Leaf Aptus II 6,7,8,10 and 12 are tested, Aptus II 5 should work.
* Preliminary support for Fujifilm X100 camera (again, no color data).
* Fixed possible after the end of buffer read when working with
in-memory data.
* Fixed possible loss of JPEG stream sync marks in LJPEG decoder
(this bug was found only for Leaf Aptus II RAWs).
* LibRaw 0.13.3-Release
2011-03-08 Alex Tutubalin <[email protected]>
* Fixed broken camera white balance reading for some Sony cameras
* LibRaw 0.13.2-Release
2011-02-25 Alex Tutubalin <[email protected]>
* Sony A390 support (colordata from A380)
* Leica D-LUX 4: fixed typo in camera name in colordata
2011-02-15 Alex Tutubalin <[email protected]>
* New -mem option for dcraw_emu: I/O via allocated buffer
* Removed debug printf from LibRaw_memory_buffer code
* Preliminary shared library support
2011-02-12 Alex Tutubalin <[email protected]>
* Added qmake .pro and Visual Studio 2008 sln/vcproj project files
2011-02-07 Alex Tutubalin <[email protected]>
* dcraw_emu documentation updated
* ./configure stuff changed for correct linking on some systems
* FBDD denoising is disabled for full-color images and 4-color bayer
data (including forced 4-color via four_color_rgb option)
* LibRaw 0.13.1-Release
2011-02-05 Alex Tutubalin <[email protected]>
* ./configure fixes for PACKAGE_REQUIRES
* Makefile.msvc: correct compiler flags for demosaic packs
* dcraw.c 9.06/1.440 imported:
+ New camera support: Canon S95, Casio EX-Z1080, Panasonic GF2
and GH2, Samsung NX100, Sony A-580
+ New color data for: Canon G12, Nikon D3100, D7000 and P7000,
Olympus E-5, Pentax K-r and K-5, Samsung NX10 and WB2000
* green_matching() code is disabled for half-size processing
* LibRaw 0.13.0-Release
2011-01-15 Alex Tutubalin <[email protected]>
* Fallback to old huffman decoder for Sony files with unspecified
data length (Sony A100)
* Fixed incomplete data fields reset in LibRaw::recycle()
* LibRaw 0.13.0-Beta3
2011-01-13 Alex Tutubalin <[email protected]>
* Better parsing of unknown command-line params in dcraw_emu sample
* Brigtness table in ahd_demosaic is calculated in reversed order
to prevent possible (very unlikely) multithreaded app problem.
* New exposure correction code based on linear-cubic root combination.
New working correction range is from 0.25 (-2 stops) to 8 (+3 stops)
* LibRaw 0.13.0-Beta2
2011-01-10 Alex Tutubalin <[email protected]>
* Fixed file extension in half_mt.c sample
2011-01-10 Alex Tutubalin <[email protected]>
* Three patches provided by Jacques Desmis:
- Exposure correction before demosaic (demosaic pack GPL3)
- OpenMP speed-up in median filters (demosaic pack GPL2)
- OpenMP speed-up in green equilibration (demosaic pack GPL3)
* Merged 0.12.2-0.12.3 changes:
- Patches for ./configure system for better LCMS2 support
- Patches for ./configure system
- math.h included before any other includes to make KDE compile
with Visual C++ happy
- Fuji FinePix S5500 size adjusted to ignore (rare?) garbage
at top of frame.
* all client code should be recompiled due to internals change.
* LibRaw 0.13.0-Beta1
2010-12-22 Alex Tutubalin <[email protected]>
* Zero copy huffman buffer for LibRaw_buffer_datastream
* Fixed memory leak in compressed NEFs handling
* LibRaw 0.13.0-Alpha2
2010-12-20 Alex Tutubalin <[email protected]>
* Demosaic-pack-GPL3 changes:
+ New noise reduction methods before demosaic
- Banding suppression
- High-frequency noise suppression
- Green channel equalization
+ New chromatic abberration correction.
All three methods are written by Emil Martinec for Raw Therapee.
Adapted to LibRaw by Jacques Desmis
* Merged Foveon code fix from LibRaw 0.12.1
* LJPEG decompressor speed-up (about 1.5 times for Canon cameras
and slightly less for others). Some ideas are from RawSpeed library.
* all client code should be recompiled due to internals change.
* LibRaw 0.13.0-Alpha1
2010-12-12 Alex Tutubalin <[email protected]>
* Thread-safe and demosaic packs support for MinGW build
* Demosaic packs support for MS VC build
* LibRaw 0.12.0-Release
2010-12-09 Alex Tutubalin <[email protected]>
* Fixed bug in add_masked_borders_to_bitmap() call for cameras
with odd pixels border.
* New command line options for unprocessed_raw sample:
-B - subtract black level, -M - add masked pixels to bitmap.
* Foveon-sensor cameras added to supported camera list if
compiled with demosaic pack GPL2
* LibRaw 0.12.0-Beta4
2010-12-05 Alex Tutubalin <[email protected]>
* Demosaic packs support in Makefile.dist
* Foveon support in LibRaw demosaic pack GPL2
* all client code should be recompiled due to internals change.
* LibRaw 0.12.0-Beta3
2010-11-27 Alex Tutubalin <[email protected]>
* Fixed allocation bug in lmmse_interpolation (demosaic-pack-GPL2)
* In LMMSE and AMaZE interpolators allocation changed to calloc
to make valgrind happy with uninitialized values
* Changes in distribution-making scripts
* LibRaw 0.12.0-Beta2
2010-11-21 Alex Tutubalin <[email protected]>
* Fixes to green_matching code by Sergey Pavlov
2010-11-20 Alex Tutubalin <[email protected]>
* Update for new demosaic-pack-GPL3
* LibRaw 0.12.0-Beta1
2010-11-19 Alex Tutubalin <[email protected]>
* Demosaic pack(s) supported via ./configure
2010-11-17 Alex Tutubalin <[email protected]>
* LCMS2 support
* afd_interpolate(2,1) instead of (5,0)
* dcraw_emu sample command line keys added and reordered
to reflect changes in LibRaw 0.12.
* Nikon P7000: color matrix data and black level patch for ISO >=400
Thanks to Gunnar Thorburn
* Support for several industrial cameras based on Sony ICX 625/655
sensor: JAI BB500CL/GE, SVS625CL, ptGrey GRAS-50S5C
Thanks to kaare
2010-11-15 Alex Tutubalin <[email protected]>
* Several demosaic algorithms, found in other open-source RAW processing
packages are implemented in LibRaw.
1) DCB demosaic and FBDD denoise by Jacek Gozdz are included in
main LibRaw source.
2) GPL2 demosaic pack with these demosaic methods:
* AFD and LMMSE implementations from PerfectRaw by Manuel Llorens
* VCD, Modified AHD, post-demosaic refinemend and median
filters by Paul Lee
3) GPL3 demosaic pack with AMaZe interpolation by Emil Martinec
See more details in README.demosaic-packs
* Current implementation of dcraw_emu sample allows only selection
of demosaic method (via -q) options. All other parameters change
will be implemented later.
* LibRaw 0.12-alpha1
2010-11-11 Alex Tutubalin <[email protected]>
* Imported 0.11(2) version changes:
+ Fixed dcraw_emu command line processing code
+ OpenMP is completely disabled on MacOS X if compiled with -pthread
due to well-known MacOS problem.
+ dcraw 9.05 (1.439) imported, many new cameras supported:
Canon: G12, SX120, 60D,
Hasselblad H4D, Nokia X2, Olympus E-5,
Nikon: D3100, D7000, P7000,
Panasonic: FZ40, FZ100, LX5,
Pentax: K-r, K-5, 645D,
Samsung GX20, WB2000
* LibRaw 0.12-alpha0
2010-11-08 Alex Tutubalin <[email protected]>
* Fixes for Sun Studio compiler compatibility
* Fixes for Visual Studio 2010 compatibility
* All russian-language files are converted to UTF-8
* LibRaw 0.11.0-Release
2010-10-18 Alex Tutubalin <[email protected]>
* Disabled OpenMP for wavelet_denoise under Mac OS X
* More Visual C++ 2003 warnings cleaned in libraw/*h files
* LibRaw 0.11-Beta7
2010-10-16 Alex Tutubalin <[email protected]>
* internal/dcraw_fileio.c can be compiled with -DDCRAW_VERBOSE again
* fixed comment style in libraw_datastream.h
* LibRaw 0.11-Beta6
2010-10-15 Alex Tutubalin <[email protected]>
* New changes to I/O layer. Three LibRaw_*datastream clasees are
exists:
+ LibRaw_buffer_datastream - buffer reaging
+ LibRaw_file_datastream - file reading using iostreams
(large files are no supported on some systems)
+ LibRaw_bigfile_datastream - FILE*-based file I/O
* file/bigfile_datastream is selected automatically by
LibRaw::open_file based on input file size.
By default, files larger than 250Mb are opened using
bigfile interface, you may change this behaviour
by using second optional parameter of open_file()
* There is no way to use default parameter values in C API,
so new call libraw_open_file_ex added with two parameters
(file name and minimal file size for bigfile_datastream use).
* all client code should be recompiled due to internals change.
* All LibRaw_abstract_datastream functions are virtual again. You may
(again) use your own I/O layer.
* new -d key for dcraw_emu sample: print timings of processing stages
* simple_dcraw sample simplified: no mmap code
* LibRaw 0.11-Beta5
2010-10-08 Alex Tutubalin <[email protected]>
* Fixed bug in exception handling in OpenMP sections in