Debian Codegraph @

docs/gexiv2-0.16/method.Metadata.set_xmp_tag_struct.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: Unknown authors
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GExiv2.Metadata.set_xmp_tag_struct</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19
20
21 <meta priority="og:title" content="GExiv2.Metadata.set_xmp_tag_struct"/>
22 <meta priority="og:description" content="Reference for GExiv2.Metadata.set_xmp_tag_struct"/>
23 <meta name="twitter:title" content="GExiv2.Metadata.set_xmp_tag_struct"/>
24 <meta name="twitter:description" content="Reference for GExiv2.Metadata.set_xmp_tag_struct"/>
25
26
27
28 <meta name="twitter:card" content="summary"/>
29
30
31
32
33
34
35 <link rel="stylesheet" href="style.css" type="text/css" />
36
37
38
39
40 <script src="urlmap.js"></script>
41
42
43 <script src="fzy.js"></script>
44 <script src="search.js"></script>
45
46 <script src="main.js"></script>
47
48
49 </head>
50
51 <body>
52 <div id="body-wrapper" tabindex="-1">
53
54 <nav class="sidebar devhelp-hidden">
55
56
57 <div class="search section">
58 <form id="search-form" autocomplete="off">
59 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
60 </form>
61 </div>
62
63 <div class="section namespace">
64 <h3><a href="index.html">GExiv2</a></h3>
65 <p>API Version: 0.16</p>
66
67 <p>Library Version: 0.16.2</p>
68
69 </div>
70
71 <div class="section">
72 <h5>Type</h5>
73 <div class="links">
74 <a href="class.Metadata.html">Metadata</a>
75 </div>
76 </div>
77 <div class="section">
78 <h5>Methods</h5>
79 <div class="links">
80
81 <a class="method" href="method.Metadata.as_bytes.html">as_bytes</a>
82
83 <a class="method" href="method.Metadata.clear.html">clear</a>
84
85 <a class="method" href="method.Metadata.clear_comment.html">clear_comment</a>
86
87 <a class="method" href="method.Metadata.clear_exif.html">clear_exif</a>
88
89 <a class="method" href="method.Metadata.clear_iptc.html">clear_iptc</a>
90
91 <a class="method" href="method.Metadata.clear_tag.html">clear_tag</a>
92
93 <a class="method" href="method.Metadata.clear_xmp.html">clear_xmp</a>
94
95 <a class="method" href="method.Metadata.delete_gps_info.html">delete_gps_info</a>
96
97 <a class="method" href="method.Metadata.erase_exif_thumbnail.html">erase_exif_thumbnail</a>
98
99 <a class="method" href="method.Metadata.from_app1_segment.html">from_app1_segment</a>
100
101 <a class="method" href="method.Metadata.from_stream.html">from_stream</a>
102
103 <a class="method" href="method.Metadata.generate_xmp_packet.html">generate_xmp_packet</a>
104
105 <a class="method" href="method.Metadata.get_comment.html">get_comment</a>
106
107 <a class="method" href="method.Metadata.get_exif_data.html">get_exif_data</a>
108
109 <a class="method" href="method.Metadata.get_exif_tag_rational.html">get_exif_tag_rational</a>
110
111 <a class="method" href="method.Metadata.get_exif_tags.html">get_exif_tags</a>
112
113 <a class="method" href="method.Metadata.get_exif_thumbnail.html">get_exif_thumbnail</a>
114
115 <a class="method" href="method.Metadata.get_exposure_time.html">get_exposure_time</a>
116
117 <a class="method" href="method.Metadata.get_fnumber.html">get_fnumber</a>
118
119 <a class="method" href="method.Metadata.get_focal_length.html">get_focal_length</a>
120
121 <a class="method" href="method.Metadata.get_gps_altitude.html">get_gps_altitude</a>
122
123 <a class="method" href="method.Metadata.get_gps_info.html">get_gps_info</a>
124
125 <a class="method" href="method.Metadata.get_gps_latitude.html">get_gps_latitude</a>
126
127 <a class="method" href="method.Metadata.get_gps_longitude.html">get_gps_longitude</a>
128
129 <a class="method" href="method.Metadata.get_iptc_tags.html">get_iptc_tags</a>
130
131 <a class="method" href="method.Metadata.get_iso_speed.html">get_iso_speed</a>
132
133 <a class="method" href="method.Metadata.get_metadata_pixel_height.html">get_metadata_pixel_height</a>
134
135 <a class="method" href="method.Metadata.get_metadata_pixel_width.html">get_metadata_pixel_width</a>
136
137 <a class="method" href="method.Metadata.get_mime_type.html">get_mime_type</a>
138
139 <a class="method" href="method.Metadata.get_orientation.html">get_orientation</a>
140
141 <a class="method" href="method.Metadata.get_pixel_height.html">get_pixel_height</a>
142
143 <a class="method" href="method.Metadata.get_pixel_width.html">get_pixel_width</a>
144
145 <a class="method" href="method.Metadata.get_preview_image.html">get_preview_image</a>
146
147 <a class="method" href="method.Metadata.get_preview_properties.html">get_preview_properties</a>
148
149 <a class="method" href="method.Metadata.get_supports_exif.html">get_supports_exif</a>
150
151 <a class="method" href="method.Metadata.get_supports_iptc.html">get_supports_iptc</a>
152
153 <a class="method" href="method.Metadata.get_supports_xmp.html">get_supports_xmp</a>
154
155 <a class="method" href="method.Metadata.get_tag_interpreted_string.html">get_tag_interpreted_string</a>
156
157 <a class="method" href="method.Metadata.get_tag_long.html">get_tag_long</a>
158
159 <a class="method" href="method.Metadata.get_tag_multiple.html">get_tag_multiple</a>
160
161 <a class="method" href="method.Metadata.get_tag_raw.html">get_tag_raw</a>
162
163 <a class="method" href="method.Metadata.get_tag_string.html">get_tag_string</a>
164
165 <a class="method" href="method.Metadata.get_xmp_packet.html">get_xmp_packet</a>
166
167 <a class="method" href="method.Metadata.get_xmp_tags.html">get_xmp_tags</a>
168
169 <a class="method" href="method.Metadata.has_exif.html">has_exif</a>
170
171 <a class="method" href="method.Metadata.has_iptc.html">has_iptc</a>
172
173 <a class="method" href="method.Metadata.has_tag.html">has_tag</a>
174
175 <a class="method" href="method.Metadata.has_xmp.html">has_xmp</a>
176
177 <a class="method" href="method.Metadata.open_buf.html">open_buf</a>
178
179 <a class="method" href="method.Metadata.open_path.html">open_path</a>
180
181 <a class="method" href="method.Metadata.save_external.html">save_external</a>
182
183 <a class="method" href="method.Metadata.save_file.html">save_file</a>
184
185 <a class="method" href="method.Metadata.set_comment.html">set_comment</a>
186
187 <a class="method" href="method.Metadata.set_exif_tag_rational.html">set_exif_tag_rational</a>
188
189 <a class="method" href="method.Metadata.set_exif_thumbnail_from_buffer.html">set_exif_thumbnail_from_buffer</a>
190
191 <a class="method" href="method.Metadata.set_exif_thumbnail_from_file.html">set_exif_thumbnail_from_file</a>
192
193 <a class="method" href="method.Metadata.set_gps_info.html">set_gps_info</a>
194
195 <a class="method" href="method.Metadata.set_metadata_pixel_height.html">set_metadata_pixel_height</a>
196
197 <a class="method" href="method.Metadata.set_metadata_pixel_width.html">set_metadata_pixel_width</a>
198
199 <a class="method" href="method.Metadata.set_orientation.html">set_orientation</a>
200
201 <a class="method" href="method.Metadata.set_tag_long.html">set_tag_long</a>
202
203 <a class="method" href="method.Metadata.set_tag_multiple.html">set_tag_multiple</a>
204
205 <a class="method" href="method.Metadata.set_tag_string.html">set_tag_string</a>
206
207 <a class="method current" href="method.Metadata.set_xmp_tag_struct.html">set_xmp_tag_struct</a>
208
209 <a class="method" href="method.Metadata.tag_supports_multiple_values.html">tag_supports_multiple_values</a>
210
211 <a class="method" href="method.Metadata.try_clear_tag.html">try_clear_tag</a>
212
213 <a class="method" href="method.Metadata.try_delete_gps_info.html">try_delete_gps_info</a>
214
215 <a class="method" href="method.Metadata.try_erase_exif_thumbnail.html">try_erase_exif_thumbnail</a>
216
217 <a class="method" href="method.Metadata.try_generate_xmp_packet.html">try_generate_xmp_packet</a>
218
219 <a class="method" href="method.Metadata.try_get_comment.html">try_get_comment</a>
220
221 <a class="method" href="method.Metadata.try_get_exif_tag_rational.html">try_get_exif_tag_rational</a>
222
223 <a class="method" href="method.Metadata.try_get_exposure_time.html">try_get_exposure_time</a>
224
225 <a class="method" href="method.Metadata.try_get_fnumber.html">try_get_fnumber</a>
226
227 <a class="method" href="method.Metadata.try_get_focal_length.html">try_get_focal_length</a>
228
229 <a class="method" href="method.Metadata.try_get_gps_altitude.html">try_get_gps_altitude</a>
230
231 <a class="method" href="method.Metadata.try_get_gps_info.html">try_get_gps_info</a>
232
233 <a class="method" href="method.Metadata.try_get_gps_latitude.html">try_get_gps_latitude</a>
234
235 <a class="method" href="method.Metadata.try_get_gps_longitude.html">try_get_gps_longitude</a>
236
237 <a class="method" href="method.Metadata.try_get_iso_speed.html">try_get_iso_speed</a>
238
239 <a class="method" href="method.Metadata.try_get_metadata_pixel_height.html">try_get_metadata_pixel_height</a>
240
241 <a class="method" href="method.Metadata.try_get_metadata_pixel_width.html">try_get_metadata_pixel_width</a>
242
243 <a class="method" href="method.Metadata.try_get_orientation.html">try_get_orientation</a>
244
245 <a class="method" href="method.Metadata.try_get_preview_image.html">try_get_preview_image</a>
246
247 <a class="method" href="method.Metadata.try_get_tag_interpreted_string.html">try_get_tag_interpreted_string</a>
248
249 <a class="method" href="method.Metadata.try_get_tag_long.html">try_get_tag_long</a>
250
251 <a class="method" href="method.Metadata.try_get_tag_multiple.html">try_get_tag_multiple</a>
252
253 <a class="method" href="method.Metadata.try_get_tag_raw.html">try_get_tag_raw</a>
254
255 <a class="method" href="method.Metadata.try_get_tag_string.html">try_get_tag_string</a>
256
257 <a class="method" href="method.Metadata.try_get_xmp_packet.html">try_get_xmp_packet</a>
258
259 <a class="method" href="method.Metadata.try_has_tag.html">try_has_tag</a>
260
261 <a class="method" href="method.Metadata.try_set_comment.html">try_set_comment</a>
262
263 <a class="method" href="method.Metadata.try_set_exif_tag_rational.html">try_set_exif_tag_rational</a>
264
265 <a class="method" href="method.Metadata.try_set_exif_thumbnail_from_buffer.html">try_set_exif_thumbnail_from_buffer</a>
266
267 <a class="method" href="method.Metadata.try_set_gps_info.html">try_set_gps_info</a>
268
269 <a class="method" href="method.Metadata.try_set_metadata_pixel_height.html">try_set_metadata_pixel_height</a>
270
271 <a class="method" href="method.Metadata.try_set_metadata_pixel_width.html">try_set_metadata_pixel_width</a>
272
273 <a class="method" href="method.Metadata.try_set_orientation.html">try_set_orientation</a>
274
275 <a class="method" href="method.Metadata.try_set_tag_long.html">try_set_tag_long</a>
276
277 <a class="method" href="method.Metadata.try_set_tag_multiple.html">try_set_tag_multiple</a>
278
279 <a class="method" href="method.Metadata.try_set_tag_string.html">try_set_tag_string</a>
280
281 <a class="method" href="method.Metadata.try_set_xmp_tag_struct.html">try_set_xmp_tag_struct</a>
282
283 <a class="method" href="method.Metadata.try_tag_supports_multiple_values.html">try_tag_supports_multiple_values</a>
284
285 <a class="method" href="method.Metadata.try_update_gps_info.html">try_update_gps_info</a>
286
287 <a class="method" href="method.Metadata.update_gps_info.html">update_gps_info</a>
288
289 </div>
290 </div>
291
292 <div class="section generator">
293 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.5</p>
294 </div>
295 </nav>
296
297 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
298
299
300 <section id="main" class="content">
301 <header>
302 <h3>Method</h3>
303 <h1><a href="index.html">GExiv2</a><span class="sep"></span><a href="class.Metadata.html">Metadata</a><span class="sep"></span>set_xmp_tag_struct</h1>
304 </header>
305
306 <section>
307 <div class="docblock">
308 <p><span class="emblem available">since: 0.16.0</span></p>
309 </div>
310
311 <div class="declaration toggle-wrapper">
312 <h4 style="display:flex;" id="declaration">
313 Declaration
314 <a class="anchor" href="#declaration"></a>
315
316 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-metadata.h#L698">[src]</a>
317
318 </h4>
319
320 <div class="docblock c-decl">
321 <pre><code><div class="highlight"><pre><span></span><span class="n">gboolean</span>
322 <span class="n">gexiv2_metadata_set_xmp_tag_struct</span><span class="w"> </span><span class="p">(</span>
323 <span class="w"> </span><span class="n">GExiv2Metadata</span><span class="o">*</span><span class="w"> </span><span class="n">self</span><span class="p">,</span>
324 <span class="w"> </span><span class="k">const</span><span class="w"> </span><span class="n">gchar</span><span class="o">*</span><span class="w"> </span><span class="n">tag</span><span class="p">,</span>
325 <span class="w"> </span><span class="n">GExiv2StructureType</span><span class="w"> </span><span class="n">type</span><span class="p">,</span>
326 <span class="w"> </span><span class="n">GError</span><span class="o">**</span><span class="w"> </span><span class="n">error</span>
327 <span class="p">)</span>
328 </pre></div>
329 </code></pre>
330 </div>
331 </div>
332
333 <div class="description toggle-wrapper">
334 <h4 style="display:flex;" id="description">
335 Description
336 <a class="anchor" href="#description"></a>
337
338 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-metadata.h#L686">[src]</a>
339
340 </h4>
341
342 <div class="docblock">
343 <p>The Exiv2 Tag Reference can be found at <a href="http://exiv2.org/metadata.html">http://exiv2.org/metadata.html</a>.</p>
344 </div>
345
346 <div class="docblock">
347
348 <p>Available since: 0.16.0</p>
349
350
351
352
353
354 </div>
355
356
357 </div>
358
359
360 <div class="parameters toggle-wrapper">
361 <h4 id="parameters">
362 Parameters
363 <a href="#parameters" class="anchor"></a>
364 </h4>
365
366 <div class="docblock">
367 <dl class="arguments">
368
369
370
371 <dt class="arg-name"><code>tag</code></dt>
372 <dd class="arg-description">
373 <p><em>Type:</em>&nbsp;<code>const gchar*</code></p>
374 <p>Exiv2 tag&nbsp;name.</p>
375 <table>
376
377
378
379
380
381
382
383 <tr><td title="transfer: none">The data is owned by the caller of the method.</td></tr>
384 <tr><td>The value is a NUL terminated UTF-8 string.</td></tr>
385 </table>
386 </dd>
387
388 <dt class="arg-name"><code>type</code></dt>
389 <dd class="arg-description">
390 <p><em>Type:</em>&nbsp;<a href="enum.StructureType.html"><code>GExiv2StructureType</code></a></p>
391 <p>The GExiv2StructureType specifying the type of&nbsp;structure.</p>
392 <table>
393
394
395
396
397
398
399
400
401
402 </table>
403 </dd>
404
405
406
407 <dt class="arg-name"><code>error</code></dt>
408 <dd class="arg-description">
409 <p><em>Type:</em>&nbsp;<a href="javascript:void(0)" data-namespace="GLib" data-link="struct.Error.html" class="external"><code>GError **</code></a></p>
410 <p>The return location for <a href="https://docs.gtk.org/glib/error-reporting.html#rules-for-use-of-gerror">a recoverable error</a>.</p>
411 <table>
412 <tr><td>The argument can be <code>NULL</code>.</td></tr>
413 <tr><td>If the return location is not <code>NULL</code>, then you must initialize it to a <code>NULL</code> <code>GError*</code>.</td></tr>
414 <tr><td>The argument will be left initialized to <code>NULL</code> by the method if there are no errors.</td></tr>
415 <tr><td>In case of error, the argument will be set to a newly allocated <code>GError</code>; the caller will take ownership of the data, and be responsible for freeing it.</td></tr>
416 </table>
417 </dd>
418
419 </dl>
420 </div>
421 </div>
422
423
424
425 <div class="return-value toggle-wrapper">
426 <h4 id="return-value">
427 Return value
428 <a href="#return-value" class="anchor"></a>
429 </h4>
430
431 <div class="docblock">
432 <div class="returns">
433 <div class="arg-description">
434 <p><em>Type:</em>&nbsp;<code>gboolean</code></p>
435 <p><span class="caps">TRUE</span> on&nbsp;success.</p>
436 </div>
437 <div>
438 <table>
439
440
441
442
443
444
445 </table>
446 </div>
447 </div>
448 </div>
449 </div>
450
451
452 </section>
453 </section>
454
455
456
457
458 <section id="search" class="content hidden"></section>
459
460 <footer>
461
462 </footer>
463 </div>
464 </body>
465 </html>