blob: 3b339fc1ed72a86cf106fccefa89054c3fcb2060 [file] [log] [blame]
cristy91469932014-07-25 11:00:25 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3<html version="-//W3C//DTD XHTML 1.1//EN"
4 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.w3.org/1999/xhtml
7 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
cristyad41c0c2012-10-31 00:49:28 +00008<head>
cristy91469932014-07-25 11:00:25 +00009 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
10 <meta name=viewport content="width=device-width, initial-scale=0.3333334">
11 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4"/>
cristyffb69ed2010-12-25 00:06:48 +000012 <title>ImageMagick: High Dynamic-Range Images</title>
cristy91469932014-07-25 11:00:25 +000013 <meta http-equiv="content-language" content="en-US"/>
14 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="application-name" content="ImageMagick"/>
17 <meta name="description" content="A collection of tools and libraries to read, write, and manipulate an image in any of the more popular image formats."/>
18 <meta name="application-url" content="http://www.imagemagick.org"/>
19 <meta name="generator" content="PHP"/>
20 <meta name="keywords" content="high, dynamic-range, images, convert, edit, compose, image, pixel"/>
21 <meta name="rating" content="GENERAL"/>
22 <meta name="robots" content="INDEX, FOLLOW"/>
23 <meta name="generator" content="ImageMagick Studio LLC"/>
24 <meta name="author" content="ImageMagick Studio LLC"/>
25 <meta name="revisit-after" content="2 DAYS"/>
26 <meta name="resource-type" content="document"/>
27 <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
28 <meta name="distribution" content="Global"/>
29 <link rel="icon" href="../images/wand.png"/>
30 <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"/>
31 <link rel="canonical" href="http://www.imagemagick.org" />
32 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
cristy8ee7f242013-06-20 16:08:44 +000033
cristyad41c0c2012-10-31 00:49:28 +000034 <!-- Add jQuery library -->
cristy91469932014-07-25 11:00:25 +000035 <script type="text/javascript" src="http://localhost/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
cristyad41c0c2012-10-31 00:49:28 +000036
cristy8ee7f242013-06-20 16:08:44 +000037 <!-- Add mousewheel plugin (this is optional) -->
38 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
cristyad41c0c2012-10-31 00:49:28 +000039
40 <!-- Add fancyBox -->
cristy91469932014-07-25 11:00:25 +000041 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
42 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
cristyad41c0c2012-10-31 00:49:28 +000043
cristy8ee7f242013-06-20 16:08:44 +000044 <!-- Optionally add helpers - button, thumbnail and/or media -->
cristy91469932014-07-25 11:00:25 +000045 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
46 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
47 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>
cristyad41c0c2012-10-31 00:49:28 +000048
cristy91469932014-07-25 11:00:25 +000049 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
50 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>
cristy8ee7f242013-06-20 16:08:44 +000051
cristyad41c0c2012-10-31 00:49:28 +000052 <script type="text/javascript">
53 $(document).ready(function() {
54 $(".fancybox").fancybox();
55 });
56 </script>
cristy8ee7f242013-06-20 16:08:44 +000057
cristyad41c0c2012-10-31 00:49:28 +000058 <!-- ImageMagick style -->
cristyad41c0c2012-10-31 00:49:28 +000059 <style type="text/css" media="all">
60 @import url("../www/magick.css");
61 </style>
62</head>
63
64<body id="www-imagemagick-org">
cristy8ee7f242013-06-20 16:08:44 +000065
cristy91469932014-07-25 11:00:25 +000066<script type="text/javascript">
67 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
68 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
69 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
70 })(window,document,'offline-script','//www.google-analytics.com/analytics.js','ga');
cristy8ee7f242013-06-20 16:08:44 +000071
cristy91469932014-07-25 11:00:25 +000072 ga('create', 'UA-40133312-1', 'imagemagick.org');
73 ga('send', 'pageview');
74</script>
cristy8ee7f242013-06-20 16:08:44 +000075
cristyad41c0c2012-10-31 00:49:28 +000076<div class="titlebar">
77<div style="margin: 17px auto; float: left;">
78 <script type="text/javascript">
79 <!--
80 google_ad_client = "pub-3129977114552745";
81 google_ad_slot = "5439289906";
82 google_ad_width = 728;
83 google_ad_height = 90;
84 //-->
85 </script>
cristy91469932014-07-25 11:00:25 +000086 <script type="text/javascript"
87 src="http://localhost/pagead/show_ads.js">
88 </script>
cristyad41c0c2012-10-31 00:49:28 +000089</div>
cristy149d58c2013-08-07 19:44:54 +000090<a href="../discourse-server">
cristy91469932014-07-25 11:00:25 +000091 <img src="../images/logo.jpg"
92 alt="ImageMagick Logo" width="123" height="118"
93 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
cristyf1b8a092014-02-20 15:46:11 +000094<a href="http://www.imagemagick.org/ImageMagick-7.0.0/index.html">
cristy91469932014-07-25 11:00:25 +000095 <img src="../images/sprite.jpg"
96 alt="ImageMagick Sprite" width="114" height="118"
97 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
cristyad41c0c2012-10-31 00:49:28 +000098</div>
99
100<div class="westbar">
101
cristy3ed852e2009-09-05 21:47:34 +0000102<div class="menu">
cristyf1b8a092014-02-20 15:46:11 +0000103 <a title="About ImageMagick" href="http://www.imagemagick.org/ImageMagick-7.0.0/index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000104</div>
cristy3ed852e2009-09-05 21:47:34 +0000105<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000106 <a title="Binary Releases" href="binary-releases.html">Binary Releases</a>
cristybb503372010-05-27 20:51:26 +0000107</div>
108<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000109 <a title="Binary Release: Unix" href="binary-releases.html#unix">Unix</a>
cristybb503372010-05-27 20:51:26 +0000110</div>
111<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000112 <a title="Binary Release: MacOS X" href="binary-releases.html#macosx">Mac OS X</a>
cristybb503372010-05-27 20:51:26 +0000113</div>
114<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000115 <a title="Binary Release: iOS" href="binary-releases.html#iOS">iOS</a>
cristyda16f162011-02-19 23:52:17 +0000116</div>
117<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000118 <a title="Binary Release: Windows" href="binary-releases.html#windows">Windows</a>
cristybb503372010-05-27 20:51:26 +0000119</div>
cristyad41c0c2012-10-31 00:49:28 +0000120<div class="sep"></div>
cristybb503372010-05-27 20:51:26 +0000121<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000122 <a title="Command-line Tools" href="command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +0000123</div>
124<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000125 <a title="Command-line Tools: Processing" href="command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +0000126</div>
127<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000128 <a title="Command-line Tools: Options" href="command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +0000129</div>
130<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000131 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +0000132</div>
133<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000134 <a title="Program Interfaces" href="api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +0000135</div>
136<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000137 <a title="Program Interface: MagickWand" href="magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +0000138</div>
139<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000140 <a title="Program Interface: MagickCore" href="magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000141</div>
142<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000143 <a title="Program Interface: PerlMagick" href="perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000144</div>
145<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000146 <a title="Program Interface: Magick++" href="magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000147</div>
cristyad41c0c2012-10-31 00:49:28 +0000148<div class="sep"></div>
cristy91469932014-07-25 11:00:25 +0000149<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000150 <a title="Install from Source" href="install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000151</div>
152<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000153 <a title="Install from Source: Unix" href="install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000154</div>
155<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000156 <a title="Install from Source: Windows" href="install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000157 </div>
158<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000159 <a title="Resources" href="resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000160</div>
cristybb503372010-05-27 20:51:26 +0000161<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000162 <a title="Architecture" href="architecture.html">Architecture</a>
cristybb503372010-05-27 20:51:26 +0000163</div>
cristy3ed852e2009-09-05 21:47:34 +0000164<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000165 <a title="Download" href="download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000166</div>
cristyad41c0c2012-10-31 00:49:28 +0000167<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000168<div class="menu">
cristy8ee7f242013-06-20 16:08:44 +0000169 <a title="Search" href="search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000170</div>
cristyad41c0c2012-10-31 00:49:28 +0000171<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000172<div class="menu">
cristy751980d2012-06-03 23:18:35 +0000173 <a title="Site Map" href="sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000174</div>
cristy91469932014-07-25 11:00:25 +0000175<div class="sub">
cristy751980d2012-06-03 23:18:35 +0000176 <a title="Site Map: Links" href="links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000177</div>
cristyad41c0c2012-10-31 00:49:28 +0000178<div class="sep"></div>
cristyad41c0c2012-10-31 00:49:28 +0000179</div>
180
181<div class="eastbar">
cristy91469932014-07-25 11:00:25 +0000182 <script type="text/javascript">
183 /* <![CDATA[ */
184 window.___gcfg = {
185 lang: 'en-US'
186 };
187
188 (function() {
189 var po = document.createElement('offline-script');
190 po.type = 'text/javascript';
191 po.async = true;
192 po.src = 'https://apis.google.com/js/plusone.js';
193 var script = document.getElementsByTagName('offline-script')[0];
194 script.parentNode.insertBefore(po, script);
195 })();
196 var gplusone = document.getElementById("gplusone");
197 gplusone.setAttribute("data-size","medium");
198 gplusone.setAttribute("data-count","true");
199 /* ]]> */
200 </script>
201 <script type="text/javascript">
202 /* <![CDATA[ */
203 (function() {
204 var po = document.createElement('offline-script'), t = document.getElementsByTagName('offline-script')[0];
205 po.type = 'text/javascript';
206 po.async = true;
207 po.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
208 var script = document.getElementsByTagName('offline-script')[0];
209 script.parentNode.insertBefore(po, script);
210 })();
211 /* ]]> */
212 </script>
cristyf1b8a092014-02-20 15:46:11 +0000213 <div> <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.imagemagick.org/"></a></div>
cristy8ee7f242013-06-20 16:08:44 +0000214 <noscript>
215 <a href="http://flattr.com/thing/947300/Convert-Edit-And-Compose-Images" target="_blank">
cristy91469932014-07-25 11:00:25 +0000216 <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" width="93" height="20" border="0" /></a>
cristy8ee7f242013-06-20 16:08:44 +0000217 </noscript>
cristy91469932014-07-25 11:00:25 +0000218 <div class="g-plusone" data-size="standard" data-count="true"></div>
cristyad41c0c2012-10-31 00:49:28 +0000219</div>
220
221<div class="main">
222
223
cristyffb69ed2010-12-25 00:06:48 +0000224<h1>ImageMagick High Dynamic-range Imaging</h1>
cristy417eeb12013-07-28 18:48:22 +0000225<p class="navigation-index">[<a href="high-dynamic-range.html#intro">Introduction to High Dynamic-Range Images</a><a href="high-dynamic-range.html#enable">Enabling HDRI in ImageMagick</a>]</p>
cristy3ed852e2009-09-05 21:47:34 +0000226
cristydcca3fa2010-12-29 21:50:07 +0000227<a id="intro"></a>
cristy3ed852e2009-09-05 21:47:34 +0000228<div class="doc-section">
229
230<p>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>
231
232<ul>
233 <li>render/capture floating-point color space</li>
234 <li>encompass the entire perceivable gamut (extend values outside [0,1] range)</li>
235 <li>post-process in extended color space</li>
236 <li>apply tone-mapping for specific display</li>
237</ul>
238
239</div>
240
cristydcca3fa2010-12-29 21:50:07 +0000241<h2><a id="enable"></a>Enabling HDRI in ImageMagick</h2>
cristy3ed852e2009-09-05 21:47:34 +0000242<div class="doc-section">
243
244<p>By default, image pixels in ImageMagick are stored as unsigned values that range from 0 to the quantum depth, which is typically 16-bits (Q16). With HDRI enabled, the pixels are stored in a floating-point representation and 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>
245
246<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>
247
248<p>To enable the HDRI version of ImageMagick, use this Unix/Linux command:</p>
249
cristy91469932014-07-25 11:00:25 +0000250<p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>./configure --enable-hdri</span></p>
cristy8ee7f242013-06-20 16:08:44 +0000251<p>Under Windows, set the <code>MAGICKCORE_HDRI_SUPPORT</code> definition in the <code>magick-config.h</code> configuration file and build.</p>
cristy3ed852e2009-09-05 21:47:34 +0000252
cristybebec402010-04-23 19:19:08 +0000253<p>To verify HDRI is properly configured, look for "HDRI" as a feature:</p>
cristy3ed852e2009-09-05 21:47:34 +0000254
cristy91469932014-07-25 11:00:25 +0000255<p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>identify -version</span><span class='crtout'>Features: OpenMP HDRI</span></p></div>
cristyad41c0c2012-10-31 00:49:28 +0000256
257</div>
258
259<div id="linkbar">
cristyac1b4322013-07-28 13:58:06 +0000260 <span id="linkbar-west"> </span>
cristy8ee7f242013-06-20 16:08:44 +0000261
cristyad41c0c2012-10-31 00:49:28 +0000262 <span id="linkbar-center">
cristy149d58c2013-08-07 19:44:54 +0000263 <a href="../discourse-server">Discourse Server</a>
cristy91469932014-07-25 11:00:25 +0000264 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
cristy417eeb12013-07-28 18:48:22 +0000265 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy8ee7f242013-06-20 16:08:44 +0000266 <a href="http://jqmagick.imagemagick.org/">JqMagick</a>
cristyad41c0c2012-10-31 00:49:28 +0000267 </span>
cristyac1b4322013-07-28 13:58:06 +0000268 <span id="linkbar-east"> </span>
cristy149d58c2013-08-07 19:44:54 +0000269</div>
270<div class="footer">
cristy91469932014-07-25 11:00:25 +0000271 <span id="footer-west">© 1999-2014 ImageMagick Studio LLC</span>
cristy149d58c2013-08-07 19:44:54 +0000272 <span id="footer-east"> <a href="contact.html">Contact the Wizards</a></span>
273</div>
274<div style="clear: both; margin: 0; width: 100%; "></div>
cristyad41c0c2012-10-31 00:49:28 +0000275</body>
276</html>