data. Also, the histogram of the JPG image produced in-camera, highly depends on the camera settings, and is therefore a rather inexact indication of the exposure of the raw image data; the right edge of the raw histogram is not displayed. Several approaches may be used for practicing ETTR in this situation. Specific software, for instance RawDigger, FastRawViewer, Histogrammar or the discontinued Photobola Rawnalyze, can be used to compute the raw histogram. If a computer is not available for analysis when shooting, it may be used to pick best exposure from an exposure-bracketing sequence of images. An in-camera approximation of the raw histogram is provided by a few cameras, such as Leica M8 and M9, and by Magic Lantern, the unofficial firmware "hack" for Canon DSLR cameras (which also includes an automatic ETTR option). Some recent cameras offer settings for the JPG processing engine with higher DR which is somewhat closer to the sensor DR (for instance, S-Log2 gamma of Sony, Flat picture control of Nikon). With other cameras, a workaround approach known as "UniWB" may be used. One should be careful when using rough in-camera histogram approximations, particularly with live histograms, because they may fail to display small highlights areas. In cases where the scene DR is within the sensor DR but much wider than the DR of the JPG engine, ETTR results in the JPG preview image exposed for the highlights and appearing dark, because the midtones range of the scene is recorded in the shadows range of the JPG preview, and the shadows range of the scene is not recorded in the JPG preview. Wide-DR-capable raw processing external software is required (e.g., Adobe Camera Raw / Adobe Photoshop Lightroom, DxO OpticsPro, Capture One, Raw Therapee). When facing higher-DR scenes, metering on most cameras tends to aim for the midtones, often clipping both extreme highlights and shadows of the JPG preview image (seen as spikes at the right and left edge of the JPG histogram, respectively). One might expect that this would automatically lead towards a raw histogram in which the right (highlights) range is neatly occupied as with ETTR. Unfortunately, metering algorithms in different cameras may produce very different results in such conditions. It is not uncommon that when shooting a scene with DR within the sensor DR, the default camera metering results in a raw image with blown highlights and ample empty space at the left