| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
<!DOCTYPE html> |
| 8 |
<html lang="en"> |
| 9 |
<head> |
| 10 |
<title>GExiv2 – 0.16</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 property="og:title" content="GExiv2-0.16"/> |
| 22 |
<meta property="og:description" content="Reference for GExiv2-0.16"/> |
| 23 |
<meta name="twitter:title" content="GExiv2-0.16"/> |
| 24 |
<meta name="twitter:description" content="Reference for GExiv2-0.16"/> |
| 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>Sections</h5> |
| 73 |
<div class="links"> |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
<a href="#classes">Classes</a> |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
<a href="#enums">Enumerations</a> |
| 85 |
|
| 86 |
|
| 87 |
<a href="#bitfields">Bitfields</a> |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
<a href="#callbacks">Callbacks</a> |
| 92 |
|
| 93 |
|
| 94 |
<a href="#functions">Functions</a> |
| 95 |
|
| 96 |
|
| 97 |
<a href="#function_macros">Function Macros</a> |
| 98 |
|
| 99 |
|
| 100 |
<a href="#constants">Constants</a> |
| 101 |
|
| 102 |
</div> |
| 103 |
</div> |
| 104 |
|
| 105 |
<div class="section"> |
| 106 |
<h5>Dependencies</h5> |
| 107 |
<div class="links"> |
| 108 |
|
| 109 |
|
| 110 |
<a href="https://docs.gtk.org/glib/" class="external">GLib</a> |
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
<a href="https://docs.gtk.org/gobject/" class="external">GObject</a> |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
</div> |
| 122 |
</div> |
| 123 |
|
| 124 |
|
| 125 |
<div class="section generator"> |
| 126 |
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.5</p> |
| 127 |
</div> |
| 128 |
</nav> |
| 129 |
|
| 130 |
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button> |
| 131 |
|
| 132 |
|
| 133 |
<section id="main" class="content"> |
| 134 |
<header> |
| 135 |
<h3>Namespace</h3> |
| 136 |
<h1>GExiv2 – 0.16</h1> |
| 137 |
|
| 138 |
<div class="description"> |
| 139 |
<p>GObject wrapper library for Exiv2</p> |
| 140 |
</div> |
| 141 |
|
| 142 |
<div class="meta info"> |
| 143 |
<table> |
| 144 |
<tr><td><em>Version</em></td><td>0.16.2</td></tr> |
| 145 |
<tr><td><em>Authors</em></td><td>Unknown authors</td></tr> |
| 146 |
<tr><td><em>License</em></td><td>GPL-2.0-or-later</td></tr> |
| 147 |
<tr><td><em>Website</em></td><td><a href="https://wiki.gnome.org/Projects/gexiv2" class="external">https://wiki.gnome.org/Projects/gexiv2</a></td></tr> |
| 148 |
<tr><td><em>Source</em></td><td><a href="https://gitlab.gnome.org/GNOME/gexiv2/" class="external">https://gitlab.gnome.org/GNOME/gexiv2/</a></td></tr> |
| 149 |
</table> |
| 150 |
</div> |
| 151 |
|
| 152 |
|
| 153 |
<div class="meta build toggle-wrapper"> |
| 154 |
<h4>Build</h4> |
| 155 |
|
| 156 |
<div class="docblock"> |
| 157 |
<table> |
| 158 |
|
| 159 |
<tr><td>C headers</td><td><code>gexiv2/gexiv2.h</code></td></tr> |
| 160 |
|
| 161 |
|
| 162 |
<tr><td>pkg-config files</td><td><code>gexiv2-0.16</code></td></tr> |
| 163 |
|
| 164 |
</table> |
| 165 |
</div> |
| 166 |
</div> |
| 167 |
|
| 168 |
</header> |
| 169 |
|
| 170 |
|
| 171 |
<section> |
| 172 |
<div class="toggle-wrapper"> |
| 173 |
<h4 id="dependencies" style="display:flex;"> |
| 174 |
Dependencies |
| 175 |
<a href="#dependencies" class="anchor"></a> |
| 176 |
</h4> |
| 177 |
|
| 178 |
<div class="docblock"> |
| 179 |
<table> |
| 180 |
|
| 181 |
|
| 182 |
<tr> |
| 183 |
<td><strong>GLib</strong>—2.0</td> |
| 184 |
<td>General-purpose utility library</td> |
| 185 |
</tr> |
| 186 |
<tr> |
| 187 |
<td></td> |
| 188 |
<td><a href="https://docs.gtk.org/glib/" class="external">Browse documentation</a></td> |
| 189 |
</tr> |
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
<tr> |
| 194 |
<td><strong>GObject</strong>—2.0</td> |
| 195 |
<td>The base type system library</td> |
| 196 |
</tr> |
| 197 |
<tr> |
| 198 |
<td></td> |
| 199 |
<td><a href="https://docs.gtk.org/gobject/" class="external">Browse documentation</a></td> |
| 200 |
</tr> |
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
</table> |
| 208 |
</div> |
| 209 |
</div> |
| 210 |
</section> |
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
<section> |
| 217 |
<div class="toggle-wrapper"> |
| 218 |
<h4 id="extra" style="display:flex;"> |
| 219 |
Additional documentation |
| 220 |
<a href="#extra" class="anchor"></a> |
| 221 |
</h4> |
| 222 |
|
| 223 |
<div class="docblock"> |
| 224 |
<ul> |
| 225 |
|
| 226 |
<li><a href="classes_hierarchy.html">Classes Hierarchy</a></li> |
| 227 |
|
| 228 |
</ul> |
| 229 |
</div> |
| 230 |
</div> |
| 231 |
</section> |
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
<section> |
| 238 |
<div class="toggle-wrapper default-hide"> |
| 239 |
<h4 id="classes" class="section-header" style="display:flex;"> |
| 240 |
Classes |
| 241 |
<a href="#classes" class="anchor"></a> |
| 242 |
</h4> |
| 243 |
|
| 244 |
<div class="docblock"> |
| 245 |
<table style="display:block;"> |
| 246 |
<tbody> |
| 247 |
|
| 248 |
<tr class="section-item"> |
| 249 |
<td><a title="Metadata" class="symbol" href="class.Metadata.html">Metadata</a></td> |
| 250 |
|
| 251 |
<td class="docblock-summary"> |
| 252 |
<p>An object holding all the Exiv2 metadata. Previews, if present, are also available.</p> |
| 253 |
<p></p> |
| 254 |
</td> |
| 255 |
|
| 256 |
</tr> |
| 257 |
|
| 258 |
<tr class="section-item"> |
| 259 |
<td><a title="PreviewImage" class="symbol" href="class.PreviewImage.html">PreviewImage</a></td> |
| 260 |
|
| 261 |
<td class="docblock-summary"> |
| 262 |
<p>An accessor to the preview images contained in the image’s metadata.</p> |
| 263 |
<p></p> |
| 264 |
</td> |
| 265 |
|
| 266 |
</tr> |
| 267 |
|
| 268 |
<tr class="section-item"> |
| 269 |
<td><a title="PreviewProperties" class="symbol" href="class.PreviewProperties.html">PreviewProperties</a></td> |
| 270 |
|
| 271 |
<td class="docblock-summary"> |
| 272 |
<p>Properties of a preview image.</p> |
| 273 |
<p></p> |
| 274 |
</td> |
| 275 |
|
| 276 |
</tr> |
| 277 |
|
| 278 |
</tbody> |
| 279 |
</table> |
| 280 |
</div> |
| 281 |
</div> |
| 282 |
</section> |
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
<section> |
| 290 |
<div class="toggle-wrapper default-hide"> |
| 291 |
<h4 id="enums" class="section-header" style="display:flex;"> |
| 292 |
Enumerations |
| 293 |
<a href="#enums" class="anchor"></a> |
| 294 |
</h4> |
| 295 |
|
| 296 |
<div class="docblock"> |
| 297 |
<table style="display:block;"> |
| 298 |
<tbody> |
| 299 |
|
| 300 |
<tr class="section-item"> |
| 301 |
<td><a title="ByteOrder" class="symbol" href="enum.ByteOrder.html">ByteOrder</a></td> |
| 302 |
|
| 303 |
<td class="docblock-summary"> |
| 304 |
<p>Options to control the byte order of binary <span class="caps">EXIF</span> data exports, in <code>gexiv2_metadata_get_exif_data()</code>.</p> |
| 305 |
<p></p> |
| 306 |
</td> |
| 307 |
|
| 308 |
</tr> |
| 309 |
|
| 310 |
<tr class="section-item"> |
| 311 |
<td><a title="LogLevel" class="symbol" href="enum.LogLevel.html">LogLevel</a></td> |
| 312 |
|
| 313 |
<td class="docblock-summary"> |
| 314 |
<p>Used in.</p> |
| 315 |
<p></p> |
| 316 |
</td> |
| 317 |
|
| 318 |
</tr> |
| 319 |
|
| 320 |
<tr class="section-item"> |
| 321 |
<td><a title="Orientation" class="symbol" href="enum.Orientation.html">Orientation</a></td> |
| 322 |
|
| 323 |
<td class="docblock-summary"> |
| 324 |
<p>The orientation of an image is defined as the location of it’s x,y origin. More than rotation, |
| 325 |
orientation allows for every variation of rotation, flips, and mirroring to be described in |
| 326 |
3 bits of data.</p> |
| 327 |
<p></p> |
| 328 |
</td> |
| 329 |
|
| 330 |
</tr> |
| 331 |
|
| 332 |
<tr class="section-item"> |
| 333 |
<td><a title="StructureType" class="symbol" href="enum.StructureType.html">StructureType</a></td> |
| 334 |
|
| 335 |
<td class="docblock-summary"> |
| 336 |
<p>Used in <code>gexiv2_metadata_set_xmp_tag_struct()</code> to determine the array type.</p> |
| 337 |
<p></p> |
| 338 |
</td> |
| 339 |
|
| 340 |
</tr> |
| 341 |
|
| 342 |
</tbody> |
| 343 |
</table> |
| 344 |
</div> |
| 345 |
</div> |
| 346 |
</section> |
| 347 |
|
| 348 |
|
| 349 |
<section> |
| 350 |
<div class="toggle-wrapper default-hide"> |
| 351 |
<h4 id="bitfields" class="section-header" style="display:flex;"> |
| 352 |
Bitfields |
| 353 |
<a href="#bitfields" class="anchor"></a> |
| 354 |
</h4> |
| 355 |
|
| 356 |
<div class="docblock"> |
| 357 |
<table style="display:block;"> |
| 358 |
<tbody> |
| 359 |
|
| 360 |
<tr class="section-item"> |
| 361 |
<td><a title="XmpFormatFlags" class="symbol" href="flags.XmpFormatFlags.html">XmpFormatFlags</a></td> |
| 362 |
|
| 363 |
<td class="docblock-summary"> |
| 364 |
<p>Options to control the format of the serialized <span class="caps">XMP</span> packet |
| 365 |
Taken from: exiv2/src/xmp.hpp.</p> |
| 366 |
<p></p> |
| 367 |
</td> |
| 368 |
|
| 369 |
</tr> |
| 370 |
|
| 371 |
</tbody> |
| 372 |
</table> |
| 373 |
</div> |
| 374 |
</div> |
| 375 |
</section> |
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
<section> |
| 380 |
<div class="toggle-wrapper default-hide"> |
| 381 |
<h4 id="callbacks" class="section-header" style="display:flex;"> |
| 382 |
Callbacks |
| 383 |
<a href="#callbacks" class="anchor"></a> |
| 384 |
</h4> |
| 385 |
|
| 386 |
<div class="docblock"> |
| 387 |
<table style="display:block;"> |
| 388 |
<tbody> |
| 389 |
|
| 390 |
<tr class="section-item"> |
| 391 |
<td><a title="LogHandler" class="symbol" href="callback.LogHandler.html">LogHandler</a></td> |
| 392 |
|
| 393 |
<td class="docblock-summary"> |
| 394 |
<p>The log handler can be set by <code>gexiv2_log_set_handler()</code>. When set, the log handler will receive |
| 395 |
all log messages emitted by Exiv2 and gexiv2. It’s up to the handler to decide where (and if) |
| 396 |
the images are displayed or stored.</p> |
| 397 |
<p></p> |
| 398 |
</td> |
| 399 |
|
| 400 |
</tr> |
| 401 |
|
| 402 |
</tbody> |
| 403 |
</table> |
| 404 |
</div> |
| 405 |
</div> |
| 406 |
</section> |
| 407 |
|
| 408 |
|
| 409 |
<section> |
| 410 |
<div class="toggle-wrapper default-hide"> |
| 411 |
<h4 id="functions" class="section-header" style="display:flex;"> |
| 412 |
Functions |
| 413 |
<a href="#functions" class="anchor"></a> |
| 414 |
</h4> |
| 415 |
|
| 416 |
<div class="docblock"> |
| 417 |
<table style="display:block;"> |
| 418 |
<tbody> |
| 419 |
|
| 420 |
<tr class="section-item"> |
| 421 |
<td><a title="get_version" class="symbol" href="func.get_version.html">get_version</a></td> |
| 422 |
|
| 423 |
<td class="docblock-summary"> |
| 424 |
<p>The gexiv2 library’s version number as a formatted decimal <span class="caps">XXYYZZ</span>.</p> |
| 425 |
<p></p> |
| 426 |
</td> |
| 427 |
|
| 428 |
</tr> |
| 429 |
|
| 430 |
<tr class="section-item"> |
| 431 |
<td><a title="initialize" class="symbol" href="func.initialize.html">initialize</a></td> |
| 432 |
|
| 433 |
<td class="docblock-summary"> |
| 434 |
<p>Initializes GExiv2.</p> |
| 435 |
<p></p> |
| 436 |
</td> |
| 437 |
|
| 438 |
</tr> |
| 439 |
|
| 440 |
<tr class="section-item"> |
| 441 |
<td><a title="log_get_default_handler" class="symbol" href="func.log_get_default_handler.html">log_get_default_handler</a></td> |
| 442 |
|
| 443 |
<td class="docblock-summary"> |
| 444 |
<p>Get the default <code>GExiv2LogHandler</code>, which uses Exiv2’s built-in |
| 445 |
handler. Exiv2 will send the message to stderr.</p> |
| 446 |
<p></p> |
| 447 |
</td> |
| 448 |
|
| 449 |
</tr> |
| 450 |
|
| 451 |
<tr class="section-item"> |
| 452 |
<td><a title="log_get_handler" class="symbol" href="func.log_get_handler.html">log_get_handler</a></td> |
| 453 |
|
| 454 |
<td class="docblock-summary"> |
| 455 |
<p>Get the current <code>GExiv2LogHandler</code>.</p> |
| 456 |
<p></p> |
| 457 |
</td> |
| 458 |
|
| 459 |
</tr> |
| 460 |
|
| 461 |
<tr class="section-item"> |
| 462 |
<td><a title="log_get_level" class="symbol" href="func.log_get_level.html">log_get_level</a></td> |
| 463 |
|
| 464 |
<td class="docblock-summary"> |
| 465 |
<p>Get the current <code>GExiv2LogLevel</code>.</p> |
| 466 |
<p></p> |
| 467 |
</td> |
| 468 |
|
| 469 |
</tr> |
| 470 |
|
| 471 |
<tr class="section-item"> |
| 472 |
<td><a title="log_set_handler" class="symbol" href="func.log_set_handler.html">log_set_handler</a></td> |
| 473 |
|
| 474 |
<td class="docblock-summary"> |
| 475 |
<p>Replace the default handler with a custom log handler.</p> |
| 476 |
<p></p> |
| 477 |
</td> |
| 478 |
|
| 479 |
</tr> |
| 480 |
|
| 481 |
<tr class="section-item"> |
| 482 |
<td><a title="log_set_level" class="symbol" href="func.log_set_level.html">log_set_level</a></td> |
| 483 |
|
| 484 |
<td class="docblock-summary"> |
| 485 |
<p>Set the current <code>GExiv2LogLevel</code>.</p> |
| 486 |
<p></p> |
| 487 |
</td> |
| 488 |
|
| 489 |
</tr> |
| 490 |
|
| 491 |
<tr class="section-item"> |
| 492 |
<td><a title="log_use_glib_logging" class="symbol" href="func.log_use_glib_logging.html">log_use_glib_logging</a></td> |
| 493 |
|
| 494 |
<td class="docblock-summary"> |
| 495 |
<p>Make GExiv2 use GLib’s logging mechanism.</p> |
| 496 |
<p></p> |
| 497 |
</td> |
| 498 |
|
| 499 |
</tr> |
| 500 |
|
| 501 |
<tr class="section-item"> |
| 502 |
<td><a title="shutdown" class="symbol" href="func.shutdown.html">shutdown</a></td> |
| 503 |
|
| 504 |
<td class="docblock-summary"> |
| 505 |
<p>Shutdown GExiv2.</p> |
| 506 |
<p><span class="emblem available">since: 0.16.0</span></p> |
| 507 |
</td> |
| 508 |
|
| 509 |
</tr> |
| 510 |
|
| 511 |
</tbody> |
| 512 |
</table> |
| 513 |
</div> |
| 514 |
</div> |
| 515 |
</section> |
| 516 |
|
| 517 |
|
| 518 |
<section> |
| 519 |
<div class="toggle-wrapper default-hide"> |
| 520 |
<h4 id="function_macros" class="section-header" style="display:flex;"> |
| 521 |
Function Macros |
| 522 |
<a href="#function_macros" class="anchor"></a> |
| 523 |
</h4> |
| 524 |
|
| 525 |
<div class="docblock"> |
| 526 |
<table style="display:block;"> |
| 527 |
<tbody> |
| 528 |
|
| 529 |
<tr class="section-item"> |
| 530 |
<td><a title="CHECK_VERSION" class="symbol" href="func.CHECK_VERSION.html">CHECK_VERSION</a></td> |
| 531 |
|
| 532 |
<td class="docblock-summary"> |
| 533 |
<p>Check if the current gexiv2 library version is greater than or equal to the |
| 534 |
supplied version requirement.</p> |
| 535 |
<p></p> |
| 536 |
</td> |
| 537 |
|
| 538 |
</tr> |
| 539 |
|
| 540 |
</tbody> |
| 541 |
</table> |
| 542 |
</div> |
| 543 |
</div> |
| 544 |
</section> |
| 545 |
|
| 546 |
|
| 547 |
<section> |
| 548 |
<div class="toggle-wrapper default-hide"> |
| 549 |
<h4 id="constants" class="section-header" style="display:flex;"> |
| 550 |
Constants |
| 551 |
<a href="#constants" class="anchor"></a> |
| 552 |
</h4> |
| 553 |
|
| 554 |
<div class="docblock"> |
| 555 |
<table style="display:block;"> |
| 556 |
<tbody> |
| 557 |
|
| 558 |
<tr class="section-item"> |
| 559 |
<td><a title="MAJOR_VERSION" class="symbol" href="const.MAJOR_VERSION.html">MAJOR_VERSION</a></td> |
| 560 |
|
| 561 |
<td class="docblock-summary"> |
| 562 |
|
| 563 |
<p></p> |
| 564 |
</td> |
| 565 |
|
| 566 |
</tr> |
| 567 |
|
| 568 |
<tr class="section-item"> |
| 569 |
<td><a title="MICRO_VERSION" class="symbol" href="const.MICRO_VERSION.html">MICRO_VERSION</a></td> |
| 570 |
|
| 571 |
<td class="docblock-summary"> |
| 572 |
|
| 573 |
<p></p> |
| 574 |
</td> |
| 575 |
|
| 576 |
</tr> |
| 577 |
|
| 578 |
<tr class="section-item"> |
| 579 |
<td><a title="MINOR_VERSION" class="symbol" href="const.MINOR_VERSION.html">MINOR_VERSION</a></td> |
| 580 |
|
| 581 |
<td class="docblock-summary"> |
| 582 |
|
| 583 |
<p></p> |
| 584 |
</td> |
| 585 |
|
| 586 |
</tr> |
| 587 |
|
| 588 |
</tbody> |
| 589 |
</table> |
| 590 |
</div> |
| 591 |
</div> |
| 592 |
</section> |
| 593 |
|
| 594 |
</section> |
| 595 |
|
| 596 |
|
| 597 |
|
| 598 |
|
| 599 |
<section id="search" class="content hidden"></section> |
| 600 |
|
| 601 |
<footer> |
| 602 |
|
| 603 |
</footer> |
| 604 |
</div> |
| 605 |
</body> |
| 606 |
</html> |