halation 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +211 -0
- data/bin/halation +4 -1
- data/doc/Halation.html +14 -4
- data/doc/Halation/AttrHelpers.html +288 -0
- data/doc/Halation/Coerce.html +373 -0
- data/doc/Halation/Config.html +732 -0
- data/doc/Halation/Config/Camera.html +628 -0
- data/doc/Halation/Config/Lens.html +540 -0
- data/doc/Halation/Engine.html +928 -0
- data/doc/Halation/ExifToolImage.html +486 -0
- data/doc/Halation/Roll.html +916 -0
- data/doc/Halation/Roll/Frame.html +842 -0
- data/doc/Halation/Script.html +506 -0
- data/doc/_index.html +112 -1
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +1 -1
- data/doc/file.README.html +211 -1
- data/doc/index.html +211 -1
- data/doc/method_list.html +432 -0
- data/doc/top-level-namespace.html +1 -1
- data/lib/halation.rb +4 -0
- data/lib/halation/coerce.rb +21 -0
- data/lib/halation/config.rb +53 -0
- data/lib/halation/config/camera.rb +42 -0
- data/lib/halation/config/lens.rb +32 -0
- data/lib/halation/engine.rb +91 -0
- data/lib/halation/roll.rb +57 -0
- data/lib/halation/roll/frame.rb +47 -0
- data/lib/halation/script.rb +150 -0
- data/lib/halation/tools/exif_tool/image.rb +33 -0
- data/lib/halation/version.rb +1 -1
- metadata +42 -3
@@ -0,0 +1,928 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Halation::Engine
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Halation::Engine";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (E)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Halation.html" title="Halation (module)">Halation</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Engine</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: Halation::Engine
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName">Object</span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li>Object</li>
|
78
|
+
|
79
|
+
<li class="next">Halation::Engine</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/halation/engine.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
|
107
|
+
<p>Performs modifications to the image Exif data.</p>
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="tags">
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
120
|
+
<ul class="summary">
|
121
|
+
|
122
|
+
<li class="public ">
|
123
|
+
<span class="summary_signature">
|
124
|
+
|
125
|
+
<a href="#config-instance_method" title="#config (instance method)">#<strong>config</strong> ⇒ Object </a>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
</span>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<span class="note title readonly">readonly</span>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<span class="summary_desc"><div class='inline'>
|
145
|
+
<p>Returns the value of attribute config.</p>
|
146
|
+
</div></span>
|
147
|
+
|
148
|
+
</li>
|
149
|
+
|
150
|
+
|
151
|
+
<li class="public ">
|
152
|
+
<span class="summary_signature">
|
153
|
+
|
154
|
+
<a href="#image_extensions-instance_method" title="#image_extensions (instance method)">#<strong>image_extensions</strong> ⇒ Object </a>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
</span>
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<span class="summary_desc"><div class='inline'>
|
172
|
+
<p>Array of image extensions to search for.</p>
|
173
|
+
</div></span>
|
174
|
+
|
175
|
+
</li>
|
176
|
+
|
177
|
+
|
178
|
+
<li class="public ">
|
179
|
+
<span class="summary_signature">
|
180
|
+
|
181
|
+
<a href="#roll-instance_method" title="#roll (instance method)">#<strong>roll</strong> ⇒ Object </a>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
</span>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
<span class="note title readonly">readonly</span>
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
<span class="summary_desc"><div class='inline'>
|
201
|
+
<p>Returns the value of attribute roll.</p>
|
202
|
+
</div></span>
|
203
|
+
|
204
|
+
</li>
|
205
|
+
|
206
|
+
|
207
|
+
<li class="public ">
|
208
|
+
<span class="summary_signature">
|
209
|
+
|
210
|
+
<a href="#silent-instance_method" title="#silent (instance method)">#<strong>silent</strong> ⇒ Object </a>
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</span>
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
<span class="summary_desc"><div class='inline'>
|
228
|
+
<p>Suppress output to stdout if true.</p>
|
229
|
+
</div></span>
|
230
|
+
|
231
|
+
</li>
|
232
|
+
|
233
|
+
|
234
|
+
</ul>
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<h2>
|
241
|
+
Class Method Summary
|
242
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
243
|
+
</h2>
|
244
|
+
|
245
|
+
<ul class="summary">
|
246
|
+
|
247
|
+
<li class="public ">
|
248
|
+
<span class="summary_signature">
|
249
|
+
|
250
|
+
<a href="#run-class_method" title="run (class method)">.<strong>run</strong>(opts = {}) ⇒ Object </a>
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
</span>
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
265
|
+
|
266
|
+
</li>
|
267
|
+
|
268
|
+
|
269
|
+
</ul>
|
270
|
+
|
271
|
+
<h2>
|
272
|
+
Instance Method Summary
|
273
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
274
|
+
</h2>
|
275
|
+
|
276
|
+
<ul class="summary">
|
277
|
+
|
278
|
+
<li class="public ">
|
279
|
+
<span class="summary_signature">
|
280
|
+
|
281
|
+
<a href="#image_files-instance_method" title="#image_files (instance method)">#<strong>image_files</strong> ⇒ Array<String> </a>
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
</span>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
<span class="summary_desc"><div class='inline'>
|
296
|
+
<p>Detected image files to process, in ascending alphabetical order.</p>
|
297
|
+
</div></span>
|
298
|
+
|
299
|
+
</li>
|
300
|
+
|
301
|
+
|
302
|
+
<li class="public ">
|
303
|
+
<span class="summary_signature">
|
304
|
+
|
305
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(opts = {}) ⇒ Engine </a>
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
</span>
|
310
|
+
|
311
|
+
|
312
|
+
<span class="note title constructor">constructor</span>
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
<span class="summary_desc"><div class='inline'>
|
322
|
+
<p>A new instance of Engine.</p>
|
323
|
+
</div></span>
|
324
|
+
|
325
|
+
</li>
|
326
|
+
|
327
|
+
|
328
|
+
<li class="public ">
|
329
|
+
<span class="summary_signature">
|
330
|
+
|
331
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> ⇒ Object </a>
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
</span>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
<span class="summary_desc"><div class='inline'>
|
346
|
+
<p>Process the batch of images.</p>
|
347
|
+
</div></span>
|
348
|
+
|
349
|
+
</li>
|
350
|
+
|
351
|
+
|
352
|
+
</ul>
|
353
|
+
|
354
|
+
|
355
|
+
<div id="constructor_details" class="method_details_list">
|
356
|
+
<h2>Constructor Details</h2>
|
357
|
+
|
358
|
+
<div class="method_details first">
|
359
|
+
<h3 class="signature first" id="initialize-instance_method">
|
360
|
+
|
361
|
+
#<strong>initialize</strong>(opts = {}) ⇒ <tt><span class='object_link'><a href="" title="Halation::Engine (class)">Engine</a></span></tt>
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
</h3><div class="docstring">
|
368
|
+
<div class="discussion">
|
369
|
+
|
370
|
+
<p>Returns a new instance of Engine</p>
|
371
|
+
|
372
|
+
|
373
|
+
</div>
|
374
|
+
</div>
|
375
|
+
<div class="tags">
|
376
|
+
<p class="tag_title">Parameters:</p>
|
377
|
+
<ul class="param">
|
378
|
+
|
379
|
+
<li>
|
380
|
+
|
381
|
+
<span class='name'>opts</span>
|
382
|
+
|
383
|
+
|
384
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
385
|
+
|
386
|
+
|
387
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
388
|
+
|
389
|
+
|
390
|
+
—
|
391
|
+
<div class='inline'>
|
392
|
+
<p>a customizable set of options</p>
|
393
|
+
</div>
|
394
|
+
|
395
|
+
</li>
|
396
|
+
|
397
|
+
</ul>
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
<p class="tag_title">Options Hash (<tt>opts</tt>):</p>
|
403
|
+
<ul class="option">
|
404
|
+
|
405
|
+
<li>
|
406
|
+
<span class="name">:config_path</span>
|
407
|
+
<span class="type">(<tt>String</tt>)</span>
|
408
|
+
<span class="default">
|
409
|
+
|
410
|
+
— default:
|
411
|
+
<tt>nil</tt>
|
412
|
+
|
413
|
+
</span>
|
414
|
+
|
415
|
+
— <div class='inline'>
|
416
|
+
<p>Override the config file that should be used.</p>
|
417
|
+
</div>
|
418
|
+
|
419
|
+
</li>
|
420
|
+
|
421
|
+
<li>
|
422
|
+
<span class="name">:working_dir</span>
|
423
|
+
<span class="type">(<tt>String</tt>)</span>
|
424
|
+
<span class="default">
|
425
|
+
|
426
|
+
— default:
|
427
|
+
<tt>"."</tt>
|
428
|
+
|
429
|
+
</span>
|
430
|
+
|
431
|
+
— <div class='inline'>
|
432
|
+
<p>Override the working directory (contains images and roll.yml).</p>
|
433
|
+
</div>
|
434
|
+
|
435
|
+
</li>
|
436
|
+
|
437
|
+
<li>
|
438
|
+
<span class="name">:image_extensions</span>
|
439
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
440
|
+
<span class="default">
|
441
|
+
|
442
|
+
</span>
|
443
|
+
|
444
|
+
— <div class='inline'>
|
445
|
+
<p>Override the list of image extensions to search for.</p>
|
446
|
+
</div>
|
447
|
+
|
448
|
+
</li>
|
449
|
+
|
450
|
+
<li>
|
451
|
+
<span class="name">:silent</span>
|
452
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
453
|
+
<span class="default">
|
454
|
+
|
455
|
+
</span>
|
456
|
+
|
457
|
+
— <div class='inline'>
|
458
|
+
<p>Suppress output to stdout.</p>
|
459
|
+
</div>
|
460
|
+
|
461
|
+
</li>
|
462
|
+
|
463
|
+
</ul>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
</div><table class="source_code">
|
468
|
+
<tr>
|
469
|
+
<td>
|
470
|
+
<pre class="lines">
|
471
|
+
|
472
|
+
|
473
|
+
29
|
474
|
+
30
|
475
|
+
31
|
476
|
+
32
|
477
|
+
33
|
478
|
+
34
|
479
|
+
35
|
480
|
+
36
|
481
|
+
37
|
482
|
+
38
|
483
|
+
39
|
484
|
+
40</pre>
|
485
|
+
</td>
|
486
|
+
<td>
|
487
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 29</span>
|
488
|
+
|
489
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
490
|
+
<span class='id identifier rubyid_config_path'>config_path</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:config_path</span><span class='rbracket'>]</span>
|
491
|
+
<span class='ivar'>@silent</span> <span class='op'>=</span> <span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:silent</span><span class='rbracket'>]</span>
|
492
|
+
<span class='ivar'>@working_dir</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:working_dir</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
493
|
+
<span class='ivar'>@image_extensions</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:image_extensions</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>tif</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>tiff</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>jpg</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>jpeg</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
494
|
+
|
495
|
+
<span class='ivar'>@config</span> <span class='op'>=</span> <span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
496
|
+
<span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_config_path'>config_path</span><span class='rparen'>)</span>
|
497
|
+
|
498
|
+
<span class='ivar'>@roll</span> <span class='op'>=</span> <span class='const'>Roll</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
499
|
+
<span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@working_dir</span><span class='embexpr_end'>}</span><span class='tstring_content'>/roll.yml</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
500
|
+
<span class='kw'>end</span></pre>
|
501
|
+
</td>
|
502
|
+
</tr>
|
503
|
+
</table>
|
504
|
+
</div>
|
505
|
+
|
506
|
+
</div>
|
507
|
+
|
508
|
+
<div id="instance_attr_details" class="attr_details">
|
509
|
+
<h2>Instance Attribute Details</h2>
|
510
|
+
|
511
|
+
|
512
|
+
<span id=""></span>
|
513
|
+
<div class="method_details first">
|
514
|
+
<h3 class="signature first" id="config-instance_method">
|
515
|
+
|
516
|
+
#<strong>config</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
</h3><div class="docstring">
|
523
|
+
<div class="discussion">
|
524
|
+
|
525
|
+
<p>Returns the value of attribute config</p>
|
526
|
+
|
527
|
+
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
<div class="tags">
|
531
|
+
|
532
|
+
|
533
|
+
</div><table class="source_code">
|
534
|
+
<tr>
|
535
|
+
<td>
|
536
|
+
<pre class="lines">
|
537
|
+
|
538
|
+
|
539
|
+
13
|
540
|
+
14
|
541
|
+
15</pre>
|
542
|
+
</td>
|
543
|
+
<td>
|
544
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 13</span>
|
545
|
+
|
546
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_config'>config</span>
|
547
|
+
<span class='ivar'>@config</span>
|
548
|
+
<span class='kw'>end</span></pre>
|
549
|
+
</td>
|
550
|
+
</tr>
|
551
|
+
</table>
|
552
|
+
</div>
|
553
|
+
|
554
|
+
|
555
|
+
<span id="image_extensions=-instance_method"></span>
|
556
|
+
<div class="method_details ">
|
557
|
+
<h3 class="signature " id="image_extensions-instance_method">
|
558
|
+
|
559
|
+
#<strong>image_extensions</strong> ⇒ <tt>Object</tt>
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
</h3><div class="docstring">
|
566
|
+
<div class="discussion">
|
567
|
+
|
568
|
+
<p>Array of image extensions to search for.</p>
|
569
|
+
|
570
|
+
|
571
|
+
</div>
|
572
|
+
</div>
|
573
|
+
<div class="tags">
|
574
|
+
|
575
|
+
|
576
|
+
</div><table class="source_code">
|
577
|
+
<tr>
|
578
|
+
<td>
|
579
|
+
<pre class="lines">
|
580
|
+
|
581
|
+
|
582
|
+
9
|
583
|
+
10
|
584
|
+
11</pre>
|
585
|
+
</td>
|
586
|
+
<td>
|
587
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 9</span>
|
588
|
+
|
589
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_image_extensions'>image_extensions</span>
|
590
|
+
<span class='ivar'>@image_extensions</span>
|
591
|
+
<span class='kw'>end</span></pre>
|
592
|
+
</td>
|
593
|
+
</tr>
|
594
|
+
</table>
|
595
|
+
</div>
|
596
|
+
|
597
|
+
|
598
|
+
<span id=""></span>
|
599
|
+
<div class="method_details ">
|
600
|
+
<h3 class="signature " id="roll-instance_method">
|
601
|
+
|
602
|
+
#<strong>roll</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
</h3><div class="docstring">
|
609
|
+
<div class="discussion">
|
610
|
+
|
611
|
+
<p>Returns the value of attribute roll</p>
|
612
|
+
|
613
|
+
|
614
|
+
</div>
|
615
|
+
</div>
|
616
|
+
<div class="tags">
|
617
|
+
|
618
|
+
|
619
|
+
</div><table class="source_code">
|
620
|
+
<tr>
|
621
|
+
<td>
|
622
|
+
<pre class="lines">
|
623
|
+
|
624
|
+
|
625
|
+
14
|
626
|
+
15
|
627
|
+
16</pre>
|
628
|
+
</td>
|
629
|
+
<td>
|
630
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 14</span>
|
631
|
+
|
632
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_roll'>roll</span>
|
633
|
+
<span class='ivar'>@roll</span>
|
634
|
+
<span class='kw'>end</span></pre>
|
635
|
+
</td>
|
636
|
+
</tr>
|
637
|
+
</table>
|
638
|
+
</div>
|
639
|
+
|
640
|
+
|
641
|
+
<span id="silent=-instance_method"></span>
|
642
|
+
<div class="method_details ">
|
643
|
+
<h3 class="signature " id="silent-instance_method">
|
644
|
+
|
645
|
+
#<strong>silent</strong> ⇒ <tt>Object</tt>
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
</h3><div class="docstring">
|
652
|
+
<div class="discussion">
|
653
|
+
|
654
|
+
<p>Suppress output to stdout if true.</p>
|
655
|
+
|
656
|
+
|
657
|
+
</div>
|
658
|
+
</div>
|
659
|
+
<div class="tags">
|
660
|
+
|
661
|
+
|
662
|
+
</div><table class="source_code">
|
663
|
+
<tr>
|
664
|
+
<td>
|
665
|
+
<pre class="lines">
|
666
|
+
|
667
|
+
|
668
|
+
11
|
669
|
+
12
|
670
|
+
13</pre>
|
671
|
+
</td>
|
672
|
+
<td>
|
673
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 11</span>
|
674
|
+
|
675
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_silent'>silent</span>
|
676
|
+
<span class='ivar'>@silent</span>
|
677
|
+
<span class='kw'>end</span></pre>
|
678
|
+
</td>
|
679
|
+
</tr>
|
680
|
+
</table>
|
681
|
+
</div>
|
682
|
+
|
683
|
+
</div>
|
684
|
+
|
685
|
+
|
686
|
+
<div id="class_method_details" class="method_details_list">
|
687
|
+
<h2>Class Method Details</h2>
|
688
|
+
|
689
|
+
|
690
|
+
<div class="method_details first">
|
691
|
+
<h3 class="signature first" id="run-class_method">
|
692
|
+
|
693
|
+
.<strong>run</strong>(opts = {}) ⇒ <tt>Object</tt>
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
</h3><div class="docstring">
|
700
|
+
<div class="discussion">
|
701
|
+
|
702
|
+
|
703
|
+
</div>
|
704
|
+
</div>
|
705
|
+
<div class="tags">
|
706
|
+
|
707
|
+
|
708
|
+
<p class="tag_title">See Also:</p>
|
709
|
+
<ul class="see">
|
710
|
+
|
711
|
+
<li><span class='object_link'><a href="#run-instance_method" title="Halation::Engine#run (method)">#run</a></span></li>
|
712
|
+
|
713
|
+
</ul>
|
714
|
+
|
715
|
+
</div><table class="source_code">
|
716
|
+
<tr>
|
717
|
+
<td>
|
718
|
+
<pre class="lines">
|
719
|
+
|
720
|
+
|
721
|
+
17
|
722
|
+
18
|
723
|
+
19</pre>
|
724
|
+
</td>
|
725
|
+
<td>
|
726
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 17</span>
|
727
|
+
|
728
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
729
|
+
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
730
|
+
<span class='kw'>end</span></pre>
|
731
|
+
</td>
|
732
|
+
</tr>
|
733
|
+
</table>
|
734
|
+
</div>
|
735
|
+
|
736
|
+
</div>
|
737
|
+
|
738
|
+
<div id="instance_method_details" class="method_details_list">
|
739
|
+
<h2>Instance Method Details</h2>
|
740
|
+
|
741
|
+
|
742
|
+
<div class="method_details first">
|
743
|
+
<h3 class="signature first" id="image_files-instance_method">
|
744
|
+
|
745
|
+
#<strong>image_files</strong> ⇒ <tt>Array<String></tt>
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
</h3><div class="docstring">
|
752
|
+
<div class="discussion">
|
753
|
+
|
754
|
+
<p>Returns detected image files to process, in ascending alphabetical order.</p>
|
755
|
+
|
756
|
+
|
757
|
+
</div>
|
758
|
+
</div>
|
759
|
+
<div class="tags">
|
760
|
+
|
761
|
+
<p class="tag_title">Returns:</p>
|
762
|
+
<ul class="return">
|
763
|
+
|
764
|
+
<li>
|
765
|
+
|
766
|
+
|
767
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
—
|
772
|
+
<div class='inline'>
|
773
|
+
<p>detected image files to process, in ascending alphabetical order.</p>
|
774
|
+
</div>
|
775
|
+
|
776
|
+
</li>
|
777
|
+
|
778
|
+
</ul>
|
779
|
+
|
780
|
+
</div><table class="source_code">
|
781
|
+
<tr>
|
782
|
+
<td>
|
783
|
+
<pre class="lines">
|
784
|
+
|
785
|
+
|
786
|
+
44
|
787
|
+
45
|
788
|
+
46
|
789
|
+
47</pre>
|
790
|
+
</td>
|
791
|
+
<td>
|
792
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 44</span>
|
793
|
+
|
794
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_image_files'>image_files</span>
|
795
|
+
<span class='const'>Dir</span><span class='lbracket'>[</span><span class='op'>*</span><span class='ivar'>@image_extensions</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_ext'>ext</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@working_dir</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ext'>ext</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span><span class='rbracket'>]</span><span class='period'>
|
796
|
+
</span><span class='id identifier rubyid_ .sort'> .sort</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>...</span><span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_frames'>frames</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span><span class='rbracket'>]</span>
|
797
|
+
<span class='kw'>end</span></pre>
|
798
|
+
</td>
|
799
|
+
</tr>
|
800
|
+
</table>
|
801
|
+
</div>
|
802
|
+
|
803
|
+
<div class="method_details ">
|
804
|
+
<h3 class="signature " id="run-instance_method">
|
805
|
+
|
806
|
+
#<strong>run</strong> ⇒ <tt>Object</tt>
|
807
|
+
|
808
|
+
|
809
|
+
|
810
|
+
|
811
|
+
|
812
|
+
</h3><div class="docstring">
|
813
|
+
<div class="discussion">
|
814
|
+
|
815
|
+
<p>Process the batch of images.</p>
|
816
|
+
|
817
|
+
|
818
|
+
</div>
|
819
|
+
</div>
|
820
|
+
<div class="tags">
|
821
|
+
|
822
|
+
|
823
|
+
</div><table class="source_code">
|
824
|
+
<tr>
|
825
|
+
<td>
|
826
|
+
<pre class="lines">
|
827
|
+
|
828
|
+
|
829
|
+
50
|
830
|
+
51
|
831
|
+
52
|
832
|
+
53
|
833
|
+
54
|
834
|
+
55
|
835
|
+
56
|
836
|
+
57
|
837
|
+
58
|
838
|
+
59
|
839
|
+
60
|
840
|
+
61
|
841
|
+
62
|
842
|
+
63
|
843
|
+
64
|
844
|
+
65
|
845
|
+
66
|
846
|
+
67
|
847
|
+
68
|
848
|
+
69
|
849
|
+
70
|
850
|
+
71
|
851
|
+
72
|
852
|
+
73
|
853
|
+
74
|
854
|
+
75
|
855
|
+
76
|
856
|
+
77
|
857
|
+
78
|
858
|
+
79
|
859
|
+
80
|
860
|
+
81
|
861
|
+
82
|
862
|
+
83
|
863
|
+
84
|
864
|
+
85
|
865
|
+
86
|
866
|
+
87
|
867
|
+
88</pre>
|
868
|
+
</td>
|
869
|
+
<td>
|
870
|
+
<pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 50</span>
|
871
|
+
|
872
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
873
|
+
<span class='id identifier rubyid__image_files'>_image_files</span> <span class='op'>=</span> <span class='id identifier rubyid_image_files'>image_files</span>
|
874
|
+
|
875
|
+
<span class='id identifier rubyid_specified_camera'>specified_camera</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_camera'>camera</span>
|
876
|
+
<span class='id identifier rubyid_camera'>camera</span> <span class='op'>=</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_cameras'>cameras</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_camera'>camera</span><span class='op'>|</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='id identifier rubyid_specified_camera'>specified_camera</span> <span class='rbrace'>}</span>
|
877
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Camera </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_specified_camera'>specified_camera</span><span class='embexpr_end'>}</span><span class='tstring_content'> not found in config.yml</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_camera'>camera</span>
|
878
|
+
|
879
|
+
<span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_frames'>frames</span><span class='period'>.</span><span class='id identifier rubyid_each_with_index'>each_with_index</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_frame'>frame</span><span class='comma'>,</span> <span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
880
|
+
<span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_i'>i</span> <span class='op'>>=</span> <span class='id identifier rubyid__image_files'>_image_files</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span>
|
881
|
+
|
882
|
+
<span class='id identifier rubyid_specified_lens'>specified_lens</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_lens'>lens</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_lens'>lens</span>
|
883
|
+
<span class='id identifier rubyid_lens'>lens</span> <span class='op'>=</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_lenses'>lenses</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_lens'>lens</span><span class='op'>|</span> <span class='id identifier rubyid_lens'>lens</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='id identifier rubyid_specified_lens'>specified_lens</span> <span class='rbrace'>}</span>
|
884
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Lens </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_specified_lens'>specified_lens</span><span class='embexpr_end'>}</span><span class='tstring_content'> not found for frame </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_number'>number</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_lens'>lens</span>
|
885
|
+
|
886
|
+
<span class='id identifier rubyid_relative_path'>relative_path</span> <span class='op'>=</span> <span class='id identifier rubyid__image_files'>_image_files</span><span class='lbracket'>[</span><span class='id identifier rubyid_i'>i</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>%r(</span><span class='tstring_content'>^</span><span class='embexpr_beg'>#{</span><span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_pwd'>pwd</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='regexp_end'>)</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
887
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Processing frame </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_number'>number</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_relative_path'>relative_path</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@silent</span>
|
888
|
+
|
889
|
+
<span class='const'>ExifToolImage</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid__image_files'>_image_files</span><span class='lbracket'>[</span><span class='id identifier rubyid_i'>i</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_exif'>exif</span><span class='op'>|</span>
|
890
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Artist</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_artist'>artist</span> <span class='op'>||</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_artist'>artist</span>
|
891
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Copyright</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_copyright'>copyright</span> <span class='op'>||</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_copyright'>copyright</span>
|
892
|
+
|
893
|
+
<span class='id identifier rubyid_date_created'>date_created</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span><span class='rparen'>)</span>
|
894
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>DateTimeOriginal</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_date_created'>date_created</span>
|
895
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>CreateDate</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_date_created'>date_created</span>
|
896
|
+
|
897
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Make</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_make'>make</span>
|
898
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Model</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span>
|
899
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>LensModel</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_lens'>lens</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span>
|
900
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ISO</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_iso'>iso</span>
|
901
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ExposureTime</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_shutter'>shutter</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_shutter'>shutter</span>
|
902
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>FNumber</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_aperture'>aperture</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_aperture'>aperture</span>
|
903
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>FocalLength</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_focal_length'>focal_length</span> <span class='op'>||</span> <span class='id identifier rubyid_lens'>lens</span><span class='period'>.</span><span class='id identifier rubyid_focal_length'>focal_length</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_focal_length'>focal_length</span>
|
904
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Flash</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_flash'>flash</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
|
905
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Orientation</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_orientation'>orientation</span> <span class='op'>||</span> <span class='int'>1</span>
|
906
|
+
|
907
|
+
<span class='id identifier rubyid_exif'>exif</span><span class='period'>.</span><span class='id identifier rubyid_save'>save</span>
|
908
|
+
<span class='kw'>end</span>
|
909
|
+
<span class='kw'>end</span>
|
910
|
+
<span class='kw'>end</span></pre>
|
911
|
+
</td>
|
912
|
+
</tr>
|
913
|
+
</table>
|
914
|
+
</div>
|
915
|
+
|
916
|
+
</div>
|
917
|
+
|
918
|
+
</div>
|
919
|
+
|
920
|
+
<div id="footer">
|
921
|
+
Generated on Sat May 28 22:28:56 2016 by
|
922
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
923
|
+
0.8.7.6 (ruby-2.1.7).
|
924
|
+
</div>
|
925
|
+
|
926
|
+
</div>
|
927
|
+
</body>
|
928
|
+
</html>
|