blob: 0dfc35c841afac4ba80ed2a4f9e2d84630cb08b7 [file] [log] [blame]
Cristy594d2772015-11-15 10:47:42 -05001
2
3
4
cristy29dc8652015-05-12 16:26:21 +00005<!DOCTYPE html>
cristyd2432012015-05-04 23:15:15 +00006<html lang="en">
cristyad41c0c2012-10-31 00:49:28 +00007<head>
Cristybbb69882017-06-30 10:13:32 -04008 <meta charset="utf-8" />
9 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
Cristy6549abb2016-11-10 08:25:55 -050010 <title>High Dynamic-Range Images @ ImageMagick</title>
Cristybbb69882017-06-30 10:13:32 -040011 <meta name="application-name" content="ImageMagick" />
12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves." />
13 <meta name="application-url" content="https://www.imagemagick.org" />
14 <meta name="generator" content="PHP" />
15 <meta name="keywords" content="high, dynamic-range, images, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert" />
16 <meta name="rating" content="GENERAL" />
17 <meta name="robots" content="INDEX, FOLLOW" />
18 <meta name="generator" content="ImageMagick Studio LLC" />
19 <meta name="author" content="ImageMagick Studio LLC" />
20 <meta name="revisit-after" content="2 DAYS" />
21 <meta name="resource-type" content="document" />
22 <meta name="copyright" content="Copyright (c) 1999-2017 ImageMagick Studio LLC" />
23 <meta name="distribution" content="Global" />
24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
Cristy912a9222016-06-17 15:37:28 -040025 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
Cristybbb69882017-06-30 10:13:32 -040026 <link href="https://www.imagemagick.org/script/high-dynamic-range.html" rel="canonical" />
27 <link href="../images/wand.png" rel="icon" />
28 <link href="../images/wand.ico" rel="shortcut icon" />
29 <link href="css/magick.css" rel="stylesheet" />
cristyad41c0c2012-10-31 00:49:28 +000030</head>
cristyd2432012015-05-04 23:15:15 +000031<body>
Cristybbb69882017-06-30 10:13:32 -040032<div class="magick-masthead">
cristyd2432012015-05-04 23:15:15 +000033 <div class="container">
Cristy6549abb2016-11-10 08:25:55 -050034 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle"
Cristy594d2772015-11-15 10:47:42 -050035 style="display:block"
36 data-ad-client="ca-pub-3129977114552745"
37 data-ad-slot="6345125851"
38 data-ad-format="auto"></ins>
cristy29f2c972015-07-28 13:37:46 +000039 <script>
Cristy542697a2015-10-12 20:10:32 -040040 (adsbygoogle = window.adsbygoogle || []).push({});
cristyd2432012015-05-04 23:15:15 +000041 </script>
Cristy49380402017-06-29 11:24:55 -040042 <nav class="nav magick-nav">
43 <a class="nav-link " href="../index.html">Home</a>
44 <a class="nav-link " href="download.html">Download</a>
45 <a class="nav-link " href="command-line-tools.html">Tools</a>
46 <a class="nav-link " href="command-line-processing.html">Command-line</a>
47 <a class="nav-link " href="resources.html">Resources</a>
48 <a class="nav-link " href="develop.html">Develop</a>
49 <a class="nav-link " href="https://www.imagemagick.org/script/search.php">Search</a>
50 <a class="nav-link float-right" href="https://www.imagemagick.org/discourse-server/">Community</a>
cristyd2432012015-05-04 23:15:15 +000051 </nav>
52 </div>
53</div>
54<div class="container">
55<div class="magick-header">
cristyad41c0c2012-10-31 00:49:28 +000056
cristyd2432012015-05-04 23:15:15 +000057<p class="lead magick-description">High dynamic-range imaging (HDRI) permits a far greater dynamic range of exposures (i.e. a large difference between light and dark areas) than standard digital imaging techniques. HDRI accurately represents the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows. The HDR imaging approach includes:</p>
cristy3ed852e2009-09-05 21:47:34 +000058
59<ul>
60 <li>render/capture floating-point color space</li>
61 <li>encompass the entire perceivable gamut (extend values outside [0,1] range)</li>
62 <li>post-process in extended color space</li>
63 <li>apply tone-mapping for specific display</li>
64</ul>
65
Cristy49380402017-06-29 11:24:55 -040066<h2 class="magick-post-title"><a id="enable"></a>Enabling HDRI in ImageMagick</h2>
cristy3ed852e2009-09-05 21:47:34 +000067
Cristyd474b372017-02-14 12:19:13 -050068<p>By default, image pixels in ImageMagick version 7 are stored in a floating-point representation that range from 0 to the quantum depth, which is typically 16-bits (Q16). With HDRI enabled, the pixels can include negative values as well as values that exceed the quantum depth. A majority of digital image formats do not support HDRI, and for those images any pixels outside the quantum range are clamped before they are stored.</p>
cristy3ed852e2009-09-05 21:47:34 +000069
70<p>The most promising HDR image format is EXR. You must have the <a href="http://www.openexr.org">OpenEXR</a> delegate library installed to read or write this format. Other HDR formats include TIFF 48-bit integer and 96-bit float formats, HDR, PFM, and ImageMagick's own MIFF format.</p>
71
Cristyd474b372017-02-14 12:19:13 -050072<p>To disable the HDRI version of ImageMagick, use this Unix/Linux command:</p>
cristy3ed852e2009-09-05 21:47:34 +000073
Cristy5bf67322017-10-08 11:28:40 -040074<pre class="highlight"><code>./configure --disable-hdri
Cristy49380402017-06-29 11:24:55 -040075</code></pre>
cristyd2432012015-05-04 23:15:15 +000076
Cristyd474b372017-02-14 12:19:13 -050077<p>Under Windows, uncomment the <code>MAGICKCORE_HDRI_SUPPORT</code> definition in the <code>magick-baseconfig.h</code> configuration file and build.</p>
cristy3ed852e2009-09-05 21:47:34 +000078
cristybebec402010-04-23 19:19:08 +000079<p>To verify HDRI is properly configured, look for "HDRI" as a feature:</p>
cristy3ed852e2009-09-05 21:47:34 +000080
Cristy5bf67322017-10-08 11:28:40 -040081<pre class="highlight"><code>identify -version
cristyd2432012015-05-04 23:15:15 +000082Features: HDRI
Cristy49380402017-06-29 11:24:55 -040083</code></pre>
cristyad41c0c2012-10-31 00:49:28 +000084</div>
cristyd2432012015-05-04 23:15:15 +000085 <footer class="magick-footer">
cristy29f2c972015-07-28 13:37:46 +000086 <p><a href="support.html">Donate</a>
87 <a href="sitemap.html">Sitemap</a>
cristyd2432012015-05-04 23:15:15 +000088 <a href="links.html">Related</a>
Cristye0779712016-07-30 17:25:22 -040089 <a href="security-policy.html">Security</a>
cristy29f2c972015-07-28 13:37:46 +000090 <a href="architecture.html">Architecture</a>
cristyd2432012015-05-04 23:15:15 +000091</p>
92 <p><a href="high-dynamic-range.html#">Back to top</a>
cristyea2793e2015-05-31 16:52:26 +000093 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
Cristy6549abb2016-11-10 08:25:55 -050094 <a href="https://www.imagemagick.org/script/contact.php">Contact Us</a></p>
Cristyfe36f992016-12-29 20:24:13 -050095 <p><small>© 1999-2017 ImageMagick Studio LLC</small></p>
cristyd2432012015-05-04 23:15:15 +000096 </footer>
97</div><!-- /.container -->
cristyad41c0c2012-10-31 00:49:28 +000098
Cristy5bf67322017-10-08 11:28:40 -040099 <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
100 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
Cristy1f1f3a02016-06-01 07:25:42 -0400101 <script src="../js/magick.html"></script>
cristyad41c0c2012-10-31 00:49:28 +0000102</body>
cristy5a367e42015-05-05 12:39:18 +0000103</html>
Cristy5bf67322017-10-08 11:28:40 -0400104<!-- Magick Cache 8th October 2017 11:16 -->