]> granicus.if.org Git - imagemagick/blob - www/motion-picture.html
(no commit message)
[imagemagick] / www / motion-picture.html
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
3   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html version="-//W3C//DTD XHTML 1.1//EN"
5       xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
6       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7       xsi:schemaLocation="http://www.w3.org/1999/xhtml
8                           http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
9 <head>
10   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
11   <meta name="google-site-verification" content="MxsMq6bdLOx0KSuz1MY6yG9ZTIJ7_7DVRfl5NCAT5Yg"/>
12   <title>ImageMagick: Motion Picture Digital Images</title>
13   <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="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats.  In addition resize, rotate, shear, distort and transform images automagically."/>
18   <meta name="application-url" content="http://www.imagemagick.org"/>
19   <meta name="generator" content="PHP"/>
20   <meta name="keywords" content="motion, picture, digital, images, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
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-2013 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"/>
33   <!-- Add jQuery library -->
34   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
35   
36   <!-- Optionaly include easing and/or mousewheel plugins -->
37   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.easing-1.3.pack.js"></script>
38   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
39   
40   <!-- Add fancyBox -->
41   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/jquery.fancybox.css?v=2.0.4" type="text/css" media="screen" />
42   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox.pack.js?v=2.0.4"></script>
43   
44   <!-- Optionaly include button and/or thumbnail helpers -->
45   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.4" type="text/css" media="screen" />
46   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.4"></script>
47   
48   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.css?v=2.0.4" type="text/css" media="screen" />
49   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.js?v=2.0.4"></script>
50   <script type="text/javascript">
51         $(document).ready(function() {
52                 $(".fancybox").fancybox();
53         });
54   </script>
55   <!-- ImageMagick style -->
56   <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
57   <style type="text/css" media="all">
58     @import url("../www/magick.css");
59   </style>
60 </head>
61
62 <body id="www-imagemagick-org">
63 <div class="titlebar">
64 <div style="margin: 17px auto; float: left;">
65   <script type="text/javascript">
66   <!--
67     google_ad_client = "pub-3129977114552745";
68     google_ad_slot = "5439289906";
69     google_ad_width = 728;
70     google_ad_height = 90;
71   //-->
72   </script>
73   <script type="text/javascript"
74     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
75   </script>
76 </div>
77 <a href="../discourse-server">
78   <img src="../images/logo.jpg"
79   alt="ImageMagick Logo"
80   style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
81 <a href="../index.html">
82   <img src="../images/sprite.jpg"
83   alt="ImageMagick Sprite"
84   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
85 </div>
86
87 <div class="westbar">
88
89 <div class="menu">
90   <a title="About ImageMagick" href="../index.html">About ImageMagick</a>
91 </div>
92 <div class="menu">
93   <a title="Binary Releases" href="binary-releases.html">Binary Releases</a>
94 </div>
95 <div class="sub">
96     <a title="Binary Release: Unix" href="binary-releases.html#unix">Unix</a>
97 </div>
98 <div class="sub">
99     <a title="Binary Release: MacOS X" href="binary-releases.html#macosx">Mac OS X</a>
100 </div>
101 <div class="sub">
102     <a title="Binary Release: iOS" href="binary-releases.html#iOS">iOS</a>
103 </div>
104 <div class="sub">
105     <a title="Binary Release: Windows" href="binary-releases.html#windows">Windows</a>
106 </div>
107 <div class="sep"></div>
108 <div class="menu">
109   <a title="Command-line Tools" href="command-line-tools.html">Command-line Tools</a>
110 </div>
111 <div class="sub">
112     <a title="Command-line Tools: Processing" href="command-line-processing.html">Processing</a>
113 </div>
114 <div class="sub">
115     <a title="Command-line Tools: Options" href="command-line-options.html">Options</a>
116 </div>
117 <div class="sub">
118     <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
119 </div>
120 <div class="menu">
121   <a title="Program Interfaces" href="api.html">Program Interfaces</a>
122 </div>
123 <div class="sub">
124     <a title="Program Interface: MagickWand" href="magick-wand.html">MagickWand</a>
125 </div>
126 <div class="sub">
127     <a title="Program Interface: MagickCore" href="magick-core.html">MagickCore</a>
128 </div>
129 <div class="sub">
130     <a title="Program Interface: PerlMagick" href="perl-magick.html">PerlMagick</a>
131 </div>
132 <div class="sub">
133     <a title="Program Interface: Magick++" href="magick++.html">Magick++</a>
134 </div>
135 <div class="sep"></div>
136 <div  class="menu">
137    <a title="Install from Source" href="install-source.html">Install from Source</a>
138 </div>
139 <div class="sub">
140     <a title="Install from Source: Unix" href="install-source.html#unix">Unix</a>
141 </div>
142 <div class="sub">
143     <a title="Install from Source: Windows" href="install-source.html#windows">Windows</a>
144  </div>
145 <div class="menu">
146   <a title="Resources" href="resources.html">Resources</a>
147 </div>
148 <div class="menu">
149   <a title="Architecture" href="architecture.html">Architecture</a>
150 </div>
151 <div class="menu">
152   <a title="Download" href="download.html">Download</a>
153 </div>
154 <div class="sep"></div>
155 <div class="menu">
156   <a title="Search" href="search.html">Search</a>
157 </div>
158 <div class="sep"></div>
159 <div class="menu">
160   <a title="Site Map" href="sitemap.html">Site Map</a>
161 </div>
162 <div  class="sub">
163   <a title="Site Map: Links" href="links.html">Links</a>
164 </div>
165 <div class="sep"></div>
166 <div class="menu">
167   <a rel="follow" title="Sponsors" href="sponsors.html">Sponsors:</a>
168
169   <a href="http://www.networkredux.com"> <img src="../images/networkredux.png" width="140" height="31" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
170   <a href="http://www.dinodirect.com/ipads-tablets/"> <img src="../images/dino-direct.jpg" width="140" height="90" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a><!-- 201208010120 mickey@163... -->
171 <div class="sponsbox">
172 <div class="sponsor">
173   <a rel="follow" title="Sponsor: The Fastest &amp; Easiest Way to Find Images" href="http://www.graphicsfactory.com">The Fastest &amp; Easiest Way to Find Images</a><!-- 201210010270 graphicsfac... -->
174 </div>
175 <div class="sponsor">
176   <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201209010090 barsh@inter... -->
177 </div>
178 <div class="sponsor">
179   <a rel="follow" title="Werbebanner Werbeplane" href="http://www.allesbanner.de">Werbebanner Werbeplane</a><!-- 201212010450 info@druck... -->
180 </div>
181 <div class="sponsor">
182   <a rel="follow" title="Entertainment News &amp; Photos" href="http://www.zimbio.com">Entertainment News &amp; Photos</a><!-- 201211010540 bd@zimb... -->
183 </div>
184 <div class="sponsor">
185   <a rel="follow" title="Sponsor: LED24" href="http://led24.de/">LED24</a><!-- 201207010270 info@led24... -->
186 </div>
187 <div class="sponsor">
188   <a rel="follow" title="Sponsor: Best Website Hosting" href="http://www.top-cheap-web-hosting.com">Best Website Hosting</a><!-- 201304010090 eunge.liu-->
189 </div>
190 <div class="sponsor">
191   <a rel="follow" title="Android Tablet" href="http://www.dinodirect.com/ipads-tablets/">Android Tablet</a><!-- 201208010120 mickey@163... -->
192 </div>
193 <div class="sponsor">
194   <a rel="follow" title="Sponsor: Web Site Hosting" href="http://webhostinggeeks.com">Web Site Hosting</a><!-- 201302010900 funds@enmob... -->
195 </div>
196 <div class="sponsor">
197    <a rel="follow" title="Sponsor: Premium Quality Stock Photos" href="http://www.f1online.pro/en/">Premium Quality Stock Photos</a><!-- 2012080100540 ... -->
198 </div>
199 <div class="sponsor">
200    <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 2012070100250 ... -->
201 </div>
202 <div class="sponsor">
203   <a rel="follow" title="Sponsor: Managed Server" href="http://www.robhost.de">Managed Server</a><!-- 201210010720 klikics... -->
204 </div>
205 <div class="sponsor">
206   <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
207 </div>
208 <div class="sponsor">
209    <a rel="follow" title="Sponsor: Best Web Hosting" href="http://www.webhostingclue.com">Best Web Hosting</a><!-- 2012120100150 racent marketing@webhosting...-->
210 </div>
211 <div class="sponsor">
212    <a rel="follow" title="Sponsor: Web Hosting" href="http://www.hostucan.com">Web Hosting</a><!-- 2012120100150 racent marketing@webhosting...-->
213 </div>
214 </div>
215 </div>
216 </div>
217
218 <div class="eastbar">
219   <div class="g-plusone" id="gplusone"></div>
220   <script type="text/javascript">
221     window.___gcfg = {
222       lang: 'en-US'
223     };
224
225     (function() {
226       var po = document.createElement('script');
227       po.type = 'text/javascript'; po.async = true;
228       po.src = 'https://apis.google.com/js/plusone.js';
229       var script = document.getElementsByTagName('script')[0];
230       script.parentNode.insertBefore(po, script);
231     })();
232     var gplusone = document.getElementById("gplusone");
233     gplusone.setAttribute("data-size","medium");
234     gplusone.setAttribute("data-count","false");
235   </script>
236 </div>
237
238 <div class="main">
239
240 <h1>ImageMagick Motion Picture Formats</h1>
241 <p class="navigation-index">[<a href="motion-picture.html#intro">Introduction to Motion Picture Formats</a> &bull; <a href="motion-picture.html#log">Log Format</a> &bull; <a href="motion-picture.html#properties">DPX properties</a> &bull; <a href="motion-picture.html#settings">DPX Settings</a>]</p>
242
243 <h2><a id="intro"></a>Introduction to Motion Picture Formats</h2>
244 <div class="doc-section">
245
246 <p>DPX (SMPTE 268M-2003) - This format is used in Motion Picture and Effects industry that makes particular use of the extensive header information and the format's flexibility in being able to handle high dynamic range and logarithmic color values at a variety of bit depths using RGB or YCbCr pixel descriptions.  It is based on, but largely supercedes, Kodak's Cineon format that has more a more film specific header.</p>
247
248 <p>One example of it's use includes scanning film for use in post production. Each frame is stored as an individual DPX file ranging from 2k (2048 pixels wide) to 8k (8192 pixels wide - for IMAX frames) at anything between 8 to 64 bits per color component. A sequence of these might then be processed using compositing software, altering the color or adding visual effects. Once complete they might then be recorded digitally to tape or projected back on to film.</p>
249
250 <p>The color values for each pixel are often stored logarithmically (particularly if the sequence is destined to be transferred back on to film) which more naturally reflects the density of how color information is stored in the emulsion on the original film. When viewed without alteration, logarithmic files appear to have very low contrast and requires a 'look up table' to translate the logarithmic image to something that resembles what you might see if the image was transferred back to film and projected in a cinema. Apart from making the image linear (like most typical computer images) and adjusting the gamma level this table sets where the black and white point lies.</p>
251
252 <p>For a 10 bit logarithmic image where each color component value ranges from 0 to 1023 the black and white points are normally set at 95 for black and 685 for white. What this means is that the logarithmic file stores color values that are lighter than what the linear version will display as pure white and darker than what it will display as pure black. This extra information therefore remains available for an effects artists who might wish to alter the brightness of the image after it has been stored as a DPX file.</p>
253
254 <p>As an example, had this information been lost, reducing the brightness of an image uniformly would result in highlights becoming darker, whereas with this extra information the highlights instead reduce in size and start showing details that were previously too bright to be seen. The latter is far closer to what happens in the real world.</p>
255
256 <p>The header can contain Film and/or Television specific data related to a production. For example the television header can contain a SMPTE time code so that shots exported as a DPX sequence from a production's edit can be easily replaced once any effects have been added. The film header holds information about the reel of film the frames originated from and various camera settings that were used while filming.  All these details usually stay with the images as they are passed between post-production companies.</p>
257
258 </div>
259
260 <h2><a id="log"></a>Log Format</h2>
261 <div class="doc-section">
262
263 <p>The color values for each pixel are often stored logarithmically (particularly if the sequence is destined to be transferred back on to film) which more naturally reflects the density of how color information is stored in the emulsion on the original film. When viewed without alteration logarithmic files appear to have very low contrast (leftmost image), and so require a 'look up table' to translate the logarithmic image to something that resembles what you might see if the image was transferred back to film and projected in a cinema (rightmost image). Apart from making the image linear (like most typical computer images) and adjusting the gamma level this table sets where the black and white point lies.</p>
264
265 <p class="image">
266   <a href="../images/bluebells_log.jpg"><img src="../images/bluebells_log.jpg" width="384" height="288" class="image-slices" alt="bluebells-log" /></a>
267   <a href="../images/bluebells_lin.jpg"><img src="../images/bluebells_lin.jpg" width="384" height="288" class="image-slices" alt="bluebells-linear" /></a>
268 </p>
269
270 <p>For a 10 bit logarithmic image where each color component value ranges from 0 to 1023 the black and white points are normally set at 95 for black and 685 for white. What this means is that the logarithmic file stores color values that are lighter than what the linear version will display as pure white and darker than what it will display as pure black. This extra information therefore remains available for an effects artists who might wish to alter the brightness of the image after it has been stored as a DPX file.</p>
271
272 <p>As an example, had this information been lost, reducing the brightness of a linear image uniformly would result in highlights becoming darker (leftmost image), whereas with this extra information the highlights instead reduce in size and start showing details that were previously too bright to be seen (rightmost image). The latter is far closer to what happens in the real world.</p>
273
274 <p class="image">
275   <a href="../images/bluebells_clipped.jpg"><img src="../images/bluebells_clipped.jpg" width="384" height="288" class="image-slices" alt="bluebells-clipped" /></a>
276   <a href="../images/bluebells_darker.jpg"><img src="../images/bluebells_darker.jpg" width="384" height="288" class="image-slices" alt="bluebells-darker" /></a>
277 </p>
278
279 </div>
280
281 <h2><a id="properties"></a>DPX Properties</h2>
282 <div class="doc-section">
283
284 <p>ImageMagick supports these DPX properties:</p>
285
286 <pre class="text">
287   dpx:file.copyright
288   dpx:file.creator
289   dpx:file.filename
290   dpx:file.project
291   dpx:file.version
292   dpx:film.count
293   dpx:film.format
294   dpx:film.frame_id
295   dpx:film.frame_position
296   dpx:film.frame_rate
297   dpx:film.held_count
298   dpx:film.id
299   dpx:film.offset
300   dpx:film.prefix
301   dpx:film.sequence_length
302   dpx:film.shutter_angle
303   dpx:film.slate
304   dpx:film.type
305   dpx:orientation.aspect_ratio
306   dpx:orientation.border
307   dpx:orientation.device
308   dpx:orientation.filename
309   dpx:orientation.serial
310   dpx:orientation.x_center
311   dpx:orientation.x_offset
312   dpx:orientation.x_size
313   dpx:orientation.y_center
314   dpx:orientation.y_offset
315   dpx:orientation.y_size
316   dpx:television.black_gain
317   dpx:television.black_level
318   dpx:television.break_point
319   dpx:television.field_number
320   dpx:television.frame_rate
321   dpx:television.gamma
322   dpx:television.integration_times
323   dpx:television.interlace
324   dpx:television.padding
325   dpx:television.time.code
326   dpx:television.time_offset
327   dpx:television.user.bits
328   dpx:television.vertical_sample_rate
329   dpx:television.video_signal
330   dpx:television.white_level
331   dpx:user.id
332   dpx:user.data
333 </pre>
334
335 <p> To determine which properties are associated with your DPX image, use this command for example:</p>
336
337 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>identify -verbose bluebells.dpx</span></p>
338 <p>To identify a particular property, try this:</p>
339
340 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>identify -format "%[dpx:television.time.code]" bluebells.dpx</span></p>
341 <p>Finally, to set a property:</p>
342
343 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>convert bluebells.dpx -define dpx:television.time.code=10:00:02:15 bluebells-001.dpx</span></p>
344 </div>
345
346 <h2><a id="settings"></a>DPX Settings</h2>
347 <div class="doc-section">
348
349 <p>Use <a href="command-line-options.html#set">-set</a> to specify the image or film gamma or black and white points.  For example use:
350 </p>
351
352         <div>
353         <p class="crtsnip">-set gamma 1.7</p>
354
355         <p class="crtsnip">-set film-gamma 0.6</p>
356
357         <p class="crtsnip">-set reference-black 95</p>
358
359         <p class="crtsnip">-set reference-white 685</p>
360
361         <p class="crtsnip">-set profile dpx:user.data</p>
362         </div>
363
364 </div>
365
366
367 </div>
368
369 <div id="linkbar">
370     <span id="linkbar-west">&nbsp;</span>
371     <span id="linkbar-center">
372       <a href="../discourse-server">Discourse Server</a> &bull;
373       <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
374     </span>
375     <span id="linkbar-east">&nbsp;</span>
376   </div>
377   <div class="footer">
378     <span id="footer-west">&copy; 1999-2013 ImageMagick Studio LLC</span>
379     <span id="footer-east"> <a href="contact.html">Contact the Wizards</a></span>
380   </div>
381   <div style="clear: both; margin: 0; width: 100%; "></div>
382   <script type="text/javascript">
383     var _gaq = _gaq || [];
384     _gaq.push(['_setAccount', 'UA-17690367-1']);
385     _gaq.push(['_trackPageview']);
386
387     (function() {
388       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
389       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
390       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
391     })();
392   </script>
393 </body>
394 </html>