Download

Stable version: LibRaw 0.15

LibRaw-0.15.1.tar.gz
LibRaw-0.15.1.zip
Source code for Unix (Linux, Mac OS X, FreeBSD) and Windows (32 and 64 bits).
LibRaw-demosaic-pack-GPL2-0.15.1.tar.gz
LibRaw-demosaic-pack-GPL2-0.15.1.zip
Additional demosaic methods distributed under the terms of GNU General Public License 2+.
See README.demosaic-packs in LibRaw distribution for more details.
LibRaw-demosaic-pack-GPL3-0.15.1.tar.gz
LibRaw-demosaic-pack-GPL3-0.15.1.zip
Additional demosaic methods distributed under the terms of GNU General Public License 3+
See README.demosaic-packs in LibRaw distribution for more details.

Binary distributions without demosaic packs

These binary distributions DOES NOT contains additional demosaic methods from demosaic packs.

Binary distributions with GPL2 and GPL3 demosaic packs

These binary distributions contains both GPL2 and GPL3 demosaic packs. Source code of the packs is included into distributions

LibRaw 0.15 Changelog

LibRaw 0.15.1 (24-05-2013)
  • fixed wrong data maximum calculation for Panasonic files
  • check for possible buffer overrun in exposure correction code
LibRaw 0.15.0 (23-05-2013)
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-E1, X20, X100S, SL1000, HS50EXR, F800EXR, XF1, X-S1, HS30EXR, X1-Pro
  • 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)

Old versions

LibRaw 0.14

Source code distributions

LibRaw-0.14.8.tar.gz
LibRaw-0.14.8.zip
Source code for Unix (Linux, Mac OS X, FreeBSD) and Windows (32 and 64 bits).
LibRaw-demosaic-pack-GPL2-0.14.8.tar.gz
LibRaw-demosaic-pack-GPL2-0.14.8.zip
Additional demosaic methods distributed under the terms of GNU General Public License 2+.
See README.demosaic-packs in LibRaw distribution for more details.
LibRaw-demosaic-pack-GPL3-0.14.8.tar.gz
LibRaw-demosaic-pack-GPL3-0.14.8.zip
Additional demosaic methods distributed under the terms of GNU General Public License 3+
See README.demosaic-packs in LibRaw distribution for more details.

Binary distributions without demosaic packs

These binary distributions DOES NOT contains additional demosaic methods from demosaic packs.

Binary distributions with GPL2 and GPL3 demosaic packs

These binary distributions contains both GPL2 and GPL3 demosaic packs. Source code of the packs is included into distributions

LibRaw 0.13

Source code distributions

LibRaw-0.13.8.tar.gz
LibRaw-0.13.8.zip
Source code for Unix (Linux, Mac OS X, FreeBSD) and Windows (32 and 64 bits).
LibRaw-demosaic-pack-GPL2-0.13.8.tar.gz
LibRaw-demosaic-pack-GPL2-0.13.8.zip
Additional demosaic methods distributed under the terms of GNU General Public License 2+.
See README.demosaic-packs in LibRaw distribution for more details.
LibRaw-demosaic-pack-GPL3-0.13.8.tar.gz
LibRaw-demosaic-pack-GPL3-0.13.8.zip
Additional demosaic methods distributed under the terms of GNU General Public License 3+
See README.demosaic-packs in LibRaw distribution for more details.

Binary distributions without demosaic packs

These binary distributions DOES NOT contains additional demosaic methods from demosaic packs.

Binary distributions with GPL2 and GPL3 demosaic packs

These binary distributions contains both GPL2 and GPL3 demosaic packs. Source code of the packs is included into distributions

LibRaw 0.12

Source code distributions

LibRaw-0.12.5.tar.gz (751 kb)
LibRaw-0.12.5.zip (790 kb)
Source code for Unix (Linux, Mac OS X, FreeBSD) and Windows (32 and 64 bits).
LibRaw-demosaic-pack-GPL2-0.12.5.tar.gz (29 kb)
LibRaw-demosaic-pack-GPL2-0.12.5.zip (39 kb)
Additional demosaic methods distributed under the terms of GNU General Public License 2+.
See README.demosaic-packs in LibRaw distribution for more details.
LibRaw-demosaic-pack-GPL3-0.12.5.tar.gz (30 kb)
LibRaw-demosaic-pack-GPL3-0.12.5.zip (31 kb)
Additional demosaic methods distributed under the terms of GNU General Public License 3+
See README.demosaic-packs in LibRaw distribution for more details.

Binary distributions

All binary distributions DOES NOT contains additional demosaic methods from demosaic packs. You should compile the library yourself from source files to use demosaic packs. See README.demosaic-packs in LibRaw distribution for more details.

LibRaw 0.12-0-14 Changelog

LibRaw 0.14.7 (27-06-2012)
  • Fixed incorrect reading of camera WB settings on Sony cameras if LibRaw compiled by gcc 4.8
  • Disabled 'aggressive loop optimization' for gcc 4.8+
LibRaw 0.14.7 (27-06-2012)
  • Imported dcraw 9.15 (1.449):
    • New cameras supported: Canon 5D Mark III, G1 X, 1D X and Powershot SX200; Nikon D4,D800/D800E and D3200; Fuji X-S1 and HS30EXR; Casio EX-Z8; Olympus E-M5; Panasonic GF5; Sony NEX-F3, SLT-A37 and SLT-A57; Samsung NX20 and NX210;
    • Support for updated Samsung NX200 firmware.
  • Makefile.msvc: easy additional compiler flag editing.
LibRaw 0.14.6 (04-04-2012)
  • 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.5 (24-12-2011)
  • 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.4 (12-12-2011)
  • 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.3 (25-10-2011)
  • 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.2 (19-10-2011)
  • Fixed bug in Canon 1D and 1Ds files decoding.
  • New decoder information bit DECODER_HASRAWCURVE
LibRaw 0.14.1 (11-10-2011)
  • 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.
    • Updated 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.0 (21-09-2011)
  • 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.
    • 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()

    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.

  • 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.
    • OpenMP speedup of postprocessing steps (up to 50% for half mode and 4-core machine)
    • Most of LibRaw_datastream function bodies are moved to separate source file
    • LibRaw_windows_datastream is merged to main source tree
    • 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 need to:
      • 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.
    • 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 macroses.
    • Documentation changed to reflect 0.14 changes.
    • 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() calls.
    • 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).
    • 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.
  • all client code should be recompiled due to internals change.
LibRaw 0.13.8 (2011-08-10)
  • 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
  • Bugfix: green matching is turned off if output image is shrinked due to wavelet filtering or aberration correction.
LibRaw 0.13.7 (2011-07-15)
  • Changes in cropping code:
    • cropping is now works for Fuji files (instead of crash)
    • bad pixels map and dark frame subtraction is turned off if cropping enabled
    • for technical reasons, coordinates of top-left corner of crop box are rounded to multiple of 4 for Fuji files.
  • ./configure stuff fixes:
    • install static libraries only when --enable-static is set
    • compiled samples are dynamically linked if shared library not disabled.
  • OpenMP enabled for Visual Studio 2008 SP1+, but not for RTM
LibRaw 0.13.6 (2011-07-03)
  • 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.5 (2011-05-21)
  • 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.4 (2011-04-02)
  • 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.3 (2011-03-30)
  • 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 RAW 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.2 (2011-03-08)
  • Fixed broken camera white balance reading for some Sony cameras.
  • Sony A390 support (colordata from A380).
  • Leica D-LUX 4: fixed typo in camera name in colordata.
  • New -mem option for dcraw_emu: I/O via allocated buffer.
  • Preliminary shared library support via configure/libtool.
  • Added qmake .pro and Visual Studio 2008 sln/vcproj project files.
LibRaw 0.13.1 (2011-02-08)
  • 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.0 (since 0.12.x) (2011-02-06)
  • New low-level buffering code for Huffman decompression. Canon CR2 files are opened about 1.5x times faster than on LibRaw 0.12, other huffman-comressed files unpacks in 1.2-1.3 times faster.
  • New exposure correction code based on linear-cubic root combination. Correction range is from 0.25 (-2 stops) to 8 (+3 stops)
  • All 0.12.x features, including new cameras support and half-size/green-matching fixes.
  • Changes and additions in demosaic-pack-GPL3 (all imported from RawTherapee):
    • Banding suppression code.
    • High-frequency noise suppression.
    • Green channels local averaging to suppress maze artifacts.
    • OpenMP speed-up in median filters (demosaic pack GPL2)
    • OpenMP speed-up in green equilibration (demosaic pack GPL3)
  • Bug fixes and improvements:
    • 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.
    • Fixed file extension in half_mt.c sample.
    • Fixed incomplete data fields reset in LibRaw::recycle()
    • Patches for ./configure system for better LCMS2 support
    • 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.

Older versions Changelog

LibRaw 0.12.4 (2011-02-05)
  • Fixed green matching/half-size incompatibility.
LibRaw 0.12.4 (2011-02-02)
  • Imported dcraw 9.06/1.440:
    • Added camera support for: Canon S95, Casio EX-Z1080, Panasonic GF2 and GH2, Samsung NX100, Sony A-580
    • Updated color data for: Canon G12, Nikon D3100, D7000 and P7000, Olympus E-5, Pentax K-r and K-5, Samsung NX10 and WB2000
LibRaw 0.12.3 (2011-01-08)
  • Changes in ./configure system for better LCMS2 support
LibRaw 0.12.2 (2011-01-04)
  • 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.
LibRaw 0.12.1 (2010-12-20)
  • Disabled support of Sigma DPx cameras due to incompatible compression scheme and metadata format.
LibRaw 0.12.0 (2010-12-12) changes since LibRaw 0.11)
  • Support for additional demosaic packs.
  • DCB interpolation and FBDD denoising integrated into main LibRaw.
  • Two demosaic packs:
    • GPL2-licensed: AFD, LMMSE, VCD, Modified AHD and AHD+VCD interpolations. Additional median filters from 'Modified DCRAW' package. Foveon support also included in this pack.
    • GPL3-licensed: AMaZE interpolation and chromatic aberrations correction from RawTherapee
  • LCMS 2.x support
  • New ./configure script, based on GNU autotools.
  • Fix in green_matching code to support nonstandard Bayer pattern
  • Fixed bug in add_masked_borders_to_bitmap() call for cameras with masked border composed of odd number of pixels.
  • New command line options for unprocessed_raw sample: -B - subtract black level, -M - add masked pixels to bitmap.