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 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" value="application/xhtml+xml" />
<meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
<link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
<style type="text/css" media="screen,projection"><!--
@import url("../../www/magick.css");
--></style>
<link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
<title>ImageMagick: MagickCore, C API for ImageMagick: Deprecated Methods</title>
<meta http-equiv="Content-Language" content="en-US"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
<meta name="Generator" content="PHP"/>
<meta name="Keywords" content="magickcore, c, api, for, imagemagick:, deprecated, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
<meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
<meta name="Rating" content="GENERAL"/>
<meta name="Robots" content="INDEX, FOLLOW"/>
<meta name="Generator" content="ImageMagick Studio LLC"/>
<meta name="Author" content="ImageMagick Studio LLC"/>
<meta name="Revisit-after" content="2 DAYS"/>
<meta name="Resource-type" content="document"/>
<meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
<meta name="Distribution" content="Global"/>
</head>
<body id="www-imagemagick-org">
<div class="titlebar">
<a href="../../index.html">
<img src="../../images/script.png" alt="[ImageMagick]"
style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
<a href="http://www.networkredux.com">
<img src="../../images/networkredux.png" alt="[sponsor]"
style="margin: 45px auto; border: 0px; float: left;" /></a>
<a href="http://www.imagemagick.org/discourse-server/">
<img src="../../images/logo.jpg" alt=""
style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
<a href="../../index.html">
<img src="../../images/sprite.jpg" alt=""
style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
</div>
<div class="eastbar">
<div class="menu">
<a href="../../index.html">About ImageMagick</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../../www/command-line-tools.html">Command-line Tools</a>
</div>
<div class="sub">
<a href="../../www/command-line-processing.html">Processing</a>
</div>
<div class="sub">
<a href="../../www/command-line-options.html">Options</a>
</div>
<div class="sub">
<a href="http://www.imagemagick.org/Usage/">Usage</a>
</div>
<div class="menu">
<a href="../../www/api.html">Program Interfaces</a>
</div>
<div class="sub">
<a href="../../www/magick-wand.html">MagickWand</a>
</div>
<div class="sub">
<a href="../../www/magick-core.html">MagickCore</a>
</div>
<div class="sub">
<a href="../../www/perl-magick.html">PerlMagick</a>
</div>
<div class="sub">
<a href="../../Magick++/">Magick++</a>
</div>
<div class="menu">
<a href="../../www/architecture.html">Architecture</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../../www/install-source.html">Install from Source</a>
</div>
<div class="sub">
<a href="../../www/install-source.html#unix">Unix</a>
</div>
<div class="sub">
<a href="../../www/install-source.html#windows">Windows</a>
</div>
<div class="menu">
<a href="../../www/binary-releases.html">Binary Releases</a>
</div>
<div class="sub">
<a href="../../www/binary-releases.html#unix">Unix</a>
</div>
<div class="sub">
<a href="../../www/binary-releases.html#macosx">Mac OS X</a>
</div>
<div class="sub">
<a href="../../www/binary-releases.html#windows">Windows</a>
</div>
<div class="menu">
<a href="../../www/resources.html">Resources</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../../www/download.html">Download</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../http://www.imagemagick.org/script/search.php">Search</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../../www/sitemap.html">Site Map</a>
</div>
<div class="sub">
<a href="../../www/links.html">Links</a>
</div>
<div class="sep"></div>
<div class="menu">
<a href="../../www/sponsors.html">Sponsors:</a>
<div class="sponsbox">
<div class="sponsor">
<a href="http://www.abi-stoff.de/abizeitung/" title="Abibuch">Abizeitung</a><!-- 20101101000200 -->
</div>
<div class="sponsor">
<a href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
</div>
<div class="sponsor">
<a href="http://www.tomsgutscheine.de">Tom's Gutscheine</a><!-- 201005010360 invendio.de-->
</div>
<div class="sponsor">
<a href="http://www.online-kredit-index.de">Kredit</a><!-- 201007010120 Buchhorn -->
</div>
<div class="sponsor">
<a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
</div>
<div class="sponsor">
<a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
</div>
<div class="sponsor">
<a href="http://www.goyax.de">Börse</a><!-- 201004010240 Gewiese digital-finance.de -->
</div>
<div class="sponsor">
<a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
</div>
</div>
</div>
</div>
<div class="main">
<p class="navigation-index">[<a href="#AcquireCacheViewIndexes">AcquireCacheViewIndexes</a> • <a href="#AcquireCacheViewPixels">AcquireCacheViewPixels</a> • <a href="#AcquireImagePixels">AcquireImagePixels</a> • <a href="#AcquireIndexes">AcquireIndexes</a> • <a href="#AcquireMemory">AcquireMemory</a> • <a href="#AcquireOneCacheViewPixel">AcquireOneCacheViewPixel</a> • <a href="#AcquireOneCacheViewVirtualPixel">AcquireOneCacheViewVirtualPixel</a> • <a href="#AcquireOneMagickPixel">AcquireOneMagickPixel</a> • <a href="#AcquireOnePixel">AcquireOnePixel</a> • <a href="#AcquireOneVirtualPixel">AcquireOneVirtualPixel</a> • <a href="#AcquirePixels">AcquirePixels</a> • <a href="#AffinityImage">AffinityImage</a> • <a href="#AffinityImages">AffinityImages</a> • <a href="#AllocateImage">AllocateImage</a> • <a href="#AllocateImageColormap">AllocateImageColormap</a> • <a href="#AllocateNextImage">AllocateNextImage</a> • <a href="#AllocateString">AllocateString</a> • <a href="#AverageImages">AverageImages</a> • <a href="#ChannelThresholdImage">ChannelThresholdImage</a> • <a href="#ClipPathImage">ClipPathImage</a> • <a href="#CloneImageAttributes">CloneImageAttributes</a> • <a href="#CloneMemory">CloneMemory</a> • <a href="#CloseCacheView">CloseCacheView</a> • <a href="#ColorFloodfill">ColorFloodfill</a> • <a href="#DeleteImageAttribute">DeleteImageAttribute</a> • <a href="#DeleteImageList">DeleteImageList</a> • <a href="#DeleteMagickRegistry">DeleteMagickRegistry</a> • <a href="#DescribeImage">DescribeImage</a> • <a href="#DestroyImageAttributes">DestroyImageAttributes</a> • <a href="#DestroyImages">DestroyImages</a> • <a href="#DestroyMagick">DestroyMagick</a> • <a href="#DispatchImage">DispatchImage</a> • <a href="#ExtractSubimageFromImageImage">ExtractSubimageFromImageImage</a> • <a href="#FlattenImages">FlattenImages</a> • <a href="#FormatImageAttribute">FormatImageAttribute</a> • <a href="#FormatString">FormatString</a> • <a href="#GetConfigureBlob">GetConfigureBlob</a> • <a href="#GetCacheView">GetCacheView</a> • <a href="#GetCacheViewIndexes">GetCacheViewIndexes</a> • <a href="#GetCacheViewPixels">GetCacheViewPixels</a> • <a href="#GetImageAttribute">GetImageAttribute</a> • <a href="#GetImageClippingPathAttribute">GetImageClippingPathAttribute</a> • <a href="#GetImageFromMagickRegistry">GetImageFromMagickRegistry</a> • <a href="#GetMagickRegistry">GetMagickRegistry</a> • <a href="#GetImageGeometry">GetImageGeometry</a> • <a href="#GetImageList">GetImageList</a> • <a href="#GetImageListIndex">GetImageListIndex</a> • <a href="#GetImageListSize">GetImageListSize</a> • <a href="#GetImagePixels">GetImagePixels</a> • <a href="#GetIndexes">GetIndexes</a> • <a href="#GetNextImage">GetNextImage</a> • <a href="#GetNextImageAttribute">GetNextImageAttribute</a> • <a href="#GetNumberScenes">GetNumberScenes</a> • <a href="#GetOnePixel">GetOnePixel</a> • <a href="#GetPixels">GetPixels</a> • <a href="#GetPreviousImage">GetPreviousImage</a> • <a href="#HSLTransform">HSLTransform</a> • <a href="#IdentityAffine">IdentityAffine</a> • <a href="#InitializeMagick">InitializeMagick</a> • <a href="#InterpolatePixelColor">InterpolatePixelColor</a> • <a href="#InterpretImageAttributes">InterpretImageAttributes</a> • <a href="#LevelImageColor">LevelImageColor</a> • <a href="#LiberateMemory">LiberateMemory</a> • <a href="#LiberateSemaphoreInfo">LiberateSemaphoreInfo</a> • <a href="#MagickIncarnate">MagickIncarnate</a> • <a href="#MagickMonitor">MagickMonitor</a> • <a href="#MapImage">MapImage</a> • <a href="#MapImages">MapImages</a> • <a href="#MatteFloodfill">MatteFloodfill</a> • <a href="#MaximumImages">MaximumImages</a> • <a href="#MinimumImages">MinimumImages</a> • <a href="#MosaicImages">MosaicImages</a> • <a href="#OpaqueImage">OpaqueImage</a> • <a href="#OpenCacheView">OpenCacheView</a> • <a href="#PaintFloodfill">PaintFloodfill</a> • <a href="#PaintOpaqueImage">PaintOpaqueImage</a> • <a href="#PaintTransparentImage">PaintTransparentImage</a> • <a href="#ParseSizeGeometry">ParseSizeGeometry</a> • <a href="#PopImageList">PopImageList</a> • <a href="#PopImagePixels">PopImagePixels</a> • <a href="#PostscriptGeometry">PostscriptGeometry</a> • <a href="#PushImageList">PushImageList</a> • <a href="#PushImagePixels">PushImagePixels</a> • <a href="#QuantizationError">QuantizationError</a> • <a href="#RandomChannelThresholdImage">RandomChannelThresholdImage</a> • <a href="#ReacquireMemory">ReacquireMemory</a> • <a href="#ResetImageAttributeIterator">ResetImageAttributeIterator</a> • <a href="#SetCacheViewPixels">SetCacheViewPixels</a> • <a href="#SetExceptionInfo">SetExceptionInfo</a> • <a href="#SetImage">SetImage</a> • <a href="#SetImageAttribute">SetImageAttribute</a> • <a href="#SetImageList">SetImageList</a> • <a href="#SetImagePixels">SetImagePixels</a> • <a href="#SetMagickRegistry">SetMagickRegistry</a> • <a href="#SetMonitorHandler">SetMonitorHandler</a> • <a href="#ShiftImageList">ShiftImageList</a> • <a href="#SpliceImageList">SpliceImageList</a> • <a href="#Strip">Strip</a> • <a href="#SyncCacheView">SyncCacheView</a> • <a href="#SyncCacheViewPixels">SyncCacheViewPixels</a> • <a href="#SyncImagePixels">SyncImagePixels</a> • <a href="#TemporaryFilename">TemporaryFilename</a> • <a href="#ThresholdImage">ThresholdImage</a> • <a href="#ThresholdImageChannel">ThresholdImageChannel</a> • <a href="#TransformHSL">TransformHSL</a> • <a href="#TranslateText">TranslateText</a> • <a href="#TransparentImage">TransparentImage</a> • <a href="#UnshiftImageList">UnshiftImageList</a>]</p>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireCacheViewIndexes">AcquireCacheViewIndexes</a></h2>
<div class="doc-section">
<p>AcquireCacheViewIndexes() returns the indexes associated with the specified view.</p></ol>
<p>The format of the AcquireCacheViewIndexes method is:</p>
<pre class="code">
const IndexPacket *AcquireCacheViewIndexes(const CacheView *cache_view)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireCacheViewPixels">AcquireCacheViewPixels</a></h2>
<div class="doc-section">
<p>AcquireCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p></ol>
<p>The format of the AcquireCacheViewPixels method is:</p>
<pre class="code">
const PixelPacket *AcquireCacheViewPixels(const CacheView *cache_view,
const long x,const long y,const unsigned long columns,
const unsigned long rows,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireImagePixels">AcquireImagePixels</a></h2>
<div class="doc-section">
<p>AcquireImagePixels() returns an immutable pixel region. If the region is successfully accessed, a pointer to it is returned, otherwise NULL is returned. The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p></ol>
<p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to access the black color component or to obtain the colormap indexes (of type IndexPacket) corresponding to the region.</p></ol>
<p>If you plan to modify the pixels, use GetAuthenticPixels() instead.</p></ol>
<p>Note, the AcquireImagePixels() and GetAuthenticPixels() methods are not thread-safe. In a threaded environment, use GetCacheViewVirtualPixels() or GetCacheViewAuthenticPixels() instead.</p></ol>
<p>The format of the AcquireImagePixels() method is:</p>
<pre class="code">
const PixelPacket *AcquireImagePixels(const Image *image,const long x,
const long y,const unsigned long columns,const unsigned long rows,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireIndexes">AcquireIndexes</a></h2>
<div class="doc-section">
<p>AcquireIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.</p></ol>
<p>The format of the AcquireIndexes() method is:</p>
<pre class="code">
const IndexPacket *AcquireIndexes(const Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>indexes</h5>
<ol><p>AcquireIndexes() returns the indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireMemory">AcquireMemory</a></h2>
<div class="doc-section">
<p>AcquireMemory() returns a pointer to a block of memory at least size bytes suitably aligned for any use.</p></ol>
<p>The format of the AcquireMemory method is:</p>
<pre class="code">
void *AcquireMemory(const size_t size)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>size</h5>
<ol><p>the size of the memory in bytes to allocate.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireOneCacheViewPixel">AcquireOneCacheViewPixel</a></h2>
<div class="doc-section">
<p>AcquireOneCacheViewPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.</p></ol>
<p>The format of the AcquireOneCacheViewPixel method is:</p>
<pre class="code">
MagickBooleanType AcquireOneCacheViewPixel(const CacheView *cache_view,
const long x,const long y,PixelPacket *pixel,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the offset of the pixel.</p></ol>
<h5>pixel</h5>
<ol><p>return a pixel at the specified (x,y) location.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireOneCacheViewVirtualPixel">AcquireOneCacheViewVirtualPixel</a></h2>
<div class="doc-section">
<p>AcquireOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.</p></ol>
<p>The format of the AcquireOneCacheViewPixel method is:</p>
<pre class="code">
MagickBooleanType AcquireOneCacheViewVirtualPixel(
const CacheView *cache_view,
const VirtualPixelMethod virtual_pixel_method,const long x,
const long y,PixelPacket *pixel,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>virtual_pixel_method</h5>
<ol><p>the virtual pixel method.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the offset of the pixel.</p></ol>
<h5>pixel</h5>
<ol><p>return a pixel at the specified (x,y) location.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireOneMagickPixel">AcquireOneMagickPixel</a></h2>
<div class="doc-section">
<p>AcquireOneMagickPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p></ol>
<p>The format of the AcquireOneMagickPixel() method is:</p>
<pre class="code">
MagickPixelPacket AcquireOneMagickPixel(const Image image,const long x,
const long y,ExceptionInfo exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the location of the pixel to return.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireOnePixel">AcquireOnePixel</a></h2>
<div class="doc-section">
<p>AcquireOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p></ol>
<p>The format of the AcquireOnePixel() method is:</p>
<pre class="code">
PixelPacket AcquireOnePixel(const Image image,const long x,
const long y,ExceptionInfo exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the location of the pixel to return.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquireOneVirtualPixel">AcquireOneVirtualPixel</a></h2>
<div class="doc-section">
<p>AcquireOneVirtualPixel() returns a single pixel at the specified (x,y) location as defined by specified pixel method. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p></ol>
<p>The format of the AcquireOneVirtualPixel() method is:</p>
<pre class="code">
PixelPacket AcquireOneVirtualPixel(const Image image,
const VirtualPixelMethod virtual_pixel_method,const long x,
const long y,ExceptionInfo exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>virtual_pixel_method</h5>
<ol><p>the virtual pixel method.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the location of the pixel to return.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AcquirePixels">AcquirePixels</a></h2>
<div class="doc-section">
<p>AcquirePixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p></ol>
<p>The format of the AcquirePixels() method is:</p>
<pre class="code">
const PixelPacket *AcquirePixels(const Image image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AffinityImage">AffinityImage</a></h2>
<div class="doc-section">
<p>AffinityImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
<p>The format of the AffinityImage method is:</p>
<pre class="code">
MagickBooleanType AffinityImage(const QuantizeInfo *quantize_info,
Image *image,const Image *affinity_image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>quantize_info</h5>
<ol><p>Specifies a pointer to an QuantizeInfo structure.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>affinity_image</h5>
<ol><p>the reference image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AffinityImages">AffinityImages</a></h2>
<div class="doc-section">
<p>AffinityImages() replaces the colors of a sequence of images with the closest color from a reference image.</p></ol>
<p>The format of the AffinityImage method is:</p>
<pre class="code">
MagickBooleanType AffinityImages(const QuantizeInfo *quantize_info,
Image *images,Image *affinity_image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>quantize_info</h5>
<ol><p>Specifies a pointer to an QuantizeInfo structure.</p></ol>
<h5>images</h5>
<ol><p>the image sequence.</p></ol>
<h5>affinity_image</h5>
<ol><p>the reference image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AllocateImage">AllocateImage</a></h2>
<div class="doc-section">
<p>AllocateImage() returns a pointer to an image structure initialized to default values.</p></ol>
<p>The format of the AllocateImage method is:</p>
<pre class="code">
Image *AllocateImage(const ImageInfo *image_info)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image_info</h5>
<ol><p>Many of the image default values are set from this structure. For example, filename, compression, depth, background color, and others.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AllocateImageColormap">AllocateImageColormap</a></h2>
<div class="doc-section">
<p>AllocateImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AllocateImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.</p></ol>
<p>The format of the AllocateImageColormap method is:</p>
<pre class="code">
MagickBooleanType AllocateImageColormap(Image *image,
const unsigned long colors)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>colors</h5>
<ol><p>the number of colors in the image colormap.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AllocateNextImage">AllocateNextImage</a></h2>
<div class="doc-section">
<p>AllocateNextImage() initializes the next image in a sequence to default values. The next member of image points to the newly allocated image. If there is a memory shortage, next is assigned NULL.</p></ol>
<p>The format of the AllocateNextImage method is:</p>
<pre class="code">
void AllocateNextImage(const ImageInfo *image_info,Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image_info</h5>
<ol><p>Many of the image default values are set from this structure. For example, filename, compression, depth, background color, and others.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AllocateString">AllocateString</a></h2>
<div class="doc-section">
<p>AllocateString() allocates memory for a string and copies the source string to that memory location (and returns it).</p></ol>
<p>The format of the AllocateString method is:</p>
<pre class="code">
char *AllocateString(const char *source)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>source</h5>
<ol><p>A character string.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="AverageImages">AverageImages</a></h2>
<div class="doc-section">
<p>AverageImages() takes a set of images and averages them together. Each image in the set must have the same width and height. AverageImages() returns a single image with each corresponding pixel component of each image averaged. On failure, a NULL image is returned and exception describes the reason for the failure.</p></ol>
<p>The format of the AverageImages method is:</p>
<pre class="code">
Image *AverageImages(Image *images,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image sequence.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ChannelThresholdImage">ChannelThresholdImage</a></h2>
<div class="doc-section">
<p>ChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.</p></ol>
<p>The format of the ChannelThresholdImage method is:</p>
<pre class="code">
unsigned int ChannelThresholdImage(Image *image,const char *level)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>level</h5>
<ol><p>define the threshold values.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ClipPathImage">ClipPathImage</a></h2>
<div class="doc-section">
<p>ClipPathImage() sets the image clip mask based any clipping path information if it exists.</p></ol>
<p>The format of the ClipImage method is:</p>
<pre class="code">
MagickBooleanType ClipPathImage(Image *image,const char *pathname,
const MagickBooleanType inside)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>pathname</h5>
<ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
<h5>inside</h5>
<ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="CloneImageAttributes">CloneImageAttributes</a></h2>
<div class="doc-section">
<p>CloneImageAttributes() clones one or more image attributes.</p></ol>
<p>The format of the CloneImageAttributes method is:</p>
<pre class="code">
MagickBooleanType CloneImageAttributes(Image *image,
const Image *clone_image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>clone_image</h5>
<ol><p>the clone image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="CloneMemory">CloneMemory</a></h2>
<div class="doc-section">
<p>CloneMemory() copies size bytes from memory area source to the destination. Copying between objects that overlap will take place correctly. It returns destination.</p></ol>
<p>The format of the CloneMemory method is:</p>
<pre class="code">
void *CloneMemory(void *destination,const void *source,
const size_t size)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>destination</h5>
<ol><p>the destination.</p></ol>
<h5>source</h5>
<ol><p>the source.</p></ol>
<h5>size</h5>
<ol><p>the size of the memory in bytes to allocate.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="CloseCacheView">CloseCacheView</a></h2>
<div class="doc-section">
<p>CloseCacheView() closes the specified view returned by a previous call to OpenCacheView().</p></ol>
<p>The format of the CloseCacheView method is:</p>
<pre class="code">
CacheView *CloseCacheView(CacheView *view_info)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>view_info</h5>
<ol><p>the address of a structure of type CacheView.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ColorFloodfill">ColorFloodfill</a></h2>
<div class="doc-section">
<p>ColorFloodfill() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
<p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
<p>The format of the ColorFloodfillImage method is:</p>
<pre class="code">
MagickBooleanType ColorFloodfillImage(Image *image,
const DrawInfo *draw_info,const PixelPacket target,
const long x_offset,const long y_offset,const PaintMethod method)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>draw_info</h5>
<ol><p>the draw info.</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>x,y</h5>
<ol><p>the starting location of the operation.</p></ol>
<h5>method</h5>
<ol><p>Choose either FloodfillMethod or FillToBorderMethod.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DeleteImageAttribute">DeleteImageAttribute</a></h2>
<div class="doc-section">
<p>DeleteImageAttribute() deletes an attribute from the image.</p></ol>
<p>The format of the DeleteImageAttribute method is:</p>
<pre class="code">
MagickBooleanType DeleteImageAttribute(Image *image,const char *key)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image info.</p></ol>
<h5>key</h5>
<ol><p>the image key.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DeleteImageList">DeleteImageList</a></h2>
<div class="doc-section">
<p>DeleteImageList() deletes an image at the specified position in the list.</p></ol>
<p>The format of the DeleteImageList method is:</p>
<pre class="code">
unsigned int DeleteImageList(Image *images,const long offset)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>offset</h5>
<ol><p>the position within the list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DeleteMagickRegistry">DeleteMagickRegistry</a></h2>
<div class="doc-section">
<p>DeleteMagickRegistry() deletes an entry in the registry as defined by the id. It returns MagickTrue if the entry is deleted otherwise MagickFalse if no entry is found in the registry that matches the id.</p></ol>
<p>The format of the DeleteMagickRegistry method is:</p>
<pre class="code">
MagickBooleanType DeleteMagickRegistry(const long id)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>id</h5>
<ol><p>the registry id.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DescribeImage">DescribeImage</a></h2>
<div class="doc-section">
<p>DescribeImage() describes an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
<p>The format of the DescribeImage method is:</p>
<pre class="code">
MagickBooleanType DescribeImage(Image *image,FILE *file,
const MagickBooleanType verbose)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>file</h5>
<ol><p>the file, typically stdout.</p></ol>
<h5>verbose</h5>
<ol><p>A value other than zero prints more detailed information about the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DestroyImageAttributes">DestroyImageAttributes</a></h2>
<div class="doc-section">
<p>DestroyImageAttributes() deallocates memory associated with the image attribute list.</p></ol>
<p>The format of the DestroyImageAttributes method is:</p>
<pre class="code">
DestroyImageAttributes(Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DestroyImages">DestroyImages</a></h2>
<div class="doc-section">
<p>DestroyImages() destroys an image list.</p></ol>
<p>The format of the DestroyImages method is:</p>
<pre class="code">
void DestroyImages(Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image sequence.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DestroyMagick">DestroyMagick</a></h2>
<div class="doc-section">
<p>DestroyMagick() destroys the ImageMagick environment.</p></ol>
<p>The format of the DestroyMagick function is:</p>
<pre class="text">
DestroyMagick(void)
</pre>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="DispatchImage">DispatchImage</a></h2>
<div class="doc-section">
<p>DispatchImage() extracts pixel data from an image and returns it to you. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The data is returned as char, short int, int, long, float, or double in the order specified by map.</p></ol>
<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
<pre class="text">
DispatchImage(image,0,0,640,1,"RGB",CharPixel,pixels,exception);
</pre>
<p>The format of the DispatchImage method is:</p>
<pre class="code">
unsigned int DispatchImage(const Image *image,const long x_offset,
const long y_offset,const unsigned long columns,
const unsigned long rows,const char *map,const StorageType type,
void *pixels,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x_offset, y_offset, columns, rows</h5>
<ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
<h5>map</h5>
<ol><p>This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha, C = cyan, Y = yellow, M = magenta, K = black, or I = intensity (for grayscale).</p></ol>
<h5>type</h5>
<ol><p>Define the data type of the pixels. Float and double types are normalized to [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel.</p></ol>
<h5>pixels</h5>
<ol><p>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ExtractSubimageFromImageImage">ExtractSubimageFromImageImage</a></h2>
<div class="doc-section">
<p>ExtractSubimageFromImageImage() extracts a region of the image that most closely resembles the reference.</p></ol>
<p>The format of the ExtractSubimageFromImageImage method is:</p>
<pre class="code">
Image *ExtractSubimageFromImage(const Image *image,const Image *reference,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>reference</h5>
<ol><p>find an area of the image that closely resembles this image.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="FlattenImages">FlattenImages</a></h2>
<div class="doc-section">
<p>FlattenImages() Obsolete Function: Use MergeImageLayers() instead.</p></ol>
<p>The format of the FlattenImage method is:</p>
<pre class="code">
Image *FlattenImage(Image *image,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image sequence.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="FormatImageAttribute">FormatImageAttribute</a></h2>
<div class="doc-section">
<p>FormatImageAttribute() permits formatted key/value pairs to be saved as an image attribute.</p></ol>
<p>The format of the FormatImageAttribute method is:</p>
<pre class="code">
MagickBooleanType FormatImageAttribute(Image *image,const char *key,
const char *format,...)
</pre>
<p>A description of each parameter follows.</p></ol>
<h5> image</h5>
<ol><p>The image.</p></ol>
<h5> key</h5>
<ol><p>The attribute key.</p></ol>
<h5> format</h5>
<ol><p>A string describing the format to use to write the remaining arguments.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="FormatString">FormatString</a></h2>
<div class="doc-section">
<p>FormatString() prints formatted output of a variable argument list.</p></ol>
<p>The format of the FormatString method is:</p>
<pre class="code">
void FormatString(char *string,const char *format,...)
</pre>
<p>A description of each parameter follows.</p></ol>
<h5> string</h5>
<ol><p>Method FormatString returns the formatted string in this character buffer.</p></ol>
<h5> format</h5>
<ol><p>A string describing the format to use to write the remaining arguments.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetConfigureBlob">GetConfigureBlob</a></h2>
<div class="doc-section">
<p>GetConfigureBlob() returns the specified configure file as a blob.</p></ol>
<p>The format of the GetConfigureBlob method is:</p>
<pre class="code">
void *GetConfigureBlob(const char *filename,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>filename</h5>
<ol><p>the configure file name.</p></ol>
<h5>path</h5>
<ol><p>return the full path information of the configure file.</p></ol>
<h5>length</h5>
<ol><p>This pointer to a size_t integer sets the initial length of the blob. On return, it reflects the actual length of the blob.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetCacheView">GetCacheView</a></h2>
<div class="doc-section">
<p>GetCacheView() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p></ol>
<p>The format of the GetCacheView method is:</p>
<pre class="code">
PixelPacket *GetCacheView(CacheView *cache_view,const long x,
const long y,const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the address of a structure of type CacheView.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetCacheViewIndexes">GetCacheViewIndexes</a></h2>
<div class="doc-section">
<p>GetCacheViewIndexes() returns the indexes associated with the specified view.</p></ol>
<p>The format of the GetCacheViewIndexes method is:</p>
<pre class="code">
IndexPacket *GetCacheViewIndexes(CacheView *cache_view)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetCacheViewPixels">GetCacheViewPixels</a></h2>
<div class="doc-section">
<p>GetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p></ol>
<p>The format of the GetCacheViewPixels method is:</p>
<pre class="code">
PixelPacket *GetCacheViewPixels(CacheView *cache_view,const long x,
const long y,const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageAttribute">GetImageAttribute</a></h2>
<div class="doc-section">
<p>GetImageAttribute() searches the list of image attributes and returns a pointer to the attribute if it exists otherwise NULL.</p></ol>
<p>The format of the GetImageAttribute method is:</p>
<pre class="code">
const ImageAttribute *GetImageAttribute(const Image *image,
const char *key)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>key</h5>
<ol><p>These character strings are the name of an image attribute to return.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageClippingPathAttribute">GetImageClippingPathAttribute</a></h2>
<div class="doc-section">
<p>GetImageClippingPathAttribute() searches the list of image attributes and returns a pointer to a clipping path if it exists otherwise NULL.</p></ol>
<p>The format of the GetImageClippingPathAttribute method is:</p>
<pre class="code">
const ImageAttribute *GetImageClippingPathAttribute(Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>attribute</h5>
<ol><p>Method GetImageClippingPathAttribute returns the clipping path if it exists otherwise NULL.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageFromMagickRegistry">GetImageFromMagickRegistry</a></h2>
<div class="doc-section">
<p>GetImageFromMagickRegistry() gets an image from the registry as defined by its name. If the image is not found, a NULL image is returned.</p></ol>
<p>The format of the GetImageFromMagickRegistry method is:</p>
<pre class="code">
Image *GetImageFromMagickRegistry(const char *name,long *id,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>name</h5>
<ol><p>the name of the image to retrieve from the registry.</p></ol>
<h5>id</h5>
<ol><p>the registry id.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetMagickRegistry">GetMagickRegistry</a></h2>
<div class="doc-section">
<p>GetMagickRegistry() gets a blob from the registry as defined by the id. If the blob that matches the id is not found, NULL is returned.</p></ol>
<p>The format of the GetMagickRegistry method is:</p>
<pre class="code">
const void *GetMagickRegistry(const long id,RegistryType *type,
size_t *length,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>id</h5>
<ol><p>the registry id.</p></ol>
<h5>type</h5>
<ol><p>the registry type.</p></ol>
<h5>length</h5>
<ol><p>the blob length in number of bytes.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageGeometry">GetImageGeometry</a></h2>
<div class="doc-section">
<p>GetImageGeometry() returns a region as defined by the geometry string with respect to the image and its gravity.</p></ol>
<p>The format of the GetImageGeometry method is:</p>
<pre class="code">
int GetImageGeometry(Image *image,const char *geometry,
const unsigned int size_to_fit,RectangeInfo *region_info)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>flags</h5>
<ol><p>Method GetImageGeometry returns a bitmask that indicates which of the four values were located in the geometry string.</p></ol>
<h5>geometry</h5>
<ol><p>The geometry (e.g. 100x100+10+10).</p></ol>
<h5>size_to_fit</h5>
<ol><p>A value other than 0 means to scale the region so it fits within the specified width and height.</p></ol>
<h5>region_info</h5>
<ol><p>the region as defined by the geometry string with respect to the image and its gravity.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageList">GetImageList</a></h2>
<div class="doc-section">
<p>GetImageList() returns an image at the specified position in the list.</p></ol>
<p>The format of the GetImageList method is:</p>
<pre class="code">
Image *GetImageList(const Image *images,const long offset,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>offset</h5>
<ol><p>the position within the list.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageListIndex">GetImageListIndex</a></h2>
<div class="doc-section">
<p>GetImageListIndex() returns the position in the list of the specified image.</p></ol>
<p>The format of the GetImageListIndex method is:</p>
<pre class="code">
long GetImageListIndex(const Image *images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImageListSize">GetImageListSize</a></h2>
<div class="doc-section">
<p>GetImageListSize() returns the number of images in the list.</p></ol>
<p>The format of the GetImageListSize method is:</p>
<pre class="code">
unsigned long GetImageListSize(const Image *images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetImagePixels">GetImagePixels</a></h2>
<div class="doc-section">
<p>GetImagePixels() obtains a pixel region for read/write access. If the region is successfully accessed, a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned.</p></ol>
<p>The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p></ol>
<p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or if the storage class is PseduoClass, call GetAuthenticIndexQueue() after invoking GetImagePixels() to obtain the black color component or colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p></ol>
<p>The format of the GetImagePixels() method is:</p>
<pre class="code">
PixelPacket *GetImagePixels(Image *image,const long x,const long y,
const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetIndexes">GetIndexes</a></h2>
<div class="doc-section">
<p>GetIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.</p></ol>
<p>The format of the GetIndexes() method is:</p>
<pre class="code">
IndexPacket *GetIndexes(const Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>indexes</h5>
<ol><p>GetIndexes() returns the indexes associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetNextImage">GetNextImage</a></h2>
<div class="doc-section">
<p>GetNextImage() returns the next image in a list.</p></ol>
<p>The format of the GetNextImage method is:</p>
<pre class="code">
Image *GetNextImage(const Image *images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetNextImageAttribute">GetNextImageAttribute</a></h2>
<div class="doc-section">
<p>GetNextImageAttribute() gets the next image attribute.</p></ol>
<p>The format of the GetNextImageAttribute method is:</p>
<pre class="code">
const ImageAttribute *GetNextImageAttribute(const Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetNumberScenes">GetNumberScenes</a></h2>
<div class="doc-section">
<p>GetNumberScenes() returns the number of images in the list.</p></ol>
<p>The format of the GetNumberScenes method is:</p>
<pre class="code">
unsigned int GetNumberScenes(const Image *images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetOnePixel">GetOnePixel</a></h2>
<div class="doc-section">
<p>GetOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.</p></ol>
<p>The format of the GetOnePixel() method is:</p>
<pre class="code">
PixelPacket GetOnePixel(const Image image,const long x,const long y)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y</h5>
<ol><p>These values define the location of the pixel to return.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetPixels">GetPixels</a></h2>
<div class="doc-section">
<p>GetPixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p></ol>
<p>The format of the GetPixels() method is:</p>
<pre class="code">
PixelPacket *GetPixels(const Image image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>pixels</h5>
<ol><p>GetPixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="GetPreviousImage">GetPreviousImage</a></h2>
<div class="doc-section">
<p>GetPreviousImage() returns the previous image in a list.</p></ol>
<p>The format of the GetPreviousImage method is:</p>
<pre class="code">
Image *GetPreviousImage(const Image *images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="HSLTransform">HSLTransform</a></h2>
<div class="doc-section">
<p>HSLTransform() converts a (hue, saturation, lightness) to a (red, green, blue) triple.</p></ol>
<p>The format of the HSLTransformImage method is:</p>
<pre class="code">
void HSLTransform(const double hue,const double saturation,
const double lightness,Quantum *red,Quantum *green,Quantum *blue)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>hue, saturation, lightness</h5>
<ol><p>A double value representing a component of the HSL color space.</p></ol>
<h5>red, green, blue</h5>
<ol><p>A pointer to a pixel component of type Quantum.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="IdentityAffine">IdentityAffine</a></h2>
<div class="doc-section">
<p>IdentityAffine() initializes the affine transform to the identity matrix.</p></ol>
<p>The format of the IdentityAffine method is:</p>
<pre class="code">
IdentityAffine(AffineMatrix *affine)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>affine</h5>
<ol><p>A pointer the affine transform of type AffineMatrix.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="InitializeMagick">InitializeMagick</a></h2>
<div class="doc-section">
<p>InitializeMagick() initializes the ImageMagick environment.</p></ol>
<p>The format of the InitializeMagick function is:</p>
<pre class="text">
InitializeMagick(const char *path)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>path</h5>
<ol><p>the execution path of the current ImageMagick client.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="InterpolatePixelColor">InterpolatePixelColor</a></h2>
<div class="doc-section">
<p>InterpolatePixelColor() applies bi-linear or tri-linear interpolation between a pixel and it's neighbors.</p></ol>
<p>The format of the InterpolatePixelColor method is:</p>
<pre class="code">
MagickPixelPacket InterpolatePixelColor(const Image *image,
CacheView *view_info,InterpolatePixelMethod method,const double x,
const double y,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>image_view</h5>
<ol><p>the image cache view.</p></ol>
<h5>type</h5>
<ol><p>the type of pixel color interpolation.</p></ol>
<h5>x,y</h5>
<ol><p>A double representing the current (x,y) position of the pixel.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="InterpretImageAttributes">InterpretImageAttributes</a></h2>
<div class="doc-section">
<p>InterpretImageAttributes() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.</p></ol>
<p>The format of the InterpretImageAttributes method is:</p>
<pre class="code">
char *InterpretImageAttributes(const ImageInfo *image_info,Image *image,
const char *embed_text)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image_info</h5>
<ol><p>the image info.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>embed_text</h5>
<ol><p>the address of a character string containing the embedded formatting characters.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="LevelImageColor">LevelImageColor</a></h2>
<div class="doc-section">
<p>LevelImageColor() will map the given color to "black" and "white" values, limearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels seperatally.</p></ol>
<p>If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally. This effectivally maps a greyscale gradient into the given color gradient.</p></ol>
<p>The format of the LevelImageColors method is:</p>
<pre class="code">
MagickBooleanType LevelImageColors(Image *image,const ChannelType channel,
const MagickPixelPacket *black_color,const MagickPixelPacket *white_color,
const MagickBooleanType invert)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>channel</h5>
<ol><p>the channel.</p></ol>
<h5>black_color</h5>
<ol><p>The color to map black to/from</p></ol>
<h5>white_point</h5>
<ol><p>The color to map white to/from</p></ol>
<h5>invert</h5>
<ol><p>if true map the colors (levelize), rather than from (level)</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="LiberateMemory">LiberateMemory</a></h2>
<div class="doc-section">
<p>LiberateMemory() frees memory that has already been allocated, and NULL's the pointer to it.</p></ol>
<p>The format of the LiberateMemory method is:</p>
<pre class="code">
void LiberateMemory(void **memory)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>memory</h5>
<ol><p>A pointer to a block of memory to free for reuse.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="LiberateSemaphoreInfo">LiberateSemaphoreInfo</a></h2>
<div class="doc-section">
<p>LiberateSemaphoreInfo() relinquishes a semaphore.</p></ol>
<p>The format of the LiberateSemaphoreInfo method is:</p>
<pre class="code">
LiberateSemaphoreInfo(void **semaphore_info)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>semaphore_info</h5>
<ol><p>Specifies a pointer to an SemaphoreInfo structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MagickIncarnate">MagickIncarnate</a></h2>
<div class="doc-section">
<p>MagickIncarnate() initializes the ImageMagick environment.</p></ol>
<p>The format of the MagickIncarnate function is:</p>
<pre class="text">
MagickIncarnate(const char *path)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>path</h5>
<ol><p>the execution path of the current ImageMagick client.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MagickMonitor">MagickMonitor</a></h2>
<div class="doc-section">
<p>MagickMonitor() calls the monitor handler method with a text string that describes the task and a measure of completion. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered, e.g. if there was a user interrupt.</p></ol>
<p>The format of the MagickMonitor method is:</p>
<pre class="code">
MagickBooleanType MagickMonitor(const char *text,
const MagickOffsetType offset,const MagickSizeType span,
void *client_data)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>offset</h5>
<ol><p>the position relative to the span parameter which represents how much progress has been made toward completing a task.</p></ol>
<h5>span</h5>
<ol><p>the span relative to completing a task.</p></ol>
<h5>client_data</h5>
<ol><p>the client data.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MapImage">MapImage</a></h2>
<div class="doc-section">
<p>MapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
<p>The format of the MapImage method is:</p>
<pre class="code">
MagickBooleanType MapImage(Image *image,const Image *map_image,
const MagickBooleanType dither)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>Specifies a pointer to an Image structure.</p></ol>
<h5>map_image</h5>
<ol><p>the image. Reduce image to a set of colors represented by this image.</p></ol>
<h5>dither</h5>
<ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MapImages">MapImages</a></h2>
<div class="doc-section">
<p>MapImages() replaces the colors of a sequence of images with the closest color from a reference image.</p></ol>
<p>The format of the MapImage method is:</p>
<pre class="code">
MagickBooleanType MapImages(Image *images,Image *map_image,
const MagickBooleanType dither)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>Specifies a pointer to a set of Image structures.</p></ol>
<h5>map_image</h5>
<ol><p>the image. Reduce image to a set of colors represented by this image.</p></ol>
<h5>dither</h5>
<ol><p>Set this integer value to something other than zero to dither the quantized image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MatteFloodfill">MatteFloodfill</a></h2>
<div class="doc-section">
<p>MatteFloodfill() changes the transparency value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the transparency value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
<p>By default target must match a particular pixel transparency exactly. However, in many cases two transparency values may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two transparency values as the same. For example, set fuzz to 10 and the opacity values of 100 and 102 respectively are now interpreted as the same value for the purposes of the floodfill.</p></ol>
<p>The format of the MatteFloodfillImage method is:</p>
<pre class="code">
MagickBooleanType MatteFloodfillImage(Image *image,
const PixelPacket target,const Quantum opacity,const long x_offset,
const long y_offset,const PaintMethod method)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>opacity</h5>
<ol><p>the level of transparency: 0 is fully opaque and QuantumRange is fully transparent.</p></ol>
<h5>x,y</h5>
<ol><p>the starting location of the operation.</p></ol>
<h5>method</h5>
<ol><p>Choose either FloodfillMethod or FillToBorderMethod.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MaximumImages">MaximumImages</a></h2>
<div class="doc-section">
<p>MaximumImages() returns the maximum intensity of an image sequence.</p></ol>
<p>The format of the MaxImages method is:</p>
<pre class="code">
Image *MaximumImages(Image *images,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image sequence.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MinimumImages">MinimumImages</a></h2>
<div class="doc-section">
<p>MinimumImages() returns the minimum intensity of an image sequence.</p></ol>
<p>The format of the MinimumImages method is:</p>
<pre class="code">
Image *MinimumImages(Image *images,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image sequence.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="MosaicImages">MosaicImages</a></h2>
<div class="doc-section">
<p>MosaicImages() Obsolete Function: Use MergeImageLayers() instead.</p></ol>
<p>The format of the MosaicImage method is:</p>
<pre class="code">
Image *MosaicImages(const Image *image,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image list to be composited together</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="OpaqueImage">OpaqueImage</a></h2>
<div class="doc-section">
<p>OpaqueImage() changes any pixel that matches color with the color defined by fill.</p></ol>
<p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.</p></ol>
<p>The format of the OpaqueImage method is:</p>
<pre class="code">
MagickBooleanType OpaqueImage(Image *image,
const PixelPacket *target,const PixelPacket fill)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>fill</h5>
<ol><p>the replacement color.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="OpenCacheView">OpenCacheView</a></h2>
<div class="doc-section">
<p>OpenCacheView() opens a view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself.</p></ol>
<p>The format of the OpenCacheView method is:</p>
<pre class="code">
CacheView *OpenCacheView(const Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PaintFloodfill">PaintFloodfill</a></h2>
<div class="doc-section">
<p>PaintFloodfill() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
<p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
<p>The format of the PaintFloodfillImage method is:</p>
<pre class="code">
MagickBooleanType PaintFloodfillImage(Image *image,
const ChannelType channel,const MagickPixelPacket target,const long x,
const long y,const DrawInfo *draw_info,const PaintMethod method)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>channel</h5>
<ol><p>the channel(s).</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>x,y</h5>
<ol><p>the starting location of the operation.</p></ol>
<h5>draw_info</h5>
<ol><p>the draw info.</p></ol>
<h5>method</h5>
<ol><p>Choose either FloodfillMethod or FillToBorderMethod.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PaintOpaqueImage">PaintOpaqueImage</a></h2>
<div class="doc-section">
<p>PaintOpaqueImage() changes any pixel that matches color with the color defined by fill.</p></ol>
<p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.</p></ol>
<p>The format of the PaintOpaqueImage method is:</p>
<pre class="code">
MagickBooleanType PaintOpaqueImage(Image *image,
const PixelPacket *target,const PixelPacket *fill)
MagickBooleanType PaintOpaqueImageChannel(Image *image,
const ChannelType channel,const PixelPacket *target,
const PixelPacket *fill)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>channel</h5>
<ol><p>the channel(s).</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>fill</h5>
<ol><p>the replacement color.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PaintTransparentImage">PaintTransparentImage</a></h2>
<div class="doc-section">
<p>PaintTransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.</p></ol>
<p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.</p></ol>
<p>The format of the PaintTransparentImage method is:</p>
<pre class="code">
MagickBooleanType PaintTransparentImage(Image *image,
const MagickPixelPacket *target,const Quantum opacity)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>opacity</h5>
<ol><p>the replacement opacity value.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ParseSizeGeometry">ParseSizeGeometry</a></h2>
<div class="doc-section">
<p>ParseSizeGeometry() returns a region as defined by the geometry string with respect to the image dimensions and aspect ratio.</p></ol>
<p>The format of the ParseSizeGeometry method is:</p>
<pre class="code">
MagickStatusType ParseSizeGeometry(const Image *image,
const char *geometry,RectangeInfo *region_info)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>geometry</h5>
<ol><p>The geometry (e.g. 100x100+10+10).</p></ol>
<h5>region_info</h5>
<ol><p>the region as defined by the geometry string.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PopImageList">PopImageList</a></h2>
<div class="doc-section">
<p>PopImageList() removes the last image in the list.</p></ol>
<p>The format of the PopImageList method is:</p>
<pre class="code">
Image *PopImageList(Image **images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PopImagePixels">PopImagePixels</a></h2>
<div class="doc-section">
<p>PopImagePixels() transfers one or more pixel components from the image pixel cache to a user supplied buffer. The pixels are returned in network byte order. MagickTrue is returned if the pixels are successfully transferred, otherwise MagickFalse.</p></ol>
<p>The format of the PopImagePixels method is:</p>
<pre class="code">
size_t PopImagePixels(Image *,const QuantumType quantum,
unsigned char *destination)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>quantum</h5>
<ol><p>Declare which pixel components to transfer (RGB, RGBA, etc).</p></ol>
<h5>destination</h5>
<ol><p>The components are transferred to this buffer.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PostscriptGeometry">PostscriptGeometry</a></h2>
<div class="doc-section">
<p>PostscriptGeometry() replaces any page mneumonic with the equivalent size in picas.</p></ol>
<p>The format of the PostscriptGeometry method is:</p>
<pre class="code">
char *PostscriptGeometry(const char *page)
</pre>
<p>A description of each parameter follows.</p></ol>
<h5> page</h5>
<ol><p>Specifies a pointer to an array of characters. The string is either a Postscript page name (e.g. A4) or a postscript page geometry (e.g. 612x792+36+36).</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PushImageList">PushImageList</a></h2>
<div class="doc-section">
<p>PushImageList() adds an image to the end of the list.</p></ol>
<p>The format of the PushImageList method is:</p>
<pre class="code">
unsigned int PushImageList(Image *images,const Image *image,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="PushImagePixels">PushImagePixels</a></h2>
<div class="doc-section">
<p>PushImagePixels() transfers one or more pixel components from a user supplied buffer into the image pixel cache of an image. The pixels are expected in network byte order. It returns MagickTrue if the pixels are successfully transferred, otherwise MagickFalse.</p></ol>
<p>The format of the PushImagePixels method is:</p>
<pre class="code">
size_t PushImagePixels(Image *image,const QuantumType quantum,
const unsigned char *source)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>quantum</h5>
<ol><p>Declare which pixel components to transfer (red, green, blue, opacity, RGB, or RGBA).</p></ol>
<h5>source</h5>
<ol><p>The pixel components are transferred from this buffer.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="QuantizationError">QuantizationError</a></h2>
<div class="doc-section">
<p>QuantizationError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:</p>
<pre class="text">
o mean_error_per_pixel: This value is the mean error for any single
pixel in the image.
</pre>
<h5>normalized_mean_square_error</h5>
<ol><p>This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.</p></ol>
<h5>normalized_maximum_square_error</h5>
<ol><p>Thsi value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.</p></ol>
<p>The format of the QuantizationError method is:</p>
<pre class="code">
unsigned int QuantizationError(Image *image)
</pre>
<p>A description of each parameter follows.</p></ol>
<h5>image</h5>
<ol><p>Specifies a pointer to an Image structure; returned from ReadImage.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="RandomChannelThresholdImage">RandomChannelThresholdImage</a></h2>
<div class="doc-section">
<p>RandomChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to a random threshold. The result is a low-contrast, two color image.</p></ol>
<p>The format of the RandomChannelThresholdImage method is:</p>
<pre class="code">
unsigned int RandomChannelThresholdImage(Image *image,
const char *channel, const char *thresholds,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>channel</h5>
<ol><p>the channel or channels to be thresholded.</p></ol>
<h5>thresholds</h5>
<ol><p>a geometry string containing LOWxHIGH thresholds. If the string contains 2x2, 3x3, or 4x4, then an ordered dither of order 2, 3, or 4 will be performed instead.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ReacquireMemory">ReacquireMemory</a></h2>
<div class="doc-section">
<p>ReacquireMemory() changes the size of the memory and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes.</p></ol>
<p>The format of the ReacquireMemory method is:</p>
<pre class="code">
void ReacquireMemory(void **memory,const size_t size)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>memory</h5>
<ol><p>A pointer to a memory allocation. On return the pointer may change but the contents of the original allocation will not.</p></ol>
<h5>size</h5>
<ol><p>the new size of the allocated memory.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ResetImageAttributeIterator">ResetImageAttributeIterator</a></h2>
<div class="doc-section">
<p>ResetImageAttributeIterator() resets the image attributes iterator. Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.</p></ol>
<p>The format of the ResetImageAttributeIterator method is:</p>
<pre class="code">
ResetImageAttributeIterator(const ImageInfo *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetCacheViewPixels">SetCacheViewPixels</a></h2>
<div class="doc-section">
<p>SetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p></ol>
<p>The format of the SetCacheViewPixels method is:</p>
<pre class="code">
PixelPacket *SetCacheViewPixels(CacheView *cache_view,const long x,
const long y,const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetExceptionInfo">SetExceptionInfo</a></h2>
<div class="doc-section">
<p>SetExceptionInfo() sets the exception severity.</p></ol>
<p>The format of the SetExceptionInfo method is:</p>
<pre class="code">
MagickBooleanType SetExceptionInfo(ExceptionInfo *exception,
ExceptionType severity)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>exception</h5>
<ol><p>the exception info.</p></ol>
<h5>severity</h5>
<ol><p>the exception severity.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetImage">SetImage</a></h2>
<div class="doc-section">
<p>SetImage() sets the red, green, and blue components of each pixel to the image background color and the opacity component to the specified level of transparency. The background color is defined by the background_color member of the image.</p></ol>
<p>The format of the SetImage method is:</p>
<pre class="code">
void SetImage(Image *image,const Quantum opacity)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>opacity</h5>
<ol><p>Set each pixel to this level of transparency.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetImageAttribute">SetImageAttribute</a></h2>
<div class="doc-section">
<p>SetImageAttribute() searches the list of image attributes and replaces the attribute value. If it is not found in the list, the attribute name and value is added to the list.</p></ol>
<p>The format of the SetImageAttribute method is:</p>
<pre class="code">
MagickBooleanType SetImageAttribute(Image *image,const char *key,
const char *value)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>key</h5>
<ol><p>the key.</p></ol>
<h5>value</h5>
<ol><p>the value.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetImageList">SetImageList</a></h2>
<div class="doc-section">
<p>SetImageList() inserts an image into the list at the specified position.</p></ol>
<p>The format of the SetImageList method is:</p>
<pre class="code">
unsigned int SetImageList(Image *images,const Image *image,
const long offset,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>offset</h5>
<ol><p>the position within the list.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetImagePixels">SetImagePixels</a></h2>
<div class="doc-section">
<p>SetImagePixels() queues a mutable pixel region. If the region is successfully intialized a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned. The returned pointer may point to a temporary working buffer for the pixels or it may point to the final location of the pixels in memory.</p></ol>
<p>Write-only access means that any existing pixel values corresponding to the region are ignored. This useful while the initial image is being created from scratch, or if the existing pixel values are to be completely replaced without need to refer to their pre-existing values. The application is free to read and write the pixel buffer returned by SetImagePixels() any way it pleases. SetImagePixels() does not initialize the pixel array values. Initializing pixel array values is the application's responsibility.</p></ol>
<p>Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p></ol>
<p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to obtain the black color component or the colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p></ol>
<p>The format of the SetImagePixels() method is:</p>
<pre class="code">
PixelPacket *SetImagePixels(Image *image,const long x,const long y,
const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>pixels</h5>
<ol><p>SetImagePixels returns a pointer to the pixels if they are transferred, otherwise a NULL is returned.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>x,y,columns,rows</h5>
<ol><p>These values define the perimeter of a region of pixels.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetMagickRegistry">SetMagickRegistry</a></h2>
<div class="doc-section">
<p>SetMagickRegistry() sets a blob into the registry and returns a unique ID. If an error occurs, -1 is returned.</p></ol>
<p>The format of the SetMagickRegistry method is:</p>
<pre class="code">
long SetMagickRegistry(const RegistryType type,const void *blob,
const size_t length,ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>type</h5>
<ol><p>the registry type.</p></ol>
<h5>blob</h5>
<ol><p>the address of a Binary Large OBject.</p></ol>
<h5>length</h5>
<ol><p>For a registry type of ImageRegistryType use sizeof(Image) otherise the blob length in number of bytes.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SetMonitorHandler">SetMonitorHandler</a></h2>
<div class="doc-section">
<p>SetMonitorHandler() sets the monitor handler to the specified method and returns the previous monitor handler.</p></ol>
<p>The format of the SetMonitorHandler method is:</p>
<pre class="code">
MonitorHandler SetMonitorHandler(MonitorHandler handler)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>handler</h5>
<ol><p>Specifies a pointer to a method to handle monitors.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ShiftImageList">ShiftImageList</a></h2>
<div class="doc-section">
<p>ShiftImageList() removes an image from the beginning of the list.</p></ol>
<p>The format of the ShiftImageList method is:</p>
<pre class="code">
Image *ShiftImageList(Image **images)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SpliceImageList">SpliceImageList</a></h2>
<div class="doc-section">
<p>SpliceImageList() removes the images designated by offset and length from the list and replaces them with the specified list.</p></ol>
<p>The format of the SpliceImageList method is:</p>
<pre class="code">
Image *SpliceImageList(Image *images,const long offset,
const unsigned long length,const Image *splices,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>offset</h5>
<ol><p>the position within the list.</p></ol>
<h5>length</h5>
<ol><p>the length of the image list to remove.</p></ol>
<h5>splice</h5>
<ol><p>Replace the removed image list with this list.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="Strip">Strip</a></h2>
<div class="doc-section">
<p>Strip() strips any whitespace or quotes from the beginning and end of a string of characters.</p></ol>
<p>The format of the Strip method is:</p>
<pre class="code">
void Strip(char *message)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>message</h5>
<ol><p>Specifies an array of characters.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SyncCacheView">SyncCacheView</a></h2>
<div class="doc-section">
<p>SyncCacheView() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is synced, otherwise MagickFalse.</p></ol>
<p>The format of the SyncCacheView method is:</p>
<pre class="code">
MagickBooleanType SyncCacheView(CacheView *cache_view)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SyncCacheViewPixels">SyncCacheViewPixels</a></h2>
<div class="doc-section">
<p>SyncCacheViewPixels() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.</p></ol>
<p>The format of the SyncCacheViewPixels method is:</p>
<pre class="code">
MagickBooleanType SyncCacheViewPixels(CacheView *cache_view)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>cache_view</h5>
<ol><p>the cache view.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="SyncImagePixels">SyncImagePixels</a></h2>
<div class="doc-section">
<p>SyncImagePixels() saves the image pixels to the in-memory or disk cache. The method returns MagickTrue if the pixel region is synced, otherwise MagickFalse.</p></ol>
<p>The format of the SyncImagePixels() method is:</p>
<pre class="code">
MagickBooleanType SyncImagePixels(Image *image)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="TemporaryFilename">TemporaryFilename</a></h2>
<div class="doc-section">
<p>TemporaryFilename() replaces the contents of path by a unique path name.</p></ol>
<p>The format of the TemporaryFilename method is:</p>
<pre class="code">
void TemporaryFilename(char *path)
</pre>
<p>A description of each parameter follows.</p></ol>
<h5> path</h5>
<ol><p>Specifies a pointer to an array of characters. The unique path name is returned in this array.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ThresholdImage">ThresholdImage</a></h2>
<div class="doc-section">
<p>ThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.</p></ol>
<p>The format of the ThresholdImage method is:</p>
<pre class="code">
unsigned int ThresholdImage(Image *image,const double threshold)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>threshold</h5>
<ol><p>Define the threshold value</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="ThresholdImageChannel">ThresholdImageChannel</a></h2>
<div class="doc-section">
<p>ThresholdImageChannel() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.</p></ol>
<p>The format of the ThresholdImageChannel method is:</p>
<pre class="code">
unsigned int ThresholdImageChannel(Image *image,const char *threshold)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>threshold</h5>
<ol><p>define the threshold values.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="TransformHSL">TransformHSL</a></h2>
<div class="doc-section">
<p>TransformHSL() converts a (red, green, blue) to a (hue, saturation, lightness) triple.</p></ol>
<p>The format of the TransformHSL method is:</p>
<pre class="code">
void TransformHSL(const Quantum red,const Quantum green,
const Quantum blue,double *hue,double *saturation,double *lightness)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>red, green, blue</h5>
<ol><p>A Quantum value representing the red, green, and blue component of a pixel..</p></ol>
<h5>hue, saturation, lightness</h5>
<ol><p>A pointer to a double value representing a component of the HSL color space.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="TranslateText">TranslateText</a></h2>
<div class="doc-section">
<p>TranslateText() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.</p></ol>
<p>The format of the TranslateText method is:</p>
<pre class="code">
char *TranslateText(const ImageInfo *image_info,Image *image,
const char *embed_text)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image_info</h5>
<ol><p>the image info.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>embed_text</h5>
<ol><p>the address of a character string containing the embedded formatting characters.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="TransparentImage">TransparentImage</a></h2>
<div class="doc-section">
<p>TransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.</p></ol>
<p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.</p></ol>
<p>The format of the TransparentImage method is:</p>
<pre class="code">
MagickBooleanType TransparentImage(Image *image,
const PixelPacket target,const Quantum opacity)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>target</h5>
<ol><p>the RGB value of the target color.</p></ol>
<h5>opacity</h5>
<ol><p>the replacement opacity value.</p></ol>
</div>
<h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate
_8c.html" target="source" name="UnshiftImageList">UnshiftImageList</a></h2>
<div class="doc-section">
<p>UnshiftImageList() adds the image to the beginning of the list.</p></ol>
<p>The format of the UnshiftImageList method is:</p>
<pre class="code">
unsigned int UnshiftImageList(Image *images,const Image *image,
ExceptionInfo *exception)
</pre>
<p>A description of each parameter follows:</p></ol>
<h5>images</h5>
<ol><p>the image list.</p></ol>
<h5>image</h5>
<ol><p>the image.</p></ol>
<h5>exception</h5>
<ol><p>return any errors or warnings in this structure.</p></ol>
</div>
</div>
<div id="linkbar">
<!-- <span id="linkbar-west"> </span> -->
<span id="linkbar-center">
<a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
<a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
</span>
<span id="linkbar-east"> </span>
</div>
<div class="footer">
<span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
<span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
</div>
<div style="clear: both; margin: 0; width: 100%; "></div>
</body>
</html>
|