1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HDF5: Fortran High Level Images (H5IM) Interface</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="hdf5doxy.css" rel="stylesheet" type="text/css">
<!-- <link href="hdf5doxy.css" rel="stylesheet" type="text/css"/>
-->
<script type="text/javascript" src="hdf5_navtree_hacks.js"></script>
</head>
<body>
<div style="background:#FFDDDD;font-size:120%;text-align:center;margin:0;padding:5px">Please, help us to better serve our user community by answering the following short survey: <a href="https://www.hdfgroup.org/website-survey/">https://www.hdfgroup.org/website-survey/</a></div>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="HDFG-logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname"><a href="https://www.hdfgroup.org">HDF5</a>
 <span id="projectnumber">1.15.0.112f445</span>
</div>
<div id="projectbrief">API Reference</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function(){initNavTree('group___f_h5_i_m.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Modules</a> |
<a href="#func-members">Functions/Subroutines</a> </div>
<div class="headertitle"><div class="title">Fortran High Level Images (H5IM) Interface</div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___h5_i_m.html">HDF5 Images API (H5IM)</a>, C-HL API</dd>
<dd>
<a class="el" href="_h5_i_m__u_g.html">The HDF5 High Level Images</a>, User Guide </dd></dl>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Modules</h2></td></tr>
<tr class="memitem:namespaceh5im" id="r_namespaceh5im"><td class="memItemLeft" align="right" valign="top">module  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceh5im.html">h5im</a></td></tr>
<tr class="memdesc:namespaceh5im"><td class="mdescLeft"> </td><td class="mdescRight">This module contains Fortran interfaces for H5IM. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions/Subroutines</h2></td></tr>
<tr class="memitem:gac30cbab36df84de283e30d9de9bdc848" id="r_gac30cbab36df84de283e30d9de9bdc848"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#gac30cbab36df84de283e30d9de9bdc848">h5immake_image_8bit_f</a> (loc_id, dset_name, width, height, buf, errcode)</td></tr>
<tr class="memdesc:gac30cbab36df84de283e30d9de9bdc848"><td class="mdescLeft"> </td><td class="mdescRight">Creates and writes an image an 8 bit image. <br /></td></tr>
<tr class="separator:gac30cbab36df84de283e30d9de9bdc848"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gace5754228364bcde3e21d6d1cdb0cb5e" id="r_gace5754228364bcde3e21d6d1cdb0cb5e"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#gace5754228364bcde3e21d6d1cdb0cb5e">h5imread_image_f</a> (loc_id, dset_name, buf, errcode)</td></tr>
<tr class="memdesc:gace5754228364bcde3e21d6d1cdb0cb5e"><td class="mdescLeft"> </td><td class="mdescRight">Reads image data from disk. <br /></td></tr>
<tr class="separator:gace5754228364bcde3e21d6d1cdb0cb5e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae17a8216ab5725dc684ed7baea996680" id="r_gae17a8216ab5725dc684ed7baea996680"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#gae17a8216ab5725dc684ed7baea996680">h5immake_image_24bit_f</a> (loc_id, dset_name, width, height, il, buf, errcode)</td></tr>
<tr class="memdesc:gae17a8216ab5725dc684ed7baea996680"><td class="mdescLeft"> </td><td class="mdescRight">Creates and writes an image a 24 bit image. <br /></td></tr>
<tr class="separator:gae17a8216ab5725dc684ed7baea996680"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga37655210991f287c570e619cfedc28bf" id="r_ga37655210991f287c570e619cfedc28bf"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga37655210991f287c570e619cfedc28bf">h5imget_image_info_f</a> (loc_id, dset_name, width, height, planes, interlace, npals, errcode)</td></tr>
<tr class="memdesc:ga37655210991f287c570e619cfedc28bf"><td class="mdescLeft"> </td><td class="mdescRight">Gets information about an image dataset (dimensions, interlace mode and number of associated palettes). <br /></td></tr>
<tr class="separator:ga37655210991f287c570e619cfedc28bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga96ac5556029f5723899d3ed55e7cc419" id="r_ga96ac5556029f5723899d3ed55e7cc419"><td class="memItemLeft" align="right" valign="top">integer function </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga96ac5556029f5723899d3ed55e7cc419">h5imis_image_f</a> (loc_id, dset_name)</td></tr>
<tr class="memdesc:ga96ac5556029f5723899d3ed55e7cc419"><td class="mdescLeft"> </td><td class="mdescRight">Inquires if a dataset is an image. <br /></td></tr>
<tr class="separator:ga96ac5556029f5723899d3ed55e7cc419"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8c66f1723f02ab514631b1ca448af532" id="r_ga8c66f1723f02ab514631b1ca448af532"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga8c66f1723f02ab514631b1ca448af532">h5immake_palette_f</a> (loc_id, pal_name, pal_dims, pal_data, errcode)</td></tr>
<tr class="memdesc:ga8c66f1723f02ab514631b1ca448af532"><td class="mdescLeft"> </td><td class="mdescRight">Creates and writes a palette. <br /></td></tr>
<tr class="separator:ga8c66f1723f02ab514631b1ca448af532"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0986868cd2ddef408ac55d704b064a60" id="r_ga0986868cd2ddef408ac55d704b064a60"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga0986868cd2ddef408ac55d704b064a60">h5imlink_palette_f</a> (loc_id, image_name, pal_name, errcode)</td></tr>
<tr class="memdesc:ga0986868cd2ddef408ac55d704b064a60"><td class="mdescLeft"> </td><td class="mdescRight">This function attaches a palette to an existing image dataset. <br /></td></tr>
<tr class="separator:ga0986868cd2ddef408ac55d704b064a60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6dfdaf798d1f36076aea143c1f23f8c2" id="r_ga6dfdaf798d1f36076aea143c1f23f8c2"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga6dfdaf798d1f36076aea143c1f23f8c2">h5imunlink_palette_f</a> (loc_id, image_name, pal_name, errcode)</td></tr>
<tr class="memdesc:ga6dfdaf798d1f36076aea143c1f23f8c2"><td class="mdescLeft"> </td><td class="mdescRight">This function detaches a palette to an existing image dataset. <br /></td></tr>
<tr class="separator:ga6dfdaf798d1f36076aea143c1f23f8c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac06e374ebd82535e70fd14d214dc3f32" id="r_gac06e374ebd82535e70fd14d214dc3f32"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#gac06e374ebd82535e70fd14d214dc3f32">h5imget_npalettes_f</a> (loc_id, image_name, npals, errcode)</td></tr>
<tr class="memdesc:gac06e374ebd82535e70fd14d214dc3f32"><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of palettes associated to an image. <br /></td></tr>
<tr class="separator:gac06e374ebd82535e70fd14d214dc3f32"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga84c037ebf29227878e876740156fe666" id="r_ga84c037ebf29227878e876740156fe666"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga84c037ebf29227878e876740156fe666">h5imget_palette_info_f</a> (loc_id, image_name, pal_number, pal_dims, errcode)</td></tr>
<tr class="memdesc:ga84c037ebf29227878e876740156fe666"><td class="mdescLeft"> </td><td class="mdescRight">Gets information about a palette dataset (dimensions). <br /></td></tr>
<tr class="separator:ga84c037ebf29227878e876740156fe666"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2069e82b8d26612f7e261ec90f7b45a2" id="r_ga2069e82b8d26612f7e261ec90f7b45a2"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga2069e82b8d26612f7e261ec90f7b45a2">h5imget_palette_f</a> (loc_id, image_name, pal_number, pal_data, errcode)</td></tr>
<tr class="memdesc:ga2069e82b8d26612f7e261ec90f7b45a2"><td class="mdescLeft"> </td><td class="mdescRight">Gets the palette dataset. <br /></td></tr>
<tr class="separator:ga2069e82b8d26612f7e261ec90f7b45a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9ac7575820d1b75c6661a78107f2eec5" id="r_ga9ac7575820d1b75c6661a78107f2eec5"><td class="memItemLeft" align="right" valign="top">integer function </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9ac7575820d1b75c6661a78107f2eec5">h5imis_palette_f</a> (loc_id, dset_name)</td></tr>
<tr class="memdesc:ga9ac7575820d1b75c6661a78107f2eec5"><td class="mdescLeft"> </td><td class="mdescRight">Inquires if a dataset is a palette. Returns zero (false), a positive (true) or a negative (failure) value. <br /></td></tr>
<tr class="separator:ga9ac7575820d1b75c6661a78107f2eec5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function/Subroutine Documentation</h2>
<a id="ga37655210991f287c570e619cfedc28bf" name="ga37655210991f287c570e619cfedc28bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37655210991f287c570e619cfedc28bf">◆ </a></span>h5imget_image_info_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imget_image_info_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(inout)</td> <td class="paramname"><span class="paramname"><em>width</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(inout)</td> <td class="paramname"><span class="paramname"><em>height</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(inout)</td> <td class="paramname"><span class="paramname"><em>planes</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(inout)</td> <td class="paramname"><span class="paramname"><em>interlace</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(inout)</td> <td class="paramname"><span class="paramname"><em>npals</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets information about an image dataset (dimensions, interlace mode and number of associated palettes). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset. </td></tr>
<tr><td class="paramname">width</td><td>The width of the image. </td></tr>
<tr><td class="paramname">height</td><td>The height of the image. </td></tr>
<tr><td class="paramname">planes</td><td>The number of color planes of the image. </td></tr>
<tr><td class="paramname">interlace</td><td>The interlace mode of the image. </td></tr>
<tr><td class="paramname">npals</td><td>The number of palettes associated to the image. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga2ab560392105bd196183392c5294022b">H5IMget_image_info()</a> </p>
</div>
</div>
<a id="gac06e374ebd82535e70fd14d214dc3f32" name="gac06e374ebd82535e70fd14d214dc3f32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac06e374ebd82535e70fd14d214dc3f32">◆ </a></span>h5imget_npalettes_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imget_npalettes_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>image_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(inout)</td> <td class="paramname"><span class="paramname"><em>npals</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the number of palettes associated to an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">image_name</td><td>The name of the image dataset. </td></tr>
<tr><td class="paramname">npals</td><td>The number of palettes. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga9142d01f6eb4d370b1616abecc828107">H5IMget_npalettes()</a> </p>
</div>
</div>
<a id="ga2069e82b8d26612f7e261ec90f7b45a2" name="ga2069e82b8d26612f7e261ec90f7b45a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2069e82b8d26612f7e261ec90f7b45a2">◆ </a></span>h5imget_palette_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imget_palette_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>image_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_number</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, dimension(*), intent(inout)</td> <td class="paramname"><span class="paramname"><em>pal_data</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the palette dataset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">image_name</td><td>The name of the image dataset. </td></tr>
<tr><td class="paramname">pal_number</td><td>The zero based index that identifies the palette. </td></tr>
<tr><td class="paramname">pal_data</td><td>The palette dataset. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gac58986e771803a049c4fc447bbebe218">H5IMget_palette_info()</a> </p>
</div>
</div>
<a id="ga84c037ebf29227878e876740156fe666" name="ga84c037ebf29227878e876740156fe666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84c037ebf29227878e876740156fe666">◆ </a></span>h5imget_palette_info_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imget_palette_info_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>image_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_number</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), dimension(*), intent(inout)</td> <td class="paramname"><span class="paramname"><em>pal_dims</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets information about a palette dataset (dimensions). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">image_name</td><td>The name of the image dataset. </td></tr>
<tr><td class="paramname">pal_number</td><td>The zero based index that identifies the palette. </td></tr>
<tr><td class="paramname">pal_dims</td><td>The dimensions of the palette dataset. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gac58986e771803a049c4fc447bbebe218">H5IMget_palette_info()</a> </p>
</div>
</div>
<a id="ga96ac5556029f5723899d3ed55e7cc419" name="ga96ac5556029f5723899d3ed55e7cc419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga96ac5556029f5723899d3ed55e7cc419">◆ </a></span>h5imis_image_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">integer function h5imis_image_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Inquires if a dataset is an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga2732b9ac7075da22ff49396cec61a248">H5IMis_image()</a> </p>
</div>
</div>
<a id="ga9ac7575820d1b75c6661a78107f2eec5" name="ga9ac7575820d1b75c6661a78107f2eec5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9ac7575820d1b75c6661a78107f2eec5">◆ </a></span>h5imis_palette_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">integer function h5imis_palette_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Inquires if a dataset is a palette. Returns zero (false), a positive (true) or a negative (failure) value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gaaddea3b7955ea7b22a9f00d49b918985">H5IMis_palette()</a> </p>
</div>
</div>
<a id="ga0986868cd2ddef408ac55d704b064a60" name="ga0986868cd2ddef408ac55d704b064a60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0986868cd2ddef408ac55d704b064a60">◆ </a></span>h5imlink_palette_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imlink_palette_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>image_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>This function attaches a palette to an existing image dataset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">image_name</td><td>The name of the dataset to attach the palette to. </td></tr>
<tr><td class="paramname">pal_name</td><td>The name of the palette. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga9b8f3d89fa9cca0821160e93c6bfbdf7">H5IMlink_palette()</a> </p>
</div>
</div>
<a id="gae17a8216ab5725dc684ed7baea996680" name="gae17a8216ab5725dc684ed7baea996680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae17a8216ab5725dc684ed7baea996680">◆ </a></span>h5immake_image_24bit_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5immake_image_24bit_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>width</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>height</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>il</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, dimension(*), intent(in)</td> <td class="paramname"><span class="paramname"><em>buf</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates and writes an image a 24 bit image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset to create. </td></tr>
<tr><td class="paramname">width</td><td>The width of the image. </td></tr>
<tr><td class="paramname">height</td><td>The height of the image. </td></tr>
<tr><td class="paramname">il</td><td>String defining the interlace mode. </td></tr>
<tr><td class="paramname">buf</td><td>Buffer with data to be written to the dataset. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga0b9dc08177df3ec180cbce17c41b5465">H5IMmake_image_24bit()</a> </p>
</div>
</div>
<a id="gac30cbab36df84de283e30d9de9bdc848" name="gac30cbab36df84de283e30d9de9bdc848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac30cbab36df84de283e30d9de9bdc848">◆ </a></span>h5immake_image_8bit_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5immake_image_8bit_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>width</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>height</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, dimension(*), intent(in)</td> <td class="paramname"><span class="paramname"><em>buf</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates and writes an image an 8 bit image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset to create. </td></tr>
<tr><td class="paramname">width</td><td>The width of the image. </td></tr>
<tr><td class="paramname">height</td><td>The height of the image </td></tr>
<tr><td class="paramname">buf</td><td>Buffer with data to be written to the dataset </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gaee98bf669d32eafa212b2f0dadbdb8be">H5IMmake_image_8bit()</a> </p>
</div>
</div>
<a id="ga8c66f1723f02ab514631b1ca448af532" name="ga8c66f1723f02ab514631b1ca448af532"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8c66f1723f02ab514631b1ca448af532">◆ </a></span>h5immake_palette_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5immake_palette_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer(<a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>), dimension(*), intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_dims</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, dimension(*), intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_data</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates and writes a palette. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">pal_name</td><td>The name of the palette. </td></tr>
<tr><td class="paramname">pal_dims</td><td>An array of the size of the palette dimensions. </td></tr>
<tr><td class="paramname">pal_data</td><td>Buffer with data to be written to the dataset. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#ga3d6d279bfa9c37d2f816bb5c3ac9aa9b">H5IMmake_palette()</a> </p>
</div>
</div>
<a id="gace5754228364bcde3e21d6d1cdb0cb5e" name="gace5754228364bcde3e21d6d1cdb0cb5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace5754228364bcde3e21d6d1cdb0cb5e">◆ </a></span>h5imread_image_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imread_image_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>dset_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer, dimension(*), intent(inout)</td> <td class="paramname"><span class="paramname"><em>buf</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads image data from disk. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">dset_name</td><td>The name of the dataset to create. </td></tr>
<tr><td class="paramname">buf</td><td>Buffer with data to store the image. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gac92e1c8905ca6739a645ca59d41fc211">H5IMread_image()</a> </p>
</div>
</div>
<a id="ga6dfdaf798d1f36076aea143c1f23f8c2" name="ga6dfdaf798d1f36076aea143c1f23f8c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6dfdaf798d1f36076aea143c1f23f8c2">◆ </a></span>h5imunlink_palette_f()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">subroutine h5imunlink_palette_f </td>
<td>(</td>
<td class="paramtype">integer(<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>), intent(in)</td> <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>image_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">character(len=*), intent(in)</td> <td class="paramname"><span class="paramname"><em>pal_name</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer</td> <td class="paramname"><span class="paramname"><em>errcode</em></span> )</td>
</tr>
</table>
</div><div class="memdoc">
<p>This function detaches a palette to an existing image dataset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file or group. </td></tr>
<tr><td class="paramname">image_name</td><td>The name of the image dataset. </td></tr>
<tr><td class="paramname">pal_name</td><td>The name of the palette. </td></tr>
<tr><td class="paramname">errcode</td><td>Returns 0 if successful and -1 if it fails.</td></tr>
</table>
</dd>
</dl>
<p>See C API: <a class="el" href="group___h5_i_m.html#gac23e207b116f5bf5071284ee2095687f">H5IMunlink_palette()</a> </p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.10.0 </li>
</ul>
</div>
</body>
</html>
|