/usr/share/gir-1.0/GExiv2-0.10.gir is in libgexiv2-dev 0.10.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<package name="gexiv2"/>
<c:include name="gexiv2/gexiv2.h"/>
<namespace name="GExiv2"
version="0.10"
shared-library="libgexiv2.so.2"
c:identifier-prefixes="GExiv2"
c:symbol-prefixes="gexiv2">
<callback name="LogHandler" c:type="GExiv2LogHandler">
<doc xml:space="preserve">The log handler can be set by gexiv2_log_set_handler(). When set, the log handler will receive
all log messages emitted by Exiv2 and gexiv2. It's up to the handler to decide where (and if)
the images are displayed or stored.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">The #GExiv2LogLevel for the particular message</doc>
<type name="LogLevel" c:type="GExiv2LogLevel"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve">The log message</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</callback>
<enumeration name="LogLevel"
glib:type-name="GExiv2LogLevel"
glib:get-type="gexiv2_gexiv2_log_level_get_type"
c:type="GExiv2LogLevel">
<doc xml:space="preserve">GExiv2 log levels</doc>
<member name="debug"
value="0"
c:identifier="GEXIV2_LOG_LEVEL_DEBUG"
glib:nick="debug">
<doc xml:space="preserve">Log level for debugging</doc>
</member>
<member name="info"
value="1"
c:identifier="GEXIV2_LOG_LEVEL_INFO"
glib:nick="info">
<doc xml:space="preserve">Log level for informational messages</doc>
</member>
<member name="warn"
value="2"
c:identifier="GEXIV2_LOG_LEVEL_WARN"
glib:nick="warn">
<doc xml:space="preserve">Log level for warning messages</doc>
</member>
<member name="error"
value="3"
c:identifier="GEXIV2_LOG_LEVEL_ERROR"
glib:nick="error">
<doc xml:space="preserve">Log level for error messages</doc>
</member>
<member name="mute"
value="4"
c:identifier="GEXIV2_LOG_LEVEL_MUTE"
glib:nick="mute">
<doc xml:space="preserve">Suppress all log messages</doc>
</member>
</enumeration>
<constant name="MAJOR_VERSION" value="0" c:type="GEXIV2_MAJOR_VERSION">
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION" value="8" c:type="GEXIV2_MICRO_VERSION">
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="10" c:type="GEXIV2_MINOR_VERSION">
<type name="gint" c:type="gint"/>
</constant>
<class name="Metadata"
c:symbol-prefix="metadata"
c:type="GExiv2Metadata"
parent="GObject.Object"
glib:type-name="GExiv2Metadata"
glib:get-type="gexiv2_metadata_get_type"
glib:type-struct="MetadataClass">
<doc xml:space="preserve">An object holding all the Exiv2 metadata. Previews, if present, are also available.
As gexiv2 is only a wrapper around Exiv2, it's better to read its documentation to understand
the full scope of what it offers: <ulink url="http://www.exiv2.org/"></ulink>
In particular, rather than providing a getter/setter method pair for every metadata value
available for images (of which there are thousands), Exiv2 uses a dotted addressing scheme.
For example, to access a photo's EXIF Orientation field, the caller passes to Exiv2
"Exif.Photo.Orientation". These <emphasis>tags</emphasis> (in Exiv2 parlance) are key to using Exiv2 (and
therefore gexiv2) to its fullest.
A full reference for all supported Exiv2 tags can be found at
<ulink url="http://www.exiv2.org/metadata.html"></ulink></doc>
<constructor name="new" c:identifier="gexiv2_metadata_new">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A fully constructed #GExiv2Metadata ready to be used</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</return-value>
</constructor>
<function name="get_tag_description"
c:identifier="gexiv2_metadata_get_tag_description">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The tag's description</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_tag_label"
c:identifier="gexiv2_metadata_get_tag_label">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The tag's label</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_tag_type"
c:identifier="gexiv2_metadata_get_tag_type">
<doc xml:space="preserve">The names of the various Exiv2 tag types can be found at Exiv2::TypeId,
<ulink url="http://exiv2.org/doc/namespaceExiv2.html#5153319711f35fe81cbc13f4b852450c"></ulink>
The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The tag's type name.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="is_exif_tag" c:identifier="gexiv2_metadata_is_exif_tag">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if the Exiv2 tag is for the EXIF domain.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="is_iptc_tag" c:identifier="gexiv2_metadata_is_iptc_tag">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if the Exiv2 tag is for the IPTC domain.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="is_xmp_tag" c:identifier="gexiv2_metadata_is_xmp_tag">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if the Exiv2 tag is for the XMP domain.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">An Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="register_xmp_namespace"
c:identifier="gexiv2_metadata_register_xmp_namespace">
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">XMP URI name (should end in /)</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="prefix" transfer-ownership="none">
<doc xml:space="preserve">XMP namespace prefix</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="unregister_all_xmp_namespaces"
c:identifier="gexiv2_metadata_unregister_all_xmp_namespaces">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="unregister_xmp_namespace"
c:identifier="gexiv2_metadata_unregister_xmp_namespace">
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">XMP URI name (should end in /)</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<method name="clear" c:identifier="gexiv2_metadata_clear">
<doc xml:space="preserve">Removes all tags for all domains (EXIF, IPTC, and XMP).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="clear_comment"
c:identifier="gexiv2_metadata_clear_comment">
<doc xml:space="preserve">This is a composite clear method that will clear a number of fields. See
#gexiv2_metadata_get_comment for more information.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="clear_exif" c:identifier="gexiv2_metadata_clear_exif">
<doc xml:space="preserve">Clears all EXIF metadata from the loaded image.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="clear_iptc" c:identifier="gexiv2_metadata_clear_iptc">
<doc xml:space="preserve">Clears all IPTC metadata from the loaded image.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="clear_tag" c:identifier="gexiv2_metadata_clear_tag">
<doc xml:space="preserve">Removes the Exiv2 tag from the metadata object.
The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if the tag was present.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="clear_xmp" c:identifier="gexiv2_metadata_clear_xmp">
<doc xml:space="preserve">Clears all XMP metadata from the loaded image.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="delete_gps_info"
c:identifier="gexiv2_metadata_delete_gps_info">
<doc xml:space="preserve">Removes all GPS metadata from the loaded image</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="erase_exif_thumbnail"
c:identifier="gexiv2_metadata_erase_exif_thumbnail">
<doc xml:space="preserve">Removes the EXIF thumbnail from the loaded image.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="free"
c:identifier="gexiv2_metadata_free"
deprecated="1"
deprecated-version="0.10.3">
<doc xml:space="preserve">Destroys the #GExiv2Metadata object and frees all associated memory.</doc>
<doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="from_app1_segment"
c:identifier="gexiv2_metadata_from_app1_segment"
throws="1">
<doc xml:space="preserve">Load only an EXIF buffer, typically stored in a JPEG's APP1 segment.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">A buffer containing the data to be read</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="n_data" transfer-ownership="none" skip="1">
<doc xml:space="preserve">The length of the buffer</doc>
<type name="glong" c:type="glong"/>
</parameter>
</parameters>
</method>
<method name="generate_xmp_packet"
c:identifier="gexiv2_metadata_generate_xmp_packet">
<doc xml:space="preserve">Encode the XMP packet as a %NULL-terminated string.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">Encode the XMP packet and return as a %NULL-terminated string.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="xmp_format_flags" transfer-ownership="none">
<doc xml:space="preserve">One of #GExiv2XmpFormatFlags</doc>
<type name="XmpFormatFlags" c:type="GExiv2XmpFormatFlags"/>
</parameter>
<parameter name="padding" transfer-ownership="none">
<doc xml:space="preserve">The padding (FIXME: Add documentation)</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="get_comment" c:identifier="gexiv2_metadata_get_comment">
<doc xml:space="preserve">A composite accessor that uses the first available metadata field from a list of well-known
locations to find the photo's comment (or description).
MWG guidelines refer to these as <emphasis>Description</emphasis>: a textual description of a resource's content.
These fields are:
- Exif.Image.ImageDescription (MWG Guidelines)
- Exif.Photo.UserComment
- Exif.Image.XPComment
- Iptc.Application2.Caption (MWG Guidelines)
- Xmp.dc.description (MWG Guidelines)
- Xmp.acdsee.notes (Commonly requested, read only)
<note>Note that in the EXIF specification Exif.Image.ImageDescription is
described as "the title of the image". Also, it does not support
two-byte character codes for encoding. However, it's still used here for legacy reasons.
</note>
For fine-grained control, it's recommended to use Exiv2 tags directly rather than this method,
which is more useful for quick or casual use.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The photo's comment field.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_exif_tag_rational"
c:identifier="gexiv2_metadata_get_exif_tag_rational">
<doc xml:space="preserve">Fetch EXIF @tag represented by a fraction. @nom will contain the numerator,
@den the denominator of the fraction on successful return.</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">The tag you want the rational value for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="nom"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">The numerator</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="den"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">The denominator</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_exif_tags"
c:identifier="gexiv2_metadata_get_exif_tags">
<doc xml:space="preserve">Query @self for a list of available EXIF tags</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A list of the available EXIF tags in the
loaded image</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_exif_thumbnail"
c:identifier="gexiv2_metadata_get_exif_thumbnail">
<doc xml:space="preserve">Get the thumbnail stored in the EXIF data of @self</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="buffer"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Where to store the thumbnail data</doc>
<array length="1" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="size"
direction="out"
caller-allocates="0"
transfer-ownership="full"
skip="1">
<doc xml:space="preserve">Size of the thumbnail's buffer</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_exposure_time"
c:identifier="gexiv2_metadata_get_exposure_time">
<doc xml:space="preserve">Returns the exposure time in seconds (shutter speed, <emphasis>not</emphasis> date-time of exposure) as a
rational. See <ulink url="https://en.wikipedia.org/wiki/Shutter_speed"></ulink> for more information.</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="nom"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">The numerator</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="den"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">The denominator</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_fnumber" c:identifier="gexiv2_metadata_get_fnumber">
<doc xml:space="preserve">See <ulink url="https://en.wikipedia.org/wiki/F-number"></ulink> for more information.
If Exif.Photo.FNumber does not exist, it will fall back to calculating the FNumber from
Exif.Photo.ApertureValue (if available);</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The exposure Fnumber as a gdouble, or -1.0 if tag is not present or invalid.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_focal_length"
c:identifier="gexiv2_metadata_get_focal_length">
<doc xml:space="preserve">See <ulink url="https://en.wikipedia.org/wiki/Flange_focal_distance"></ulink> for more information.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The focal length as a gdouble, or -1.0 if tag is not present or invalid.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_gps_altitude"
c:identifier="gexiv2_metadata_get_gps_altitude">
<doc xml:space="preserve">Convenience function to query the altitude stored in the GPS tags of the
image</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="altitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Variable to store the altitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
<method name="get_gps_info" c:identifier="gexiv2_metadata_get_gps_info">
<doc xml:space="preserve">Convenience function to query all available GPS information at once.</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="longitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Storage for longitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
<parameter name="latitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Storage for latitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
<parameter name="altitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Storage for altitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
<method name="get_gps_latitude"
c:identifier="gexiv2_metadata_get_gps_latitude">
<doc xml:space="preserve">Query the latitude stored in the GPS tags of @self</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="latitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Variable to store the latitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
<method name="get_gps_longitude"
c:identifier="gexiv2_metadata_get_gps_longitude">
<doc xml:space="preserve">Query the longitude stored in the GPS tags of @self</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="longitude"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Variable to store the longitude value</doc>
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
<method name="get_iptc_tags"
c:identifier="gexiv2_metadata_get_iptc_tags">
<doc xml:space="preserve">Query @self for a list of available IPTC tags</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A list of the available IPTC tags</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_iso_speed"
c:identifier="gexiv2_metadata_get_iso_speed">
<doc xml:space="preserve">See <ulink url="https://en.wikipedia.org/wiki/Iso_speed"></ulink> for more information.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The ISO speed rating as a gint, or 0 if tag is not present or invalid.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_metadata_pixel_height"
c:identifier="gexiv2_metadata_get_metadata_pixel_height">
<doc xml:space="preserve">Composite accessor to query the pixel with stored in the metadata. This
might differ from the height of image that is available through
gexiv2_metadata_get_pixel_height()</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Height of images in pixels as stored in the metadata</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_metadata_pixel_width"
c:identifier="gexiv2_metadata_get_metadata_pixel_width">
<doc xml:space="preserve">Composite accessor to query the pixel with stored in the metadata. This
might differ from the width of image that is available through
gexiv2_metadata_get_pixel_width()</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Width of images in pixels as stored in the metadata</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_type"
c:identifier="gexiv2_metadata_get_mime_type">
<doc xml:space="preserve">Query mime type of currently loaded image.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The MIME type of the loaded image, %NULL if not loaded or unknown.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_orientation"
c:identifier="gexiv2_metadata_get_orientation">
<doc xml:space="preserve">The EXIF Orientation field</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A #GExiv2Orientation value representing the EXIF orientation
value.</doc>
<type name="Orientation" c:type="GExiv2Orientation"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pixel_height"
c:identifier="gexiv2_metadata_get_pixel_height">
<doc xml:space="preserve">Get the <emphasis>actual</emphasis> unoriented display height in pixels of the loaded image. This may
be different than the height reported by various metadata tags, i.e. "Exif.Photo.PixelYDimension".</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Pixel height of current image</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pixel_width"
c:identifier="gexiv2_metadata_get_pixel_width">
<doc xml:space="preserve">Get the <emphasis>actual</emphasis> unoriented display width in pixels of the loaded
image. May be different than the width reported by various metadata tags,
i.e. "Exif.Photo.PixelXDimension".</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Pixel width of current image</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_preview_image"
c:identifier="gexiv2_metadata_get_preview_image">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GExiv2PreviewImage instance for the particular
#GExiv2PreviewProperties.</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="props" transfer-ownership="none">
<doc xml:space="preserve">A #GExiv2PreviewProperties instance</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</parameter>
</parameters>
</method>
<method name="get_preview_properties"
c:identifier="gexiv2_metadata_get_preview_properties">
<doc xml:space="preserve">An image may have stored one or more previews, often of different qualities, sometimes of
different image formats than the containing image. This call returns the properties of all
previews Exiv2 finds within the loaded image. Use #gexiv2_metadata_get_preview_image to
load a particular preview into memory.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">An array of
#GExiv2PreviewProperties instances, one for each preview present in the loaded image.</doc>
<array c:type="GExiv2PreviewProperties**">
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_supports_exif"
c:identifier="gexiv2_metadata_get_supports_exif">
<doc xml:space="preserve">Query @self whether it supports writing EXIF metadata.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the loaded image type supports writing EXIF metadata.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_supports_iptc"
c:identifier="gexiv2_metadata_get_supports_iptc">
<doc xml:space="preserve">Query @self whether it supports writing IPTC metadata.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the loaded image type supports writing IPTC metadata.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_supports_xmp"
c:identifier="gexiv2_metadata_get_supports_xmp">
<doc xml:space="preserve">Query @self whether it supports writing XMP metadata.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the loaded image type supports writing XMP metadata.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tag_interpreted_string"
c:identifier="gexiv2_metadata_get_tag_interpreted_string">
<doc xml:space="preserve">An interpreted string is one fit for user display. It may display units or use formatting
appropriate to the type of data the tag holds.
The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The tag's interpreted value as a string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_tag_long" c:identifier="gexiv2_metadata_get_tag_long">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The tag's value as a glong</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_tag_multiple"
c:identifier="gexiv2_metadata_get_tag_multiple">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The multiple string values of
the tag</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_tag_raw" c:identifier="gexiv2_metadata_get_tag_raw">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The tag's raw value as a byte array</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_tag_string"
c:identifier="gexiv2_metadata_get_tag_string">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The tag's value as a string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_xmp_packet"
c:identifier="gexiv2_metadata_get_xmp_packet">
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The currently-encoded XMP packet (see gexiv2_metadata_generate_xmp_packet).</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xmp_tags" c:identifier="gexiv2_metadata_get_xmp_tags">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A list of the available XMP tags</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_exif" c:identifier="gexiv2_metadata_has_exif">
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if EXIF metadata is present in the loaded image</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_iptc" c:identifier="gexiv2_metadata_has_iptc">
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if IPTC metadata is present in the loaded image</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_tag" c:identifier="gexiv2_metadata_has_tag">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if the tag is present.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="has_xmp" c:identifier="gexiv2_metadata_has_xmp">
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE if XMP metadata is present in the loaded image</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
</parameters>
</method>
<method name="open_buf"
c:identifier="gexiv2_metadata_open_buf"
throws="1">
<doc xml:space="preserve">The buffer must be an image format supported by Exiv2.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">A buffer containing the data to be read</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="n_data" transfer-ownership="none" skip="1">
<doc xml:space="preserve">The length of the buffer</doc>
<type name="glong" c:type="glong"/>
</parameter>
</parameters>
</method>
<method name="open_path"
c:identifier="gexiv2_metadata_open_path"
throws="1">
<doc xml:space="preserve">The file must be an image format supported by Exiv2.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">Path to the file you want to open</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="open_stream"
c:identifier="gexiv2_metadata_open_stream"
introspectable="0"
throws="1">
<doc xml:space="preserve">The stream must be an image format supported by Exiv2.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="cb" transfer-ownership="none">
<doc xml:space="preserve">A #ManagedStreamCallbacks struct offering stream access.</doc>
<type c:type="ManagedStreamCallbacks*"/>
</parameter>
</parameters>
</method>
<method name="save_external"
c:identifier="gexiv2_metadata_save_external"
version="0.10.6"
throws="1">
<doc xml:space="preserve">Saves the metadata to the specified using an XMP sidecar file.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">Path to the file you want to save to.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="save_file"
c:identifier="gexiv2_metadata_save_file"
throws="1">
<doc xml:space="preserve">Saves the metadata to the specified file by reading the file into memory,copying this object's
metadata into the image, then writing the image back out.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">Path to the file you want to save to.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="save_stream"
c:identifier="gexiv2_metadata_save_stream"
introspectable="0"
throws="1">
<doc xml:space="preserve">Saves the metadata to the stream by reading the stream into memory,copying this object's
metadata into the image, then writing the image as a stream back out.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success indicator.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="cb" transfer-ownership="none">
<doc xml:space="preserve">A #ManagedStreamCallbacks struct offering stream access.</doc>
<type c:type="ManagedStreamCallbacks*"/>
</parameter>
</parameters>
</method>
<method name="set_comment" c:identifier="gexiv2_metadata_set_comment">
<doc xml:space="preserve">This is a composite setter that will set a number of fields to the supplied value. See
#gexiv2_metadata_get_comment for more information.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="comment" transfer-ownership="none">
<doc xml:space="preserve">Comment string to set. Must not be %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_exif_tag_rational"
c:identifier="gexiv2_metadata_set_exif_tag_rational">
<doc xml:space="preserve">Set EXIF @tag represented by a fraction, with @nom being the numerator,
@den the denominator of the fraction.</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">The Exiv2 tag</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="nom" transfer-ownership="none">
<doc xml:space="preserve">Rational numerator</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="den" transfer-ownership="none">
<doc xml:space="preserve">Rational denominator</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_exif_thumbnail_from_buffer"
c:identifier="gexiv2_metadata_set_exif_thumbnail_from_buffer">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve">A buffer containing thumbnail data</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none" skip="1">
<doc xml:space="preserve">Size of the thumbnail's buffer</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_exif_thumbnail_from_file"
c:identifier="gexiv2_metadata_set_exif_thumbnail_from_file"
throws="1">
<doc xml:space="preserve">Sets or replaces the EXIF thumbnail with the image in the file</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">Path of image file</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_gps_info" c:identifier="gexiv2_metadata_set_gps_info">
<doc xml:space="preserve">Convenience function to query all available GPS information at once.</doc>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve">Boolean success value.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="longitude" transfer-ownership="none">
<doc xml:space="preserve">Longitude value to set or replace current value</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
<parameter name="latitude" transfer-ownership="none">
<doc xml:space="preserve">Latitude value to set or replace current value</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
<parameter name="altitude" transfer-ownership="none">
<doc xml:space="preserve">Altitude value to set or replace current value</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_metadata_pixel_height"
c:identifier="gexiv2_metadata_set_metadata_pixel_height">
<doc xml:space="preserve">Update the image's metadata with @height</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve">The width of the image as it should be put into the metadata.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_metadata_pixel_width"
c:identifier="gexiv2_metadata_set_metadata_pixel_width">
<doc xml:space="preserve">Composite setter to update the image's metadata with @width</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">The width of the image as it should be put into the metadata.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_orientation"
c:identifier="gexiv2_metadata_set_orientation">
<doc xml:space="preserve">The orientation must be valid and cannot be #GEXIV2_ORIENTATION_UNSPECIFIED.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="orientation" transfer-ownership="none">
<doc xml:space="preserve">The new #GExiv2Orientation for the image.</doc>
<type name="Orientation" c:type="GExiv2Orientation"/>
</parameter>
</parameters>
</method>
<method name="set_tag_long" c:identifier="gexiv2_metadata_set_tag_long">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">The value to set or replace the existing value</doc>
<type name="glong" c:type="glong"/>
</parameter>
</parameters>
</method>
<method name="set_tag_multiple"
c:identifier="gexiv2_metadata_set_tag_multiple">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Boolean success value</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="values" transfer-ownership="none">
<doc xml:space="preserve">An array of values to set or replace the existing value(s)</doc>
<array c:type="gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</method>
<method name="set_tag_string"
c:identifier="gexiv2_metadata_set_tag_string">
<doc xml:space="preserve">The Exiv2 Tag Reference can be found at <ulink url="http://exiv2.org/metadata.html"></ulink></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2Metadata</doc>
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<doc xml:space="preserve">Exiv2 tag name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">The value to set or replace the existing value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_xmp_tag_struct"
c:identifier="gexiv2_metadata_set_xmp_tag_struct">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="Metadata" c:type="GExiv2Metadata*"/>
</instance-parameter>
<parameter name="tag" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="type" transfer-ownership="none">
<type name="StructureType" c:type="GExiv2StructureType"/>
</parameter>
</parameters>
</method>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="MetadataPrivate" c:type="GExiv2MetadataPrivate*"/>
</field>
</class>
<record name="MetadataClass"
c:type="GExiv2MetadataClass"
glib:is-gtype-struct-for="Metadata">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="MetadataPrivate"
c:type="GExiv2MetadataPrivate"
disguised="1">
</record>
<enumeration name="Orientation"
glib:type-name="GExiv2Orientation"
glib:get-type="gexiv2_gexiv2_orientation_get_type"
c:type="GExiv2Orientation">
<doc xml:space="preserve">The orientation of an image is defined as the location of it's x,y origin. More than rotation,
orientation allows for every variation of rotation, flips, and mirroring to be described in
3 bits of data.
A handy primer to orientation can be found at
<ulink url="http://jpegclub.org/exif_orientation.html"></ulink></doc>
<member name="unspecified"
value="0"
c:identifier="GEXIV2_ORIENTATION_UNSPECIFIED"
glib:nick="unspecified">
<doc xml:space="preserve">The orientation of the image is unknown</doc>
</member>
<member name="normal"
value="1"
c:identifier="GEXIV2_ORIENTATION_NORMAL"
glib:nick="normal">
<doc xml:space="preserve">The orientation of the image is without any rotation.</doc>
</member>
<member name="hflip"
value="2"
c:identifier="GEXIV2_ORIENTATION_HFLIP"
glib:nick="hflip">
<doc xml:space="preserve">The image is flipped on its horizontal axis</doc>
</member>
<member name="rot_180"
value="3"
c:identifier="GEXIV2_ORIENTATION_ROT_180"
glib:nick="rot-180">
<doc xml:space="preserve">The image is rotated by 180 degrees</doc>
</member>
<member name="vflip"
value="4"
c:identifier="GEXIV2_ORIENTATION_VFLIP"
glib:nick="vflip">
<doc xml:space="preserve">The Image is flipped on its vertical axis</doc>
</member>
<member name="rot_90_hflip"
value="5"
c:identifier="GEXIV2_ORIENTATION_ROT_90_HFLIP"
glib:nick="rot-90-hflip">
<doc xml:space="preserve">The image is rotated by 90 degrees clockwise and flipped on its horizontal axis</doc>
</member>
<member name="rot_90"
value="6"
c:identifier="GEXIV2_ORIENTATION_ROT_90"
glib:nick="rot-90">
<doc xml:space="preserve">The image is rotated by 90 degrees clockwise</doc>
</member>
<member name="rot_90_vflip"
value="7"
c:identifier="GEXIV2_ORIENTATION_ROT_90_VFLIP"
glib:nick="rot-90-vflip">
<doc xml:space="preserve">The image is rotated by 90 degrees clockwise and flipped on its vertical axis</doc>
</member>
<member name="rot_270"
value="8"
c:identifier="GEXIV2_ORIENTATION_ROT_270"
glib:nick="rot-270">
<doc xml:space="preserve">The image is rotated 270 degrees clockwise</doc>
</member>
</enumeration>
<class name="PreviewImage"
c:symbol-prefix="preview_image"
c:type="GExiv2PreviewImage"
parent="GObject.Object"
glib:type-name="GExiv2PreviewImage"
glib:get-type="gexiv2_preview_image_get_type"
glib:type-struct="PreviewImageClass">
<method name="free"
c:identifier="gexiv2_preview_image_free"
deprecated="1"
deprecated-version="0.10.3">
<doc xml:space="preserve">Releases the preview image and all associated memory.</doc>
<doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_data" c:identifier="gexiv2_preview_image_get_data">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The raw image data</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
<parameter name="size"
direction="out"
caller-allocates="0"
transfer-ownership="full"
skip="1">
<doc xml:space="preserve">The size of the buffer holding the data</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="get_extension"
c:identifier="gexiv2_preview_image_get_extension">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's recommended file extension.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_height" c:identifier="gexiv2_preview_image_get_height">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's display height in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_type"
c:identifier="gexiv2_preview_image_get_mime_type">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's MIME type.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_width" c:identifier="gexiv2_preview_image_get_width">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's display width in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="write_file" c:identifier="gexiv2_preview_image_write_file">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The number of bytes written to the file.</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewImage</doc>
<type name="PreviewImage" c:type="GExiv2PreviewImage*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">The file path to write the preview image to.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PreviewImagePrivate" c:type="GExiv2PreviewImagePrivate*"/>
</field>
</class>
<record name="PreviewImageClass"
c:type="GExiv2PreviewImageClass"
glib:is-gtype-struct-for="PreviewImage">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="PreviewImagePrivate"
c:type="GExiv2PreviewImagePrivate"
disguised="1">
</record>
<class name="PreviewProperties"
c:symbol-prefix="preview_properties"
c:type="GExiv2PreviewProperties"
parent="GObject.Object"
glib:type-name="GExiv2PreviewProperties"
glib:get-type="gexiv2_preview_properties_get_type"
glib:type-struct="PreviewPropertiesClass">
<method name="get_extension"
c:identifier="gexiv2_preview_properties_get_extension">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The recommended file extension for the preview image.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewProperties</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_height"
c:identifier="gexiv2_preview_properties_get_height">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's display height in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewProperties</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_type"
c:identifier="gexiv2_preview_properties_get_mime_type">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's MIME type.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewProperties</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_size"
c:identifier="gexiv2_preview_properties_get_size">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image size in bytes.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewProperties</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_width"
c:identifier="gexiv2_preview_properties_get_width">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The preview image's display width in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">An instance of #GExiv2PreviewProperties</doc>
<type name="PreviewProperties" c:type="GExiv2PreviewProperties*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PreviewPropertiesPrivate"
c:type="GExiv2PreviewPropertiesPrivate*"/>
</field>
</class>
<record name="PreviewPropertiesClass"
c:type="GExiv2PreviewPropertiesClass"
glib:is-gtype-struct-for="PreviewProperties">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="PreviewPropertiesPrivate"
c:type="GExiv2PreviewPropertiesPrivate"
disguised="1">
</record>
<enumeration name="StructureType"
glib:type-name="GExiv2StructureType"
glib:get-type="gexiv2_gexiv2_structure_type_get_type"
c:type="GExiv2StructureType">
<doc xml:space="preserve">Used in gexiv2_metadata_set_xmp_tag_struct() to determine the array type</doc>
<member name="none"
value="0"
c:identifier="GEXIV2_STRUCTURE_XA_NONE"
glib:nick="none">
<doc xml:space="preserve">Structure is not an array</doc>
</member>
<member name="alt"
value="20"
c:identifier="GEXIV2_STRUCTURE_XA_ALT"
glib:nick="alt">
<doc xml:space="preserve">A list of alternative values</doc>
</member>
<member name="bag"
value="21"
c:identifier="GEXIV2_STRUCTURE_XA_BAG"
glib:nick="bag">
<doc xml:space="preserve">An unordered list of values</doc>
</member>
<member name="seq"
value="22"
c:identifier="GEXIV2_STRUCTURE_XA_SEQ"
glib:nick="seq">
<doc xml:space="preserve">An ordered list of values</doc>
</member>
<member name="lang"
value="23"
c:identifier="GEXIV2_STRUCTURE_XA_LANG"
glib:nick="lang">
<doc xml:space="preserve">Not supported. For completeness only</doc>
</member>
</enumeration>
<bitfield name="XmpFormatFlags"
glib:type-name="GExiv2XmpFormatFlags"
glib:get-type="gexiv2_gexiv2_xmp_format_flags_get_type"
c:type="GExiv2XmpFormatFlags">
<doc xml:space="preserve">Options to control the format of the serialized XMP packet
Taken from: exiv2/src/xmp.hpp</doc>
<member name="omit_packet_wrapper"
value="16"
c:identifier="GEXIV2_OMIT_PACKET_WRAPPER"
glib:nick="omit-packet-wrapper">
<doc xml:space="preserve">Omit the XML packet wrapper.</doc>
</member>
<member name="read_only_packet"
value="32"
c:identifier="GEXIV2_READ_ONLY_PACKET"
glib:nick="read-only-packet">
<doc xml:space="preserve">Default is a writeable packet.</doc>
</member>
<member name="use_compact_format"
value="64"
c:identifier="GEXIV2_USE_COMPACT_FORMAT"
glib:nick="use-compact-format">
<doc xml:space="preserve">Use a compact form of RDF.</doc>
</member>
<member name="include_thumbnail_pad"
value="256"
c:identifier="GEXIV2_INCLUDE_THUMBNAIL_PAD"
glib:nick="include-thumbnail-pad">
<doc xml:space="preserve">Include a padding allowance for a thumbnail image.</doc>
</member>
<member name="exact_packet_length"
value="512"
c:identifier="GEXIV2_EXACT_PACKET_LENGTH"
glib:nick="exact-packet-length">
<doc xml:space="preserve">The padding parameter is the overall packet length.</doc>
</member>
<member name="write_alias_comments"
value="1024"
c:identifier="GEXIV2_WRITE_ALIAS_COMMENTS"
glib:nick="write-alias-comments">
<doc xml:space="preserve">Show aliases as XML comments.</doc>
</member>
<member name="omit_all_formatting"
value="2048"
c:identifier="GEXIV2_OMIT_ALL_FORMATTING"
glib:nick="omit-all-formatting">
<doc xml:space="preserve">Omit all formatting whitespace.</doc>
</member>
</bitfield>
<function name="get_version" c:identifier="gexiv2_get_version">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The gexiv2 library's version number as a formatted decimal XXYYZZ, where XX is the
major version, YY is the minor version, and ZZ is the micro version. For example, version
0.6.1 will be returned as 000601.</doc>
<type name="gint" c:type="gint"/>
</return-value>
</function>
<function name="initialize" c:identifier="gexiv2_initialize">
<doc xml:space="preserve">gexiv2 requires initialization before its methods are used. In particular, this call must be
made in a thread-safe fashion. Best practice is to call from the application's main thread and
not to use any Gexiv2 code until it has returned.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if initialized. If %FALSE, GExiv2 should not be used (unable to initialize
properly).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="log_get_default_handler"
c:identifier="gexiv2_log_get_default_handler"
introspectable="0">
<return-value>
<doc xml:space="preserve">The default #GExiv2LogHandler, which uses Exiv2's built-in handler. Exiv2 will send the
message to stderr.</doc>
<type name="LogHandler" c:type="GExiv2LogHandler"/>
</return-value>
</function>
<function name="log_get_handler"
c:identifier="gexiv2_log_get_handler"
introspectable="0">
<return-value>
<doc xml:space="preserve">The current #GExiv2LogHandler, or the default if none set. See
#gexiv2_log_get_default_handler.</doc>
<type name="LogHandler" c:type="GExiv2LogHandler"/>
</return-value>
</function>
<function name="log_get_level" c:identifier="gexiv2_log_get_level">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The current #GExiv2LogLevel. Messages below this level will not be logged.</doc>
<type name="LogLevel" c:type="GExiv2LogLevel"/>
</return-value>
</function>
<function name="log_set_handler"
c:identifier="gexiv2_log_set_handler"
introspectable="0">
<doc xml:space="preserve">This method is not thread-safe. It's best to set this before beginning to use gexiv2.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="handler" transfer-ownership="none">
<doc xml:space="preserve">A #GExiv2LogHandler callback to begin receiving log messages from Exiv2 and gexiv2</doc>
<type name="LogHandler" c:type="GExiv2LogHandler"/>
</parameter>
</parameters>
</function>
<function name="log_set_level" c:identifier="gexiv2_log_set_level">
<doc xml:space="preserve">Log messages below this level will not be logged.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">The #GExiv2LogLevel gexiv2 should respect.</doc>
<type name="LogLevel" c:type="GExiv2LogLevel"/>
</parameter>
</parameters>
</function>
<function name="log_use_glib_logging"
c:identifier="gexiv2_log_use_glib_logging">
<doc xml:space="preserve">When called, gexiv2 will install it's own #GExiv2LogHandler which redirects all Exiv2 and gexiv2
log messages to GLib's logging calls (g_debug(), g_message(), g_warning(), and g_critical() for the
respective #GExiv2LogLevel value). #GEXIV2_LOG_LEVEL_MUTE logs are dropped.
One advantage to using this is that GLib's logging control and handlers can be used rather than
GExiv2's ad hoc scheme. It also means an application can use GLib logging and have all its
messages routed through the same calls.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
</namespace>
</repository>
|