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 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124
  
     | 
    
      <?xml version="1.0" encoding="UTF-8"?>
<!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>
  <style type="text/css"><!--
    @import url("../../www/magick.css");
  //--></style>
  <title>ImageMagick: MagickWand, C API for ImageMagick: Magick Wand Image 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="magickwc, api, for, imagemagick:, magick, wimage, methods, ImageMagick, PerlMagick, Magick++, Image, Magick" />
  <meta name="Description" content="ImageMagick (TM) is a free software suite to create, edit and compose bitmap images. It can read, convert and write images in a large variety of formats. Images can be cropped, colors can be changed, various effects can be applied, images can be rotated and combined, and text, lines, polygons, ellipses and Bézier curves can be added to images and stretched and rotated.  ImageMagick is free software: it is delivered with full source code and can be freely used, copied, modified and distributed. Its license is compatible with the GPL. It runs on all major operating systems.  Most of the functionality of ImageMagick can be used interactively from the command line; more often, however, the features are used from programs written in the programming languages Perl, C, C++, Python, PHP, Ruby or Java, for which ready-made ImageMagick interfaces (PerlMagick, Magick++, PythonMagick, MagickWand for PHP, RubyMagick, and JMagick) are available. This makes it possible to modify or create images automatically and dynamically.  ImageMagick supports many image formats (over 90 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF." />
  <meta name="Rating" content="GENERAL" />
  <meta name="Robots" content="ALL" />
  <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-2005 ImageMagick Studio LLC" />
  <meta name="Distribution" content="Global" />
  <link rel="shortcut icon" href="/../images/wand.ico"  type="image/x-icon" />
</head>
<body id="www-imagemagick-org">
  <table width="100%" id="titlebar" bgcolor="#f5f5f5" cellpadding="0" cellspacing="0" border="0" summary="ImageMagick">
    <tbody>
      <tr valign="top">
        <td align="left"><a href="../../index.html"><img id="titlebar-west" src="../../images/script.png" alt="[ImageMagick]" width="202" height="118" border="0" name="titlebar-west" /></a></td>
        <td width="35%"><br /></td>
        <td align="left"><a href="http://www.imagemagick.org/" target="39217599"><img id="titlebar-west" src="../../images/sponsor.jpg" alt="[sponsor]" border="0" vspace="28" name="titlebar-west" /></a></td>
        <td width="65%"><br /></td>
        <td bgcolor="white" align="right"><a href="../../index.html"><img src="../../images/sprite.jpg" alt="" width="114" height="118" border="0" name="titlebar-east" /></a></td>
        <td bgcolor="white" align="right"><a href="../../index.html"><img id="titlebar-east" src="../../images/logo.jpg" alt="" width="114" height="118" border="0" name="titlebar-east" /></a></td>
      </tr>
    </tbody>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
  <tbody>
    <tr valign="top" style="height: 100%;">
      <td id="menu" width="1%" height="100%">
      <p><a href="#main">Skip to page contents</a></p>
      <span>[</span>
      <a href="../../index.html">About ImageMagick</a>
      <a href="../../www/command-line-tools.html">Command-line Tools</a>
      <a href="../../www/api.html">Program Interfaces</a>
  <span>]</span><br /><span>[</span>
      <a href="../../www/install-source.html">Install from Source</a>
      <a href="../../www/binary-releases.html">Binary Releases</a>
      <a href="../../www/resources.html">Resources</a>
  <span>]</span><br /><span>[</span>
      <a href="../../www/download.html">Download</a>
  <span>]</span><br /><span>[</span>
      <a href="../../www/links.html">Links</a>
  <span>]</span><br /><br /><span>[</span>
      <a href="../../www/sponsors.html">Sponsors</a>
  <a href="http://www.georeviews.com" class="sponsor" target="sponsor">Consumer Reviews<br />and Ratings</a><!-- 20050515 -->
      <span>]</span>
      </td>
      <td id="main" valign="top">
<p class="navigation-index">[ <a href="#GetImageFromMagickWand">GetImageFromMagickWand</a> | <a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> | <a href="#MagickAddImage">MagickAddImage</a> | <a href="#MagickAddNoiseImage">MagickAddNoiseImage</a> | <a href="#MagickAffineTransformImage">MagickAffineTransformImage</a> | <a href="#MagickAnnotateImage">MagickAnnotateImage</a> | <a href="#MagickAnimateImages">MagickAnimateImages</a> | <a href="#MagickAppendImages">MagickAppendImages</a> | <a href="#MagickAverageImages">MagickAverageImages</a> | <a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a> | <a href="#MagickBlurImage">MagickBlurImage</a> | <a href="#MagickBlurImageChannel">MagickBlurImageChannel</a> | <a href="#MagickBorderImage">MagickBorderImage</a> | <a href="#MagickCharcoalImage">MagickCharcoalImage</a> | <a href="#MagickChopImage">MagickChopImage</a> | <a href="#MagickClipImage">MagickClipImage</a> | <a href="#MagickClipPathImage">MagickClipPathImage</a> | <a href="#MagickCoalesceImages">MagickCoalesceImages</a> | <a href="#MagickColorFloodfillImage">MagickColorFloodfillImage</a> | <a href="#MagickColorizeImage">MagickColorizeImage</a> | <a href="#MagickCombineImages">MagickCombineImages</a> | <a href="#MagickCommentImage">MagickCommentImage</a> | <a href="#MagickCompareImageChannels">MagickCompareImageChannels</a> | <a href="#MagickCompareImage">MagickCompareImage</a> | <a href="#MagickCompositeImage">MagickCompositeImage</a> | <a href="#MagickEvaluateImage">MagickEvaluateImage</a> | <a href="#MagickContrastImage">MagickContrastImage</a> | <a href="#MagickConvolveImage">MagickConvolveImage</a> | <a href="#MagickConvolveImageChannel">MagickConvolveImageChannel</a> | <a href="#MagickCropImage">MagickCropImage</a> | <a href="#MagickCycleColormapImage">MagickCycleColormapImage</a> | <a href="#MagickConstituteImage">MagickConstituteImage</a> | <a href="#MagickDeconstructImages">MagickDeconstructImages</a> | <a href="#MagickDespeckleImage">MagickDespeckleImage</a> | <a href="#MagickDisplayImage">MagickDisplayImage</a> | <a href="#MagickDisplayImages">MagickDisplayImages</a> | <a href="#MagickDrawImage">MagickDrawImage</a> | <a href="#MagickEdgeImage">MagickEdgeImage</a> | <a href="#MagickEmbossImage">MagickEmbossImage</a> | <a href="#MagickEnhanceImage">MagickEnhanceImage</a> | <a href="#MagickEqualizeImage">MagickEqualizeImage</a> | <a href="#MagickEvaluateImage">MagickEvaluateImage</a> | <a href="#MagickFlattenImages">MagickFlattenImages</a> | <a href="#MagickFlipImage">MagickFlipImage</a> | <a href="#MagickFlopImage">MagickFlopImage</a> | <a href="#MagickFrameImage">MagickFrameImage</a> | <a href="#MagickFxImage">MagickFxImage</a> | <a href="#MagickFxImageChannel">MagickFxImageChannel</a> | <a href="#MagickGammaImage">MagickGammaImage</a> | <a href="#MagickGammaImageChannel">MagickGammaImageChannel</a> | <a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a> | <a href="#MagickGaussianBlurImageChannel">MagickGaussianBlurImageChannel</a> | <a href="#MagickGetImage">MagickGetImage</a> | <a href="#MagickGetImageRegion">MagickGetImageRegion</a> | <a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> | <a href="#MagickGetImageBlob">MagickGetImageBlob</a> | <a href="#MagickGetImageBlob">MagickGetImageBlob</a> | <a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> | <a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a> | <a href="#MagickGetImageChannelDepth">MagickGetImageChannelDepth</a> | <a href="#MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a> | <a href="#MagickGetImageChannelExtrema">MagickGetImageChannelExtrema</a> | <a href="#MagickGetImageChannelMean">MagickGetImageChannelMean</a> | <a href="#MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a> | <a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a> | <a href="#MagickGetImageColors">MagickGetImageColors</a> | <a href="#MagickGetImageColorspace">MagickGetImageColorspace</a> | <a href="#MagickGetImageCompose">MagickGetImageCompose</a> | <a href="#MagickGetImageCompression">MagickGetImageCompression</a> | <a href="#MagickGetImageCompression">MagickGetImageCompression</a> | <a href="#MagickGetImageDelay">MagickGetImageDelay</a> | <a href="#MagickGetImageDepth">MagickGetImageDepth</a> | <a href="#MagickGetImageDistortion">MagickGetImageDistortion</a> | <a href="#MagickGetImageExtrema">MagickGetImageExtrema</a> | <a href="#MagickGetImageDispose">MagickGetImageDispose</a> | <a href="#MagickGetImageAttribute">MagickGetImageAttribute</a> | <a href="#MagickGetImageFilename">MagickGetImageFilename</a> | <a href="#MagickGetImageFormat">MagickGetImageFormat</a> | <a href="#MagickGetImageGamma">MagickGetImageGamma</a> | <a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> | <a href="#MagickGetImageHeight">MagickGetImageHeight</a> | <a href="#MagickGetImageHistogram">MagickGetImageHistogram</a> | <a href="#MagickGetImageIndex">MagickGetImageIndex</a> | <a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> | <a href="#MagickGetImageIterations">MagickGetImageIterations</a> | <a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a> | <a href="#MagickGetImagePage">MagickGetImagePage</a> | <a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a> | <a href="#MagickGetImagePixels">MagickGetImagePixels</a> | <a href="#MagickGetImageProfile">MagickGetImageProfile</a> | <a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> | <a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> | <a href="#MagickGetImageResolution">MagickGetImageResolution</a> | <a href="#MagickGetImageScene">MagickGetImageScene</a> | <a href="#MagickGetImageSignature">MagickGetImageSignature</a> | <a href="#MagickGetImageSize">MagickGetImageSize</a> | <a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> | <a href="#MagickGetImageType">MagickGetImageType</a> | <a href="#MagickGetImageUnits">MagickGetImageUnits</a> | <a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> | <a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> | <a href="#MagickGetImageWidth">MagickGetImageWidth</a> | <a href="#MagickGetNumberImages">MagickGetNumberImages</a> | <a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> | <a href="#MagickHasNextImage">MagickHasNextImage</a> | <a href="#MagickHasPreviousImage">MagickHasPreviousImage</a> | <a href="#MagickIdentifyImage">MagickIdentifyImage</a> | <a href="#MagickImplodeImage">MagickImplodeImage</a> | <a href="#MagickLabelImage">MagickLabelImage</a> | <a href="#MagickLevelImage">MagickLevelImage</a> | <a href="#MagickLevelImageChannel">MagickLevelImageChannel</a> | <a href="#MagickMagnifyImage">MagickMagnifyImage</a> | <a href="#MagickMapImage">MagickMapImage</a> | <a href="#MagickMatteFloodfillImage">MagickMatteFloodfillImage</a> | <a href="#MagickMedianFilterImage">MagickMedianFilterImage</a> | <a href="#MagickMinifyImage">MagickMinifyImage</a> | <a href="#MagickModulateImage">MagickModulateImage</a> | <a href="#MagickMontageImage">MagickMontageImage</a> | <a href="#MagickMorphImages">MagickMorphImages</a> | <a href="#MagickMosaicImages">MagickMosaicImages</a> | <a href="#MagickMotionBlurImage">MagickMotionBlurImage</a> | <a href="#MagickNegateImage">MagickNegateImage</a> | <a href="#MagickNegateImage">MagickNegateImage</a> | <a href="#MagickNewImage">MagickNewImage</a> | <a href="#MagickNextImage">MagickNextImage</a> | <a href="#MagickNormalizeImage">MagickNormalizeImage</a> | <a href="#MagickOilPaintImage">MagickOilPaintImage</a> | <a href="#MagickPaintOpaqueImage">MagickPaintOpaqueImage</a> | <a href="#MagickPaintTransparentImage">MagickPaintTransparentImage</a> | <a href="#MagickPingImage">MagickPingImage</a> | <a href="#MagickPosterizeImage">MagickPosterizeImage</a> | <a href="#MagickPreviewImages">MagickPreviewImages</a> | <a href="#MagickPreviousImage">MagickPreviousImage</a> | <a href="#MagickProfileImage">MagickProfileImage</a> | <a href="#MagickQuantizeImage">MagickQuantizeImage</a> | <a href="#MagickQuantizeImages">MagickQuantizeImages</a> | <a href="#MagickRadialBlurImage">MagickRadialBlurImage</a> | <a href="#MagickRadialBlurImageChannel">MagickRadialBlurImageChannel</a> | <a href="#MagickRaiseImage">MagickRaiseImage</a> | <a href="#MagickReadImage">MagickReadImage</a> | <a href="#MagickReadImageBlob">MagickReadImageBlob</a> | <a href="#MagickReadImageFile">MagickReadImageFile</a> | <a href="#MagickReduceNoiseImage">MagickReduceNoiseImage</a> | <a href="#MagickRemoveImage">MagickRemoveImage</a> | <a href="#MagickRemoveImageProfile">MagickRemoveImageProfile</a> | <a href="#MagickResampleImage">MagickResampleImage</a> | <a href="#MagickResizeImage">MagickResizeImage</a> | <a href="#MagickRollImage">MagickRollImage</a> | <a href="#MagickRotateImage">MagickRotateImage</a> | <a href="#MagickSampleImage">MagickSampleImage</a> | <a href="#MagickScaleImage">MagickScaleImage</a> | <a href="#MagickChannelImage">MagickChannelImage</a> | <a href="#MagickSolarizeImage">MagickSolarizeImage</a> | <a href="#MagickSetImage">MagickSetImage</a> | <a href="#MagickSetImageAttribute">MagickSetImageAttribute</a> | <a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> | <a href="#MagickSetImageBias">MagickSetImageBias</a> | <a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> | <a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a> | <a href="#MagickSetImageChannelDepth">MagickSetImageChannelDepth</a> | <a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a> | <a href="#MagickSetImageColorspace">MagickSetImageColorspace</a> | <a href="#MagickSetImageCompose">MagickSetImageCompose</a> | <a href="#MagickSetImageCompression">MagickSetImageCompression</a> | <a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> | <a href="#MagickSetImageDelay">MagickSetImageDelay</a> | <a href="#MagickSetImageDepth">MagickSetImageDepth</a> | <a href="#MagickSetImageDispose">MagickSetImageDispose</a> | <a href="#MagickSetImageExtent">MagickSetImageExtent</a> | <a href="#MagickSetImageFilename">MagickSetImageFilename</a> | <a href="#MagickSetImageFormat">MagickSetImageFormat</a> | <a href="#MagickSetImageGamma">MagickSetImageGamma</a> | <a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> | <a href="#MagickSetImageIndex">MagickSetImageIndex</a> | <a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> | <a href="#MagickSetImageIterations">MagickSetImageIterations</a> | <a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a> | <a href="#MagickSetImagePage">MagickSetImagePage</a> | <a href="#MagickSetImagePixels">MagickSetImagePixels</a> | <a href="#MagickSetImageProfile">MagickSetImageProfile</a> | <a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> | <a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> | <a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> | <a href="#MagickSetImageResolution">MagickSetImageResolution</a> | <a href="#MagickSetImageScene">MagickSetImageScene</a> | <a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> | <a href="#MagickSetImageType">MagickSetImageType</a> | <a href="#MagickSetImageUnits">MagickSetImageUnits</a> | <a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> | <a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> | <a href="#MagickShadowImage">MagickShadowImage</a> | <a href="#MagickSharpenImage">MagickSharpenImage</a> | <a href="#MagickSharpenImageChannel">MagickSharpenImageChannel</a> | <a href="#MagickShaveImage">MagickShaveImage</a> | <a href="#MagickShearImage">MagickShearImage</a> | <a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> | <a href="#MagickSigmoidalContrastImageChannel">MagickSigmoidalContrastImageChannel</a> | <a href="#MagickSolarizeImage">MagickSolarizeImage</a> | <a href="#MagickSpliceImage">MagickSpliceImage</a> | <a href="#MagickSpreadImage">MagickSpreadImage</a> | <a href="#MagickSteganoImage">MagickSteganoImage</a> | <a href="#MagickStereoImage">MagickStereoImage</a> | <a href="#MagickStripImage">MagickStripImage</a> | <a href="#MagickSwirlImage">MagickSwirlImage</a> | <a href="#MagickTextureImage">MagickTextureImage</a> | <a href="#MagickThresholdImage">MagickThresholdImage</a> | <a href="#MagickThresholdImageChannel">MagickThresholdImageChannel</a> | <a href="#MagickThumbnailImage">MagickThumbnailImage</a> | <a href="#MagickTintImage">MagickTintImage</a> | <a href="#MagickTransformImage">MagickTransformImage</a> | <a href="#MagickTrimImage">MagickTrimImage</a> | <a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> | <a href="#MagickUnsharpMaskImageChannel">MagickUnsharpMaskImageChannel</a> | <a href="#MagickWaveImage">MagickWaveImage</a> | <a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> | <a href="#MagickWriteImage">MagickWriteImage</a> | <a href="#MagickWriteImageFile">MagickWriteImageFile</a> | <a href="#MagickWriteImages">MagickWriteImages</a> | <a href="#MagickWriteImagesFile">MagickWriteImagesFile</a> ]</p>
<div style="margin: auto;">
  <h2><a name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
</div>
<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
<p>The format of the GetImageFromMagickWand method is:</p>
<pre class="code">
  Image *GetImageFromMagickWand(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
</div>
<p>MagickAdaptiveThresholdImage() selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood.  This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.</p>
<p>The format of the AdaptiveThresholdImage method is:</p>
<pre class="code">
  MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long offset)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The width of the local neighborhood.</p>
<h4>height</h4>
<p>The height of the local neighborhood.</p>
<h4>offset</h4>
<p>The mean offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickAddImage">MagickAddImage</a></h2>
</div>
<p>MagickAddImage() adds the specified images at the current image location.</p>
<p>The format of the MagickAddImage method is:</p>
<pre class="code">
  MagickBooleanType MagickAddImage(MagickWand *wand,
    const MagickWand *add_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>insert</h4>
<p>The splice wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
</div>
<p>MagickAddNoiseImage() adds random noise to the image.</p>
<p>The format of the MagickAddNoiseImage method is:</p>
<pre class="code">
  MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
    const NoiseType noise_type)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>noise_type</h4>
<p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p>
<div style="margin: auto;">
  <h2><a name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
</div>
<p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p>
<p>The format of the MagickAffineTransformImage method is:</p>
<pre class="code">
  MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
    const DrawingWand *drawing_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>drawing_wand</h4>
<p>The draw wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
</div>
<p>MagickAnnotateImage() annotates an image with text.</p>
<p>The format of the MagickAnnotateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickAnnotateImage(MagickWand *wand,
    const DrawingWand *drawing_wand,const double x,const double y,
    const double angle,const char *text)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>drawing_wand</h4>
<p>The draw wand.</p>
<h4>x</h4>
<p>x ordinate to left of text</p>
<h4>y</h4>
<p>y ordinate to text baseline</p>
<h4>angle</h4>
<p>rotate text relative to this angle.</p>
<h4>text</h4>
<p>text to draw</p>
<div style="margin: auto;">
  <h2><a name="MagickAnimateImages">MagickAnimateImages</a></h2>
</div>
<p>MagickAnimateImages() animates an image or image sequence.</p>
<p>The format of the MagickAnimateImages method is:</p>
<pre class="code">
  MagickBooleanType MagickAnimateImages(MagickWand *wand,
    const char *server_name)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>server_name</h4>
<p>The X server name.</p>
<div style="margin: auto;">
  <h2><a name="MagickAppendImages">MagickAppendImages</a></h2>
</div>
<p>MagickAppendImages() append a set of images.</p>
<p>The format of the MagickAppendImages method is:</p>
<pre class="code">
  MagickWand *MagickAppendImages(MagickWand *wand,
    const MagickBooleanType stack)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>stack</h4>
<p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p>
<div style="margin: auto;">
  <h2><a name="MagickAverageImages">MagickAverageImages</a></h2>
</div>
<p>MagickAverageImages() average a set of images.</p>
<p>The format of the MagickAverageImages method is:</p>
<pre class="code">
  MagickWand *MagickAverageImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
</div>
<p>MagickBlackThresholdImage() is like MagickThresholdImage() but  forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p>
<p>The format of the MagickBlackThresholdImage method is:</p>
<pre class="code">
  MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
    const PixelWand *threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>threshold</h4>
<p>The pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickBlurImage">MagickBlurImage</a></h2>
</div>
<p>MagickBlurImage() blurs an image.  We convolve the image with a gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and BlurImage() selects a suitable radius for you.</p>
<p>The format of the MagickBlurImage method is:</p>
<pre class="code">
  MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
    const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the , in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the , in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickBlurImageChannel">MagickBlurImageChannel</a></h2>
</div>
<p>MagickBlurImageChannel() blurs one or more image channels.  We convolve the image channel with a gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and GaussinBlurImageChannel() selects a suitable radius for you.</p>
<p>The format of the MagickBlurImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
    const ChannelType channel,const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>radius</h4>
<p>The radius of the , in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the , in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickBorderImage">MagickBorderImage</a></h2>
</div>
<p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
<p>The format of the MagickBorderImage method is:</p>
<pre class="code">
  MagickBooleanType MagickBorderImage(MagickWand *wand,
    const PixelWand *bordercolor,const unsigned long width,
    const unsigned long height)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>bordercolor</h4>
<p>The border color pixel wand.</p>
<h4>width</h4>
<p>The border width.</p>
<h4>height</h4>
<p>The border height.</p>
<div style="margin: auto;">
  <h2><a name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
</div>
<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
<p>The format of the MagickCharcoalImage method is:</p>
<pre class="code">
  MagickBooleanType MagickCharcoalImage(MagickWand *wand,
    const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickChopImage">MagickChopImage</a></h2>
</div>
<p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
<p>The format of the MagickChopImage method is:</p>
<pre class="code">
  MagickBooleanType MagickChopImage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The region width.</p>
<h4>height</h4>
<p>The region height.</p>
<h4>x</h4>
<p>The region x offset.</p>
<h4>y</h4>
<p>The region y offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickClipImage">MagickClipImage</a></h2>
</div>
<p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
<p>The format of the MagickClipImage method is:</p>
<pre class="code">
  MagickBooleanType MagickClipImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickClipPathImage">MagickClipPathImage</a></h2>
</div>
<p>MagickClipPathImage() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path.  Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.</p>
<p>The format of the MagickClipPathImage method is:</p>
<pre class="code">
  MagickBooleanType MagickClipPathImage(MagickWand *wand,
    const char *pathname,const MagickBooleanType inside)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>pathname</h4>
<p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
<h4>inside</h4>
<p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p>
<div style="margin: auto;">
  <h2><a name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
</div>
<p>MagickCoalesceImages() composites a set of images while respecting any page offsets and disposal methods.  GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset.  MagickCoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.</p>
<p>The format of the MagickCoalesceImages method is:</p>
<pre class="code">
  MagickWand *MagickCoalesceImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickColorFloodfillImage">MagickColorFloodfillImage</a></h2>
</div>
<p>MagickColorFloodfillImage() 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>
<p>The format of the MagickColorFloodfillImage method is:</p>
<pre class="code">
  MagickBooleanType MagickColorFloodfillImage(MagickWand *wand,
    const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
    const long x,const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>fill</h4>
<p>The floodfill color pixel wand.</p>
<h4>fuzz</h4>
<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>
<h4>bordercolor</h4>
<p>The border color pixel wand.</p>
<h4>x,y</h4>
<p>The starting location of the operation.</p>
<div style="margin: auto;">
  <h2><a name="MagickColorizeImage">MagickColorizeImage</a></h2>
</div>
<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
<p>The format of the MagickColorizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickColorizeImage(MagickWand *wand,
    const PixelWand *colorize,const PixelWand *opacity)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>colorize</h4>
<p>The colorize pixel wand.</p>
<h4>opacity</h4>
<p>The opacity pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickCombineImages">MagickCombineImages</a></h2>
</div>
<p>MagickCombineImages() combines one or more images into a single image.  The grayscale value of the pixels of each image in the sequence is assigned in order to the specified  hannels of the combined image.   The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.</p>
<p>The format of the MagickCombineImages method is:</p>
<pre class="code">
  MagickWand *MagickCombineImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickCommentImage">MagickCommentImage</a></h2>
</div>
<p>MagickCommentImage() adds a comment to your image.</p>
<p>The format of the MagickCommentImage method is:</p>
<pre class="code">
  MagickBooleanType MagickCommentImage(MagickWand *wand,
    const char *comment)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>comment</h4>
<p>The image comment.</p>
<div style="margin: auto;">
  <h2><a name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
</div>
<p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p>
<p>The format of the MagickCompareImageChannels method is:</p>
<pre class="code">
  MagickWand *MagickCompareImageChannels(MagickWand *wand,
    const MagickWand *reference,const ChannelType channel,
    const MetricType metric,double *distortion)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>reference</h4>
<p>The reference wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>metric</h4>
<p>The metric.</p>
<h4>distortion</h4>
<p>The computed distortion between the images.</p>
<div style="margin: auto;">
  <h2><a name="MagickCompareImage">MagickCompareImage</a></h2>
</div>
<p>MagickCompareImage() compares an image to a reconstructed image and returns the specified difference image.</p>
<p>The format of the MagickCompareImages method is:</p>
<pre class="code">
  MagickWand *MagickCompareImages(MagickWand *wand,
    const MagickWand *reference,const MetricType metric,
    double *distortion)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>reference</h4>
<p>The reference wand.</p>
<h4>metric</h4>
<p>The metric.</p>
<h4>distortion</h4>
<p>The computed distortion between the images.</p>
<div style="margin: auto;">
  <h2><a name="MagickCompositeImage">MagickCompositeImage</a></h2>
</div>
<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
<p>The format of the MagickCompositeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickCompositeImage(MagickWand *wand,
    const MagickWand *composite_wand,const CompositeOperator compose,
    const long x,const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>composite_image</h4>
<p>The composite image.</p>
<h4>compose</h4>
<p>This operator affects how the composite is applied to the image.  The default is Over.  Choose from these operators:</p>
<pre class="text">
    OverCompositeOp       InCompositeOp         OutCompositeOP
    AtopCompositeOP       XorCompositeOP        PlusCompositeOP
    MinusCompositeOP      AddCompositeOP        SubtractCompositeOP
    DifferenceCompositeOP BumpmapCompositeOP    CopyCompositeOP
    DisplaceCompositeOP
</pre>
<h4>x</h4>
<p>The column offset of the composited image.</p>
<h4>y</h4>
<p>The row offset of the composited image.</p>
<div style="margin: auto;">
  <h2><a name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
</div>
<p>MagickEvaluateImage() applies  an arithmetic, relational, or logical operator to an image. These operations can be used to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p>
<p>The format of the MagickEvaluateImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
    const MagickEvaluateOperator op,const double constant)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>op</h4>
<p>A channel operator.</p>
<h4>constant</h4>
<p>A constant value.</p>
<div style="margin: auto;">
  <h2><a name="MagickContrastImage">MagickContrastImage</a></h2>
</div>
<p>MagickContrastImage() enhances the intensity differences between the lighter and darker elements of the image.  Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.</p>
<p>The format of the MagickContrastImage method is:</p>
<pre class="code">
  MagickBooleanType MagickContrastImage(MagickWand *wand,
    const MagickBooleanType sharpen)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>sharpen</h4>
<p>Increase or decrease image contrast.</p>
<div style="margin: auto;">
  <h2><a name="MagickConvolveImage">MagickConvolveImage</a></h2>
</div>
<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
<p>The format of the MagickConvolveImage method is:</p>
<pre class="code">
  MagickBooleanType MagickConvolveImage(MagickWand *wand,
    const unsigned long order,const double *kernel)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>order</h4>
<p>The number of columns and rows in the filter kernel.</p>
<h4>kernel</h4>
<p>An array of doubles representing the convolution kernel.</p>
<div style="margin: auto;">
  <h2><a name="MagickConvolveImageChannel">MagickConvolveImageChannel</a></h2>
</div>
<p>MagickConvolveImageChannel() applies a custom convolution kernel to one or more image channels.</p>
<p>The format of the MagickConvolveImage method is:</p>
<pre class="code">
  MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
    const ChannelType channel,const unsigned long order,
    const double *kernel)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>order</h4>
<p>The number of columns and rows in the filter kernel.</p>
<h4>kernel</h4>
<p>An array of doubles representing the convolution kernel.</p>
<div style="margin: auto;">
  <h2><a name="MagickCropImage">MagickCropImage</a></h2>
</div>
<p>MagickCropImage() extracts a region of the image.</p>
<p>The format of the MagickCropImage method is:</p>
<pre class="code">
  MagickBooleanType MagickCropImage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The region width.</p>
<h4>height</h4>
<p>The region height.</p>
<h4>x</h4>
<p>The region x-offset.</p>
<h4>y</h4>
<p>The region y-offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
</div>
<p>MagickCycleColormapImage() displaces an image's colormap by a given number of positions.  If you cycle the colormap a number of times you can produce a psychodelic effect.</p>
<p>The format of the MagickCycleColormapImage method is:</p>
<pre class="code">
  MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
    const long displace)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>pixel_wand</h4>
<p>The pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickConstituteImage">MagickConstituteImage</a></h2>
</div>
<p>MagickConstituteImage() adds an image to the wand comprised of the the pixel data you supply.  The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double.  Float and double require the pixels to be normalized [0..1], otherwise [0..Max],  where Max is the maximum value the type can accomodate (e.g. 255 for char).  For example, to create a 640x480 image from unsigned red-green-blue character data, use</p>
<p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p>
<p>The format of the MagickConstituteImage method is:</p>
<pre class="code">
  MagickBooleanType MagickConstituteImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows,const char *map,
    const StorageType storage,void *pixels)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>width in pixels of the image.</p>
<h4>rows</h4>
<p>height in pixels of the image.</p>
<h4>map</h4>
<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 (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p>
<h4>storage</h4>
<p>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel.</p>
<h4>pixels</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
</div>
<p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
<p>The format of the MagickDeconstructImages method is:</p>
<pre class="code">
  MagickWand *MagickDeconstructImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
</div>
<p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p>
<p>The format of the MagickDespeckleImage method is:</p>
<pre class="code">
  MagickBooleanType MagickDespeckleImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickDisplayImage">MagickDisplayImage</a></h2>
</div>
<p>MagickDisplayImage() displays an image.</p>
<p>The format of the MagickDisplayImage method is:</p>
<pre class="code">
  MagickBooleanType MagickDisplayImage(MagickWand *wand,
    const char *server_name)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>server_name</h4>
<p>The X server name.</p>
<div style="margin: auto;">
  <h2><a name="MagickDisplayImages">MagickDisplayImages</a></h2>
</div>
<p>MagickDisplayImages() displays an image or image sequence.</p>
<p>The format of the MagickDisplayImages method is:</p>
<pre class="code">
  MagickBooleanType MagickDisplayImages(MagickWand *wand,
    const char *server_name)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>server_name</h4>
<p>The X server name.</p>
<div style="margin: auto;">
  <h2><a name="MagickDrawImage">MagickDrawImage</a></h2>
</div>
<p>MagickDrawImage() renders the drawing wand on the current image.</p>
<p>The format of the MagickDrawImage method is:</p>
<pre class="code">
  MagickBooleanType MagickDrawImage(MagickWand *wand,
    const DrawingWand *drawing_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>drawing_wand</h4>
<p>The draw wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickEdgeImage">MagickEdgeImage</a></h2>
</div>
<p>MagickEdgeImage() enhance edges within the image with a convolution filter of the given radius.  Use a radius of 0 and Edge() selects a suitable radius for you.</p>
<p>The format of the MagickEdgeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>the radius of the pixel neighborhood.</p>
<div style="margin: auto;">
  <h2><a name="MagickEmbossImage">MagickEmbossImage</a></h2>
</div>
<p>MagickEmbossImage() returns a grayscale image with a three-dimensional effect.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, radius should be larger than sigma.  Use a radius of 0 and Emboss() selects a suitable radius for you.</p>
<p>The format of the MagickEmbossImage method is:</p>
<pre class="code">
  MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
    const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
</div>
<p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
<p>The format of the MagickEnhanceImage method is:</p>
<pre class="code">
  MagickBooleanType MagickEnhanceImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
</div>
<p>MagickEqualizeImage() equalizes the image histogram.</p>
<p>The format of the MagickEqualizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickEqualizeImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
</div>
<p>MagickEvaluateImage() applys an arithmetic, relational, or logical expression to an image.  Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p>
<p>The format of the MagickEvaluateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickEvaluateImage(MagickWand *wand,
    const MagickEvaluateOperator op,const double constant)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>op</h4>
<p>A channel operator.</p>
<h4>constant</h4>
<p>A constant value.</p>
<div style="margin: auto;">
  <h2><a name="MagickFlattenImages">MagickFlattenImages</a></h2>
</div>
<p>MagickFlattenImages() merges a sequence of images.  This is useful for combining Photoshop layers into a single image.</p>
<p>The format of the MagickFlattenImages method is:</p>
<pre class="code">
  MagickWand *MagickFlattenImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickFlipImage">MagickFlipImage</a></h2>
</div>
<p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
<p>The format of the MagickFlipImage method is:</p>
<pre class="code">
  MagickBooleanType MagickFlipImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickFlopImage">MagickFlopImage</a></h2>
</div>
<p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
<p>The format of the MagickFlopImage method is:</p>
<pre class="code">
  MagickBooleanType MagickFlopImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickFrameImage">MagickFrameImage</a></h2>
</div>
<p>MagickFrameImage() adds a simulated three-dimensional border around the image.  The width and height specify the border width of the vertical and horizontal sides of the frame.  The inner and outer bevels indicate the width of the inner and outer shadows of the frame.</p>
<p>The format of the MagickFrameImage method is:</p>
<pre class="code">
  MagickBooleanType MagickFrameImage(MagickWand *wand,
    const PixelWand *matte_color,const unsigned long width,
    const unsigned long height,const long inner_bevel,
    const long outer_bevel)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>matte_color</h4>
<p>The frame color pixel wand.</p>
<h4>width</h4>
<p>The border width.</p>
<h4>height</h4>
<p>The border height.</p>
<h4>inner_bevel</h4>
<p>The inner bevel width.</p>
<h4>outer_bevel</h4>
<p>The outer bevel width.</p>
<div style="margin: auto;">
  <h2><a name="MagickFxImage">MagickFxImage</a></h2>
</div>
<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
<p>The format of the MagickFxImage method is:</p>
<pre class="code">
  MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>expression</h4>
<p>The expression.</p>
<div style="margin: auto;">
  <h2><a name="MagickFxImageChannel">MagickFxImageChannel</a></h2>
</div>
<p>MagickFxImageChannel() evaluate expression for each pixel in the specified channel.</p>
<p>The format of the MagickFxImageChannel method is:</p>
<pre class="code">
  MagickWand *MagickFxImageChannel(MagickWand *wand,
    const ChannelType channel,const char *expression)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to level: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>expression</h4>
<p>The expression.</p>
<div style="margin: auto;">
  <h2><a name="MagickGammaImage">MagickGammaImage</a></h2>
</div>
<p>MagickGammaImage() gamma-corrects an image.  The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen.  Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter.  Values typically range from 0.8 to 2.3.</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickGammaImage method is:</p>
<pre class="code">
  MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>gamma</h4>
<p>Define the level of gamma correction.</p>
<div style="margin: auto;">
  <h2><a name="MagickGammaImageChannel">MagickGammaImageChannel</a></h2>
</div>
<p>MagickGammaImageChannel() gamma-corrects a particular image channel. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen.  Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter.  Values typically range from 0.8 to 2.3.</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickGammaImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
    const ChannelType channel,const double gamma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>level</h4>
<p>Define the level of gamma correction.</p>
<div style="margin: auto;">
  <h2><a name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
</div>
<p>MagickGaussianBlurImage() blurs an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and MagickGaussianBlurImage() selects a suitable radius for you.</p>
<p>The format of the MagickGaussianBlurImage method is:</p>
<pre class="code">
  MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
    const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickGaussianBlurImageChannel">MagickGaussianBlurImageChannel</a></h2>
</div>
<p>MagickGaussianBlurImageChannel() blurs one or more image channels.  We convolve the image cnannel with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and MagickGaussianBlurImageChannel() selects a suitable radius for you.</p>
<p>The format of the MagickGaussianBlurImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
    const ChannelType channel,const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImage">MagickGetImage</a></h2>
</div>
<p>MagickGetImage() gets the image at the current image index.</p>
<p>The format of the MagickGetImage method is:</p>
<pre class="code">
  MagickWand *MagickGetImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
</div>
<p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
<p>The format of the MagickGetImageRegion method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageRegion(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The region width.</p>
<h4>height</h4>
<p>The region height.</p>
<h4>x</h4>
<p>The region x offset.</p>
<h4>y</h4>
<p>The region y offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
</div>
<p>MagickGetImageBackgroundColor() returns the image background color.</p>
<p>The format of the MagickGetImageBackgroundColor method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
    PixelWand *background_color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>background_color</h4>
<p>Return the background color.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
</div>
<p>MagickGetImageBlob() implements direct to memory image formats.  It returns the image as a blob and its length.  The format of the image determines the format of the returned blob (GIF, JPEG,  PNG, etc.).  To return a different image format, use MagickSetImageFormat().</p>
<p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
<p>The format of the MagickGetImageBlob method is:</p>
<pre class="code">
  unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>length</h4>
<p>The length of the blob.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
</div>
<p>MagickGetImageBlob() implements direct to memory image formats.  It returns the image sequence as a blob and its length.  The format of the image determines the format of the returned blob (GIF, JPEG,  PNG, etc.).  To return a different image format, use MagickSetImageFormat().</p>
<p>Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG).  in this instance, just the first image of the sequence is returned as a blob.</p>
<p>The format of the MagickGetImagesBlob method is:</p>
<pre class="code">
  unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>length</h4>
<p>The length of the blob.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
</div>
<p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p>
<p>The format of the MagickGetImageBluePrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
    double *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The chromaticity blue primary x-point.</p>
<h4>y</h4>
<p>The chromaticity blue primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
</div>
<p>MagickGetImageBorderColor() returns the image border color.</p>
<p>The format of the MagickGetImageBorderColor method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
    PixelWand *border_color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>border_color</h4>
<p>Return the border color.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
</div>
<p>MagickGetImageChannelDepth() gets the depth for a particular image channel.</p>
<p>The format of the MagickGetImageChannelDepth method is:</p>
<pre class="code">
  unsigned long MagickGetImageChannelDepth(MagickWand *wand,
    const ChannelType channel)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
</div>
<p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p>
<p>The format of the MagickGetImageChannelDistortion method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
    const MagickWand *reference,const ChannelType channel,
    const MetricType metric,double *distortion)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>reference</h4>
<p>The reference wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>metric</h4>
<p>The metric.</p>
<h4>distortion</h4>
<p>The computed distortion between the images.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageChannelExtrema">MagickGetImageChannelExtrema</a></h2>
</div>
<p>MagickGetImageChannelExtrema() gets the extrema for one or more image channels.</p>
<p>The format of the MagickGetImageChannelExtrema method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageChannelExtrema(MagickWand *wand,
    const ChannelType channel,unsigned long *minima,unsigned long *maxima)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>minima</h4>
<p>The minimum pixel value for the specified channel(s).</p>
<h4>maxima</h4>
<p>The maximum pixel value for the specified channel(s).</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
</div>
<p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p>
<p>The format of the MagickGetImageChannelMean method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
    const ChannelType channel,double *mean,double *standard_deviation)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>mean</h4>
<p>The mean pixel value for the specified channel(s).</p>
<h4>standard_deviation</h4>
<p>The standard deviation for the specified channel(s).</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
</div>
<p>MagickGetImageChannelStatistics() returns statistics for each channel in the image.  The statistics incude the channel depth, its minima and maxima, the mean, and the standard deviation.  You can access the red channel mean, for example, like this:</p>
<pre class="text">
  channel_statistics=MagickGetImageChannelStatistics(image,excepton);
  red_mean=channel_statistics[RedChannel].mean;
</pre>
<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
<p>The format of the MagickGetImageChannelStatistics method is:</p>
<pre class="code">
  ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
</div>
<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
<p>The format of the MagickGetImageColormapColor method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
    const unsigned long index,PixelWand *color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>index</h4>
<p>The offset into the image colormap.</p>
<h4>color</h4>
<p>Return the colormap color in this wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageColors">MagickGetImageColors</a></h2>
</div>
<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
<p>The format of the MagickGetImageColors method is:</p>
<pre class="code">
  unsigned long MagickGetImageColors(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
</div>
<p>MagickGetImageColorspace() gets the image colorspace.</p>
<p>The format of the MagickGetImageColorspace method is:</p>
<pre class="code">
  ColorspaceType MagickGetImageColorspace(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
</div>
<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
<p>The format of the MagickGetImageCompose method is:</p>
<pre class="code">
  CompositeOperator MagickGetImageCompose(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
</div>
<p>MagickGetImageCompression() gets the image compression.</p>
<p>The format of the MagickGetImageCompression method is:</p>
<pre class="code">
  CompressionType MagickGetImageCompression(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
</div>
<p>MagickGetImageCompression() gets the image compression quality.</p>
<p>The format of the MagickGetImageCompression method is:</p>
<pre class="code">
  unsigned long MagickGetImageCompression(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
</div>
<p>MagickGetImageDelay() gets the image delay.</p>
<p>The format of the MagickGetImageDelay method is:</p>
<pre class="code">
  unsigned long MagickGetImageDelay(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
</div>
<p>MagickGetImageDepth() gets the image depth.</p>
<p>The format of the MagickGetImageDepth method is:</p>
<pre class="code">
  unsigned long MagickGetImageDepth(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
</div>
<p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
<p>The format of the MagickGetImageDistortion method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
    const MagickWand *reference,const MetricType metric,
    double *distortion)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>reference</h4>
<p>The reference wand.</p>
<h4>metric</h4>
<p>The metric.</p>
<h4>distortion</h4>
<p>The computed distortion between the images.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageExtrema">MagickGetImageExtrema</a></h2>
</div>
<p>MagickGetImageExtrema() gets the extrema for the image.</p>
<p>The format of the MagickGetImageExtrema method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageExtrema(MagickWand *wand,
    unsigned long *min,unsigned long *max)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>min</h4>
<p>The minimum pixel value for the specified channel(s).</p>
<h4>max</h4>
<p>The maximum pixel value for the specified channel(s).</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
</div>
<p>MagickGetImageDispose() gets the image disposal method.</p>
<p>The format of the MagickGetImageDispose method is:</p>
<pre class="code">
  DisposeType MagickGetImageDispose(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageAttribute">MagickGetImageAttribute</a></h2>
</div>
<p>MagickGetImageAttribute() returns a value associated with the specified key.  Use MagickRelinquishMemory() to free the value when you are finished with it.</p>
<p>The format of the MagickGetImageAttribute method is:</p>
<pre class="code">
  char *MagickGetImageAttribute(MagickWand *wand,const char *key)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>key</h4>
<p>The key.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
</div>
<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
<p>The format of the MagickGetImageFilename method is:</p>
<pre class="code">
  char *MagickGetImageFilename(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
</div>
<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
<p>The format of the MagickGetImageFormat method is:</p>
<pre class="code">
  const char MagickGetImageFormat(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
</div>
<p>MagickGetImageGamma() gets the image gamma.</p>
<p>The format of the MagickGetImageGamma method is:</p>
<pre class="code">
  double MagickGetImageGamma(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
</div>
<p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p>
<p>The format of the MagickGetImageGreenPrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
    double *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The chromaticity green primary x-point.</p>
<h4>y</h4>
<p>The chromaticity green primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
</div>
<p>MagickGetImageHeight() returns the image height.</p>
<p>The format of the MagickGetImageHeight method is:</p>
<pre class="code">
  unsigned long MagickGetImageHeight(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
</div>
<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
<p>The format of the MagickGetImageHistogram method is:</p>
<pre class="code">
  PixelWand *MagickGetImageHistogram(MagickWand *wand,
    unsigned long *number_colors)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>number_colors</h4>
<p>The number of unique colors in the image and the number of pixel wands returned.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageIndex">MagickGetImageIndex</a></h2>
</div>
<p>MagickGetImageIndex() returns the index of the current image.</p>
<p>The format of the MagickGetImageIndex method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageIndex(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
</div>
<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
<p>The format of the MagickGetImageInterlaceScheme method is:</p>
<pre class="code">
  InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
</div>
<p>MagickGetImageIterations() gets the image iterations.</p>
<p>The format of the MagickGetImageIterations method is:</p>
<pre class="code">
  unsigned long MagickGetImageIterations(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
</div>
<p>MagickGetImageMatteColor() returns the image matte color.</p>
<p>The format of the MagickGetImageMatteColor method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
    PixelWand *matte_color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>matte_color</h4>
<p>Return the matte color.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImagePage">MagickGetImagePage</a></h2>
</div>
<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
<p>The format of the MagickGetImagePage method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImagePage(MagickWand *wand,
    unsigned long *width,unsigned long *height,long *x,long *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The page width.</p>
<h4>height</h4>
<p>The page height.</p>
<h4>x</h4>
<p>The page x-offset.</p>
<h4>y</h4>
<p>The page y-offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
</div>
<p>MagickGetImagePixelColor() returns the color of the specified pixel.</p>
<p>The format of the MagickGetImagePixelColor method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
    const long x,const long y,PixelWand *color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x,y</h4>
<p>The pixel offset into the image.</p>
<h4>color</h4>
<p>Return the colormap color in this wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImagePixels">MagickGetImagePixels</a></h2>
</div>
<p>MagickGetImagePixels() extracts pixel data from an image and returns it to you.  The method returns MagickTrue on success otherwise MagickFalse 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>
<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">
  MagickGetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
</pre>
<p>The format of the MagickGetImagePixels method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImagePixels(MagickWand *wand,
    const long x,const long y,const unsigned long columns,
    const unsigned long rows,const char *map,const StorageType storage,
    void *pixels)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x, y, columns, rows</h4>
<p>These values define the perimeter of a region of pixels you want to extract.</p>
<h4>map</h4>
<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 (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p>
<h4>storage</h4>
<p>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel.</p>
<h4>pixels</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickGetImageProfile">MagickGetImageProfile</a></h2>
</div>
<p>MagickGetImageProfile() returns the named image profile.</p>
<p>The format of the MagickGetImageProfile method is:</p>
<pre class="code">
  unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name,
    unsigned long *length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>name</h4>
<p>Name of profile to return: ICC, IPTC, or generic profile.</p>
<h4>length</h4>
<p>The length of the profile.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
</div>
<p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p>
<p>The format of the MagickGetImageRedPrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
    double *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The chromaticity red primary x-point.</p>
<h4>y</h4>
<p>The chromaticity red primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
</div>
<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
<p>The format of the MagickGetImageRenderingIntent method is:</p>
<pre class="code">
  RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
</div>
<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
<p>The format of the MagickGetImageResolution method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
    double *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The image x-resolution.</p>
<h4>y</h4>
<p>The image y-resolution.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageScene">MagickGetImageScene</a></h2>
</div>
<p>MagickGetImageScene() gets the image scene.</p>
<p>The format of the MagickGetImageScene method is:</p>
<pre class="code">
  unsigned long MagickGetImageScene(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
</div>
<p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
<p>The format of the MagickGetImageSignature method is:</p>
<pre class="code">
  const char MagickGetImageSignature(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageSize">MagickGetImageSize</a></h2>
</div>
<p>MagickGetImageSize() returns the image size.</p>
<p>The format of the MagickGetImageSize method is:</p>
<pre class="code">
  MagickSizeType MagickGetImageSize(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
</div>
<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
<p>The format of the MagickGetImageTicksPerSecond method is:</p>
<pre class="code">
  unsigned long MagickGetImageTicksPerSecond(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageType">MagickGetImageType</a></h2>
</div>
<p>MagickGetImageType() gets the potential image type:</p>
<p>Bilevel        Grayscale       GrayscaleMatte Palette        PaletteMatte    TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
<p>To ensure the image type matches its potential, use MagickSetImageType():</p>
<pre class="text">
      (void) MagickSetImageType(wand,MagickGetImageType(wand));
</pre>
<p>The format of the MagickGetImageType method is:</p>
<pre class="code">
  ImageType MagickGetImageType(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
</div>
<p>MagickGetImageUnits() gets the image units of resolution.</p>
<p>The format of the MagickGetImageUnits method is:</p>
<pre class="code">
  ResolutionType MagickGetImageUnits(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
</div>
<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p>
<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
<pre class="code">
  VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
</div>
<p>MagickGetImageWhitePoint() returns the chromaticy white point.</p>
<p>The format of the MagickGetImageWhitePoint method is:</p>
<pre class="code">
  MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
    double *y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The chromaticity white x-point.</p>
<h4>y</h4>
<p>The chromaticity white y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
</div>
<p>MagickGetImageWidth() returns the image width.</p>
<p>The format of the MagickGetImageWidth method is:</p>
<pre class="code">
  unsigned long MagickGetImageWidth(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
</div>
<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
<p>The format of the MagickGetNumberImages method is:</p>
<pre class="code">
  unsigned long MagickGetNumberImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
</div>
<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
<p>The format of the MagickGetImageTotalInkDensity method is:</p>
<pre class="code">
  double MagickGetImageTotalInkDensity(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickHasNextImage">MagickHasNextImage</a></h2>
</div>
<p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p>
<p>The format of the MagickHasNextImage method is:</p>
<pre class="code">
  MagickBooleanType MagickHasNextImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
</div>
<p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p>
<p>The format of the MagickHasPreviousImage method is:</p>
<pre class="code">
  MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
</div>
<p>MagickIdentifyImage() identifies an image by printing its attributes to the file.  Attributes include the image width, height, size, and others.</p>
<p>The format of the MagickIdentifyImage method is:</p>
<pre class="code">
  const char *MagickIdentifyImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickImplodeImage">MagickImplodeImage</a></h2>
</div>
<p>MagickImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage.  It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
<p>The format of the MagickImplodeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickImplodeImage(MagickWand *wand,
    const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>amount</h4>
<p>Define the extent of the implosion.</p>
<div style="margin: auto;">
  <h2><a name="MagickLabelImage">MagickLabelImage</a></h2>
</div>
<p>MagickLabelImage() adds a label to your image.</p>
<p>The format of the MagickLabelImage method is:</p>
<pre class="code">
  MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>label</h4>
<p>The image label.</p>
<div style="margin: auto;">
  <h2><a name="MagickLevelImage">MagickLevelImage</a></h2>
</div>
<p>MagickLevelImage() adjusts the levels of an image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. Mid point specifies a gamma correction to apply to the image.  White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.</p>
<p>The format of the MagickLevelImage method is:</p>
<pre class="code">
  MagickBooleanType MagickLevelImage(MagickWand *wand,
    const double black_point,const double gamma,const double white_point)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>black_point</h4>
<p>The black point.</p>
<h4>gamma</h4>
<p>The gamma.</p>
<h4>white_point</h4>
<p>The white point.</p>
<div style="margin: auto;">
  <h2><a name="MagickLevelImageChannel">MagickLevelImageChannel</a></h2>
</div>
<p>MagickLevelImageChannel() adjusts the levels of the specified channel of the reference image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero.  Mid point specifies a gamma correction to apply to the image.  White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.</p>
<p>The format of the MagickLevelImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
    const ChannelType channel,const double black_point,const double gamma,
    const double white_point)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to level: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>black_point</h4>
<p>The black point.</p>
<h4>gamma</h4>
<p>The gamma.</p>
<h4>white_point</h4>
<p>The white point.</p>
<div style="margin: auto;">
  <h2><a name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
</div>
<p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
<p>The format of the MagickMagnifyImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMagnifyImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickMapImage">MagickMapImage</a></h2>
</div>
<p>MagickMapImage() replaces the colors of an image with the closest color from a reference image.</p>
<p>The format of the MagickMapImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMapImage(MagickWand *wand,
    const MagickWand *map_wand,const MagickBooleanType dither)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>map</h4>
<p>The map wand.</p>
<h4>dither</h4>
<p>Set this integer value to something other than zero to dither the mapped image.</p>
<div style="margin: auto;">
  <h2><a name="MagickMatteFloodfillImage">MagickMatteFloodfillImage</a></h2>
</div>
<p>MagickMatteFloodfillImage() 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>
<p>The format of the MagickMatteFloodfillImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMatteFloodfillImage(MagickWand *wand,
    const Quantum opacity,const double fuzz,const PixelWand *bordercolor,
    const long x,const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>opacity</h4>
<p>The opacity.</p>
<h4>fuzz</h4>
<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>
<h4>bordercolor</h4>
<p>The border color pixel wand.</p>
<h4>x,y</h4>
<p>The starting location of the operation.</p>
<div style="margin: auto;">
  <h2><a name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
</div>
<p>MagickMedianFilterImage() applies a digital filter that improves the quality of a noisy image.  Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.</p>
<p>The format of the MagickMedianFilterImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
    const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the pixel neighborhood.</p>
<div style="margin: auto;">
  <h2><a name="MagickMinifyImage">MagickMinifyImage</a></h2>
</div>
<p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
<p>The format of the MagickMinifyImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMinifyImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickModulateImage">MagickModulateImage</a></h2>
</div>
<p>MagickModulateImage() lets you control the brightness, saturation, and hue of an image.  Hue is the percentage of absolute rotation from the current position.  For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 and 200 both resulting in a rotation of 180 degrees.</p>
<p>To increase the color brightness by 20 and decrease the color saturation by 10 and leave the hue unchanged, use: 120,90,100.</p>
<p>The format of the MagickModulateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickModulateImage(MagickWand *wand,
    const double brightness,const double saturation,const double hue)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>brightness</h4>
<p>The percent change in brighness.</p>
<h4>saturation</h4>
<p>The percent change in saturation.</p>
<h4>hue</h4>
<p>The percent change in hue.</p>
<div style="margin: auto;">
  <h2><a name="MagickMontageImage">MagickMontageImage</a></h2>
</div>
<p>MagickMontageImage() creates a composite image by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.</p>
<p>The format of the MagickMontageImage method is:</p>
<pre class="code">
  MagickWand *MagickMontageImage(MagickWand *wand,
    const DrawingWand drawing_wand,const char *tile_geometry,
    const char *thumbnail_geometry,const MontageMode mode,
    const char *frame)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>drawing_wand</h4>
<p>The drawing wand.  The font name, size, and color are obtained from this wand.</p>
<h4>tile_geometry</h4>
<p>the number of tiles per row and page (e.g. 6x4+0+0).</p>
<h4>thumbnail_geometry</h4>
<p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p>
<h4>mode</h4>
<p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p>
<h4>frame</h4>
<p>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color.</p>
<div style="margin: auto;">
  <h2><a name="MagickMorphImages">MagickMorphImages</a></h2>
</div>
<p>MagickMorphImages() method morphs a set of images.  Both the image pixels and size are linearly interpolated to give the appearance of a meta-morphosis from one image to the next.</p>
<p>The format of the MagickMorphImages method is:</p>
<pre class="code">
  MagickWand *MagickMorphImages(MagickWand *wand,
    const unsigned long number_frames)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>number_frames</h4>
<p>The number of in-between images to generate.</p>
<div style="margin: auto;">
  <h2><a name="MagickMosaicImages">MagickMosaicImages</a></h2>
</div>
<p>MagickMosaicImages() inlays an image sequence to form a single coherent picture.  It returns a wand with each image in the sequence composited at the location defined by the page offset of the image.</p>
<p>The format of the MagickMosaicImages method is:</p>
<pre class="code">
  MagickWand *MagickMosaicImages(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
</div>
<p>MagickMotionBlurImage() simulates motion blur.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma.  Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p>
<p>The format of the MagickMotionBlurImage method is:</p>
<pre class="code">
  MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
    const double radius,const double sigma,const double angle)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<h4>angle</h4>
<p>Apply the effect along this angle.</p>
<div style="margin: auto;">
  <h2><a name="MagickNegateImage">MagickNegateImage</a></h2>
</div>
<p>MagickNegateImage() negates the colors in the reference image.  The Grayscale option means that only grayscale values within the image are negated.</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickNegateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickNegateImage(MagickWand *wand,
    const MagickBooleanType gray)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>gray</h4>
<p>If MagickTrue, only negate grayscale pixels within the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickNegateImage">MagickNegateImage</a></h2>
</div>
<p>MagickNegateImage() negates the colors in the specified channel of the reference image.  The Grayscale option means that only grayscale values within the image are negated.</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickNegateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickNegateImage(MagickWand *wand,
    const ChannelType channel,const MagickBooleanType gray)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>gray</h4>
<p>If MagickTrue, only negate grayscale pixels within the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickNewImage">MagickNewImage</a></h2>
</div>
<p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
<p>The format of the MagickNewImage method is:</p>
<pre class="code">
  MagickBooleanType MagickNewImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows,
    const PixelWand *background)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The image width.</p>
<h4>height</h4>
<p>The image height.</p>
<h4>background</h4>
<p>The image color.</p>
<div style="margin: auto;">
  <h2><a name="MagickNextImage">MagickNextImage</a></h2>
</div>
<p>MagickNextImage() associates the next image in the image list with a magick wand.</p>
<p>The format of the MagickNextImage method is:</p>
<pre class="code">
  MagickBooleanType MagickNextImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
</div>
<p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickNormalizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickNormalizeImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
</div>
<p>MagickOilPaintImage() applies a special effect filter that simulates an oil painting.  Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.</p>
<p>The format of the MagickOilPaintImage method is:</p>
<pre class="code">
  MagickBooleanType MagickOilPaintImage(MagickWand *wand,
    const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the circular neighborhood.</p>
<div style="margin: auto;">
  <h2><a name="MagickPaintOpaqueImage">MagickPaintOpaqueImage</a></h2>
</div>
<p>MagickPaintOpaqueImage() changes any pixel that matches color with the color defined by fill.</p>
<p>The format of the MagickPaintOpaqueImage method is:</p>
<pre class="code">
  MagickBooleanType MagickPaintOpaqueImage(MagickWand *wand,
    const PixelWand *target,const PixelWand *fill,const double fuzz)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>target</h4>
<p>Change this target color to the fill color within the image.</p>
<h4>fill</h4>
<p>The fill pixel wand.</p>
<h4>fuzz</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickPaintTransparentImage">MagickPaintTransparentImage</a></h2>
</div>
<p>MagickPaintTransparentImage() changes any pixel that matches color with the color defined by fill.</p>
<p>The format of the MagickPaintTransparentImage method is:</p>
<pre class="code">
  MagickBooleanType MagickPaintTransparentImage(MagickWand *wand,
    const PixelWand *target,const Quantum opacity,const double fuzz)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>target</h4>
<p>Change this target color to specified opacity value within the image.</p>
<h4>opacity</h4>
<p>The replacement opacity value.</p>
<h4>fuzz</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickPingImage">MagickPingImage</a></h2>
</div>
<p>MagickPingImage() is like MagickReadImage() except the only valid information returned is the image width, height, size, and format.  It is designed to efficiently obtain this information from a file without reading the entire image sequence into memory.</p>
<p>The format of the MagickPingImage method is:</p>
<pre class="code">
  MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>filename</h4>
<p>The image filename.</p>
<div style="margin: auto;">
  <h2><a name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
</div>
<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
<p>The format of the MagickPosterizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickPosterizeImage(MagickWand *wand,
    const unsigned levels,const MagickBooleanType dither)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>levels</h4>
<p>Number of color levels allowed in each channel.  Very low values (2, 3, or 4) have the most visible effect.</p>
<h4>dither</h4>
<p>Set this integer value to something other than zero to dither the mapped image.</p>
<div style="margin: auto;">
  <h2><a name="MagickPreviewImages">MagickPreviewImages</a></h2>
</div>
<p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths.  This is helpful to quickly pin-point an appropriate parameter for an image processing operation.</p>
<p>The format of the MagickPreviewImages method is:</p>
<pre class="code">
  MagickWand *MagickPreviewImages(MagickWand *wand,
    const PreviewType preview)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>preview</h4>
<p>The preview type.</p>
<div style="margin: auto;">
  <h2><a name="MagickPreviousImage">MagickPreviousImage</a></h2>
</div>
<p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p>
<p>The format of the MagickPreviousImage method is:</p>
<pre class="code">
  MagickBooleanType MagickPreviousImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickProfileImage">MagickProfileImage</a></h2>
</div>
<p>MagickProfileImage() adds or removes a ICC, IPTC, or generic profile from an image.  If the profile is NULL, it is removed from the image otherwise added.  Use a name of '*' and a profile of NULL to remove all profiles from the image.</p>
<p>The format of the MagickProfileImage method is:</p>
<pre class="code">
  MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name,
    const void *profile,const unsigned long length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>name</h4>
<p>Name of profile to add or remove: ICC, IPTC, or generic profile.</p>
<h4>profile</h4>
<p>The profile.</p>
<h4>length</h4>
<p>The length of the profile.</p>
<div style="margin: auto;">
  <h2><a name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
</div>
<p>MagickQuantizeImage() analyzes the colors within a reference image and chooses a fixed number of colors to represent the image.  The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p>
<p>The format of the MagickQuantizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickQuantizeImage(MagickWand *wand,
    const unsigned long number_colors,const ColorspaceType colorspace,
    const unsigned long treedepth,const MagickBooleanType dither,
    const MagickBooleanType measure_error)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>number_colors</h4>
<p>The number of colors.</p>
<h4>colorspace</h4>
<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
<h4>treedepth</h4>
<p>Normally, this integer value is zero or one.  A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors).      A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed.  In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required.  To expand the color tree completely, use a value of 8.</p>
<h4>dither</h4>
<p>A value other than zero distributes the difference between an original image and the corresponding color reduced image to neighboring pixels along a Hilbert curve.</p>
<h4>measure_error</h4>
<p>A value other than zero 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.</p>
<div style="margin: auto;">
  <h2><a name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
</div>
<p>MagickQuantizeImages() analyzes the colors within a sequence of images and chooses a fixed number of colors to represent the image.  The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p>
<p>The format of the MagickQuantizeImages method is:</p>
<pre class="code">
  MagickBooleanType MagickQuantizeImages(MagickWand *wand,
    const unsigned long number_colors,const ColorspaceType colorspace,
    const unsigned long treedepth,const MagickBooleanType dither,
    const MagickBooleanType measure_error)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>number_colors</h4>
<p>The number of colors.</p>
<h4>colorspace</h4>
<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
<h4>treedepth</h4>
<p>Normally, this integer value is zero or one.  A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors).      A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed.  In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required.  To expand the color tree completely, use a value of 8.</p>
<h4>dither</h4>
<p>A value other than zero distributes the difference between an original image and the corresponding color reduced algorithm to neighboring pixels along a Hilbert curve.</p>
<h4>measure_error</h4>
<p>A value other than zero 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.</p>
<div style="margin: auto;">
  <h2><a name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
</div>
<p>MagickRadialBlurImage() radial blurs an image.</p>
<p>The format of the MagickRadialBlurImage method is:</p>
<pre class="code">
  MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
    const double angle)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>angle</h4>
<p>The angle of the blur in degrees.</p>
<div style="margin: auto;">
  <h2><a name="MagickRadialBlurImageChannel">MagickRadialBlurImageChannel</a></h2>
</div>
<p>MagickRadialBlurImageChannel() radial blurs an image channel.</p>
<p>The format of the MagickRadialBlurImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
    const ChannelType channel,const double angle)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>angle</h4>
<p>The angle of the blur in degrees.</p>
<div style="margin: auto;">
  <h2><a name="MagickRaiseImage">MagickRaiseImage</a></h2>
</div>
<p>MagickRaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image.  Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.</p>
<p>The format of the MagickRaiseImage method is:</p>
<pre class="code">
  MagickBooleanType MagickRaiseImage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y,const MagickBooleanType raise)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width,height,x,y</h4>
<p>Define the dimensions of the area to raise.</p>
<h4>raise</h4>
<p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p>
<div style="margin: auto;">
  <h2><a name="MagickReadImage">MagickReadImage</a></h2>
</div>
<p>MagickReadImage() reads an image or image sequence.</p>
<p>The format of the MagickReadImage method is:</p>
<pre class="code">
  MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>filename</h4>
<p>The image filename.</p>
<div style="margin: auto;">
  <h2><a name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
</div>
<p>MagickReadImageBlob() reads an image or image sequence from a blob.</p>
<p>The format of the MagickReadImageBlob method is:</p>
<pre class="code">
  MagickBooleanType MagickReadImageBlob(MagickWand *wand,
    const void *blob,const size_t length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>blob</h4>
<p>The blob.</p>
<h4>length</h4>
<p>The blob length.</p>
<div style="margin: auto;">
  <h2><a name="MagickReadImageFile">MagickReadImageFile</a></h2>
</div>
<p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p>
<p>The format of the MagickReadImageFile method is:</p>
<pre class="code">
  MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>file</h4>
<p>The file descriptor.</p>
<div style="margin: auto;">
  <h2><a name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
</div>
<p>MagickReduceNoiseImage() smooths the contours of an image while still preserving edge information.  The algorithm works by replacing each pixel with its neighbor closest in value.  A neighbor is defined by radius.  Use a radius of 0 and ReduceNoise() selects a suitable radius for you.</p>
<p>The format of the MagickReduceNoiseImage method is:</p>
<pre class="code">
  MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
    const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the pixel neighborhood.</p>
<div style="margin: auto;">
  <h2><a name="MagickRemoveImage">MagickRemoveImage</a></h2>
</div>
<p>MagickRemoveImage() removes an image from the image list.</p>
<p>The format of the MagickRemoveImage method is:</p>
<pre class="code">
  MagickBooleanType MagickRemoveImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>insert</h4>
<p>The splice wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickRemoveImageProfile">MagickRemoveImageProfile</a></h2>
</div>
<p>MagickRemoveImageProfile() removes the named image profile and returns it.</p>
<p>The format of the MagickRemoveImageProfile method is:</p>
<pre class="code">
  unsigned char *MagickRemoveImageProfile(MagickWand *wand,
    const char *name,unsigned long *length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>name</h4>
<p>Name of profile to return: ICC, IPTC, or generic profile.</p>
<h4>length</h4>
<p>The length of the profile.</p>
<div style="margin: auto;">
  <h2><a name="MagickResampleImage">MagickResampleImage</a></h2>
</div>
<p>MagickResampleImage() resample image to desired resolution.</p>
<p>Bessel   Blackman   Box Catrom   Cubic      Gaussian Hanning  Hermite    Lanczos Mitchell Point      Quandratic Sinc     Triangle</p>
<p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response).  Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p>
<p>The format of the MagickResampleImage method is:</p>
<pre class="code">
  MagickBooleanType MagickResampleImage(MagickWand *wand,
    const double x_resolution,const double y_resolution,
    const FilterTypes filter,const double blur)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x_resolution</h4>
<p>The new image x resolution.</p>
<h4>y_resolution</h4>
<p>The new image y resolution.</p>
<h4>filter</h4>
<p>Image filter to use.</p>
<h4>blur</h4>
<p>The blur factor where > 1 is blurry, < 1 is sharp.</p>
<div style="margin: auto;">
  <h2><a name="MagickResizeImage">MagickResizeImage</a></h2>
</div>
<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
<pre class="text">
      Bessel   Blackman   Box
      Catrom   CubicGaussian
      Hanning  Hermite    Lanczos
      Mitchell PointQuandratic
      Sinc     Triangle
</pre>
<p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response).  Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p>
<p>The format of the MagickResizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickResizeImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows,
    const FilterTypes filter,const double blur)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The number of columns in the scaled image.</p>
<h4>rows</h4>
<p>The number of rows in the scaled image.</p>
<h4>filter</h4>
<p>Image filter to use.</p>
<h4>blur</h4>
<p>The blur factor where > 1 is blurry, < 1 is sharp.</p>
<div style="margin: auto;">
  <h2><a name="MagickRollImage">MagickRollImage</a></h2>
</div>
<p>MagickRollImage() offsets an image as defined by x and y.</p>
<p>The format of the MagickRollImage method is:</p>
<pre class="code">
  MagickBooleanType MagickRollImage(MagickWand *wand,const long x,
    const unsigned long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The x offset.</p>
<h4>y</h4>
<p>The y offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickRotateImage">MagickRotateImage</a></h2>
</div>
<p>MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.</p>
<p>The format of the MagickRotateImage method is:</p>
<pre class="code">
  MagickBooleanType MagickRotateImage(MagickWand *wand,
    const PixelWand *background,const double degrees)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>background</h4>
<p>The background pixel wand.</p>
<h4>degrees</h4>
<p>The number of degrees to rotate the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickSampleImage">MagickSampleImage</a></h2>
</div>
<p>MagickSampleImage() scales an image to the desired dimensions with pixel sampling.  Unlike other scaling methods, this method does not introduce any additional color into the scaled image.</p>
<p>The format of the MagickSampleImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSampleImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The number of columns in the scaled image.</p>
<h4>rows</h4>
<p>The number of rows in the scaled image.</p>
<div style="margin: auto;">
  <h2><a name="MagickScaleImage">MagickScaleImage</a></h2>
</div>
<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
<p>The format of the MagickScaleImage method is:</p>
<pre class="code">
  MagickBooleanType MagickScaleImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The number of columns in the scaled image.</p>
<h4>rows</h4>
<p>The number of rows in the scaled image.</p>
<div style="margin: auto;">
  <h2><a name="MagickChannelImage">MagickChannelImage</a></h2>
</div>
<p>MagickChannelImage() separates a channel from the image and returns a grayscale image.  A channel is a particular color component of each pixel in the image.</p>
<p>The format of the MagickChannelImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
    const ChannelType channel)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<div style="margin: auto;">
  <h2><a name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
</div>
<p>MagickSolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning.  Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning.  A threshold of 80 is a good starting point for a reasonable tone.</p>
<p>The format of the MagickSolarizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSolarizeImage(MagickWand *wand,
    const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>threshold</h4>
<p>Define the extent of the sepia toning.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImage">MagickSetImage</a></h2>
</div>
<p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
<p>The format of the MagickSetImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImage(MagickWand *wand,
    const MagickWand *set_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>set_wand</h4>
<p>The set_wand wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageAttribute">MagickSetImageAttribute</a></h2>
</div>
<p>MagickSetImageAttribute() associates an attribute with an image.</p>
<p>The format of the MagickSetImageAttribute method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageAttribute(MagickWand *wand,
    const char *key,const char *attribute)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>key</h4>
<p>The key.</p>
<h4>value</h4>
<p>The value.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
</div>
<p>MagickSetImageBackgroundColor() sets the image background color.</p>
<p>The format of the MagickSetImageBackgroundColor method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
    const PixelWand *background)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>background</h4>
<p>The background pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageBias">MagickSetImageBias</a></h2>
</div>
<p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p>
<p>The format of the MagickSetImageBias method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageBias(MagickWand *wand,
    const double bias)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>bias</h4>
<p>The image bias.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
</div>
<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
<p>The format of the MagickSetImageBluePrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
    const double x,const double y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The blue primary x-point.</p>
<h4>y</h4>
<p>The blue primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
</div>
<p>MagickSetImageBorderColor() sets the image border color.</p>
<p>The format of the MagickSetImageBorderColor method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
    const PixelWand *border)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>border</h4>
<p>The border pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
</div>
<p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p>
<p>The format of the MagickSetImageChannelDepth method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
    const ChannelType channel,const unsigned long depth)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>depth</h4>
<p>The image depth in bits.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
</div>
<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
<p>The format of the MagickSetImageColormapColor method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
    const unsigned long index,const PixelWand *color)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>index</h4>
<p>The offset into the image colormap.</p>
<h4>color</h4>
<p>Return the colormap color in this wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
</div>
<p>MagickSetImageColorspace() sets the image colorspace.</p>
<p>The format of the MagickSetImageColorspace method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
    const ColorspaceType colorspace)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>colorspace</h4>
<p>The image colorspace:   UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
</div>
<p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p>
<p>The format of the MagickSetImageCompose method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageCompose(MagickWand *wand,
    const CompositeOperator compose)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>compose</h4>
<p>The image composite operator.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
</div>
<p>MagickSetImageCompression() sets the image compression.</p>
<p>The format of the MagickSetImageCompression method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageCompression(MagickWand *wand,
    const CompressionType compression)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>compression</h4>
<p>The image compression type.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
</div>
<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
<p>The format of the MagickSetImageCompressionQuality method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
    const unsigned long quality)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>quality</h4>
<p>The image compression tlityype.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
</div>
<p>MagickSetImageDelay() sets the image delay.</p>
<p>The format of the MagickSetImageDelay method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageDelay(MagickWand *wand,
    const unsigned long delay)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>delay</h4>
<p>The image delay in ticks-per-second units.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
</div>
<p>MagickSetImageDepth() sets the image depth.</p>
<p>The format of the MagickSetImageDepth method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageDepth(MagickWand *wand,
    const unsigned long depth)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>depth</h4>
<p>The image depth in bits: 8, 16, or 32.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
</div>
<p>MagickSetImageDispose() sets the image disposal method.</p>
<p>The format of the MagickSetImageDispose method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageDispose(MagickWand *wand,
    const DisposeType dispose)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>dispose</h4>
<p>The image disposeal type.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
</div>
<p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p>
<p>The format of the MagickSetImageExtent method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageExtent(MagickWand *wand,
    const unsigned long columns,const unsigned rows)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The image width in pixels.</p>
<h4>rows</h4>
<p>The image height in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
</div>
<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
<p>The format of the MagickSetImageFilename method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageFilename(MagickWand *wand,
    const char *filename)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>filename</h4>
<p>The image filename.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
</div>
<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
<p>The format of the MagickSetImageFormat method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageFormat(MagickWand *wand,
    const char *format)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>format</h4>
<p>The image format.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
</div>
<p>MagickSetImageGamma() sets the image gamma.</p>
<p>The format of the MagickSetImageGamma method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageGamma(MagickWand *wand,
    const double gamma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>gamma</h4>
<p>The image gamma.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
</div>
<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
<p>The format of the MagickSetImageGreenPrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
    const double x,const double y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The green primary x-point.</p>
<h4>y</h4>
<p>The green primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageIndex">MagickSetImageIndex</a></h2>
</div>
<p>MagickSetImageIndex() set the current image to the position of the list specified with the index parameter.</p>
<p>The format of the MagickSetImageIndex method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageIndex(MagickWand *wand,const long index)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>index</h4>
<p>The scene number.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
</div>
<p>MagickSetImageInterlaceScheme() sets the image compression.</p>
<p>The format of the MagickSetImageInterlaceScheme method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
    const InterlaceType interlace_scheme)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>interlace_scheme</h4>
<p>The image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
</div>
<p>MagickSetImageIterations() sets the image iterations.</p>
<p>The format of the MagickSetImageIterations method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageIterations(MagickWand *wand,
    const unsigned long iterations)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>delay</h4>
<p>The image delay in 1/100th of a second.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
</div>
<p>MagickSetImageMatteColor() sets the image matte color.</p>
<p>The format of the MagickSetImageMatteColor method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
    const PixelWand *matte)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>matte</h4>
<p>The matte pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImagePage">MagickSetImagePage</a></h2>
</div>
<p>MagickSetImagePage() sets the page geometry of the image.</p>
<p>The format of the MagickSetImagePage method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImagePage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The page width.</p>
<h4>height</h4>
<p>The page height.</p>
<h4>x</h4>
<p>The page x-offset.</p>
<h4>y</h4>
<p>The page y-offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImagePixels">MagickSetImagePixels</a></h2>
</div>
<p>MagickSetImagePixels() accepts pixel data and stores it in the image at the location you specify.  The method returns MagickFalse on success otherwise MagickTrue if an error is encountered.  The pixel data can be either char, short int, int, long, float, or double in the order specified by map.</p>
<p>Suppose your want want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
<pre class="text">
  MagickSetImagePixels(wand,0,0,0,640,1,"RGB",CharPixel,pixels);
</pre>
<p>The format of the MagickSetImagePixels method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImagePixels(MagickWand *wand,
    const long x,const long y,const unsigned long columns,
    const unsigned long rows,const char *map,const StorageType storage,
    const void *pixels)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x, y, columns, rows</h4>
<p>These values define the perimeter of a region of pixels you want to define.</p>
<h4>map</h4>
<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 (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p>
<h4>storage</h4>
<p>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel.</p>
<h4>pixels</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickSetImageProfile">MagickSetImageProfile</a></h2>
</div>
<p>MagickSetImageProfile() adds a named profile to the magick wand.  If a profile with the same name already exists, it is replaced.  This method differs from the MagickProfileImage() method in that it does not apply any CMS color profiles.</p>
<p>The format of the MagickSetImageProfile method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageProfile(MagickWand *wand,
    const char *name,const void *profile,const unsigned long length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>name</h4>
<p>Name of profile to add or remove: ICC, IPTC, or generic profile.</p>
<h4>profile</h4>
<p>The profile.</p>
<h4>length</h4>
<p>The length of the profile.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
</div>
<p>MagickSetImageProgressMonitor() sets the wand image progress monitor to the specified method and returns the previous progress monitor if any.  The progress monitor method looks like this:</p>
<pre class="text">
      MagickBooleanType MagickProgressMonitor(const char *text,
  const MagickOffsetType offset,const MagickSizeType span,
  void *client_data)
</pre>
<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
<p>The format of the MagickSetImageProgressMonitor method is:</p>
<pre class="code">
  MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
    const MagickProgressMonitor progress_monitor,void *client_data)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>progress_monitor</h4>
<p>Specifies a pointer to a method to monitor progress of an image operation.</p>
<h4>client_data</h4>
<p>Specifies a pointer to any client data.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
</div>
<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
<p>The format of the MagickSetImageRedPrimary method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
    const double x,const double y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The red primary x-point.</p>
<h4>y</h4>
<p>The red primary y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
</div>
<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
<p>The format of the MagickSetImageRenderingIntent method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
    const RenderingIntent rendering_intent)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>rendering_intent</h4>
<p>The image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
</div>
<p>MagickSetImageResolution() sets the image resolution.</p>
<p>The format of the MagickSetImageResolution method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageResolution(MagickWand *wand,
    const double x_resolution,const doubtl y_resolution)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x_resolution</h4>
<p>The image x resolution.</p>
<h4>y_resolution</h4>
<p>The image y resolution.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageScene">MagickSetImageScene</a></h2>
</div>
<p>MagickSetImageScene() sets the image scene.</p>
<p>The format of the MagickSetImageScene method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageScene(MagickWand *wand,
    const unsigned long scene)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>delay</h4>
<p>The image scene number.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
</div>
<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
<p>The format of the MagickSetImageTicksPerSecond method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
    const unsigned long ticks_per-second)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>ticks_per_second</h4>
<p>The units to use for the image delay.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageType">MagickSetImageType</a></h2>
</div>
<p>MagickSetImageType() sets the image type.</p>
<p>The format of the MagickSetImageType method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageType(MagickWand *wand,
    const ImageType image_type)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>image_type</h4>
<p>The image type:   UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
</div>
<p>MagickSetImageUnits() sets the image units of resolution.</p>
<p>The format of the MagickSetImageUnits method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageUnits(MagickWand *wand,
    const ResolutionType units)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>units</h4>
<p>The image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
</div>
<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageVirtualPixelMethod(MagickWand *wand,
    const VirtualPixelMethod method)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>method</h4>
<p>The image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod,  EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p>
<div style="margin: auto;">
  <h2><a name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
</div>
<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
<p>The format of the MagickSetImageWhitePoint method is:</p>
<pre class="code">
  MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
    const double x,const double y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>x</h4>
<p>The white x-point.</p>
<h4>y</h4>
<p>The white y-point.</p>
<div style="margin: auto;">
  <h2><a name="MagickShadowImage">MagickShadowImage</a></h2>
</div>
<p>MagickShadowImage() simulates an image shadow.</p>
<p>The format of the MagickShadowImage method is:</p>
<pre class="code">
  MagickBooleanType MagickShadowImage(MagickWand *wand,
    const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickSharpenImage">MagickSharpenImage</a></h2>
</div>
<p>MagickSharpenImage() sharpens an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and SharpenImage() selects a suitable radius for you.</p>
<p>The format of the MagickSharpenImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSharpenImage(MagickWand *wand,
    const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickSharpenImageChannel">MagickSharpenImageChannel</a></h2>
</div>
<p>MagickSharpenImageChannel() sharpens one or more image channels.  We convolve the image cnannel with a gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and GaussinSharpenImageChannel() selects a suitable radius for you.</p>
<p>The format of the MagickSharpenImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
    const ChannelType channel,const double radius,const double sigma)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>radius</h4>
<p>The radius of the , in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the , in pixels.</p>
<div style="margin: auto;">
  <h2><a name="MagickShaveImage">MagickShaveImage</a></h2>
</div>
<p>MagickShaveImage() shaves pixels from the image edges.  It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
<p>The format of the MagickShaveImage method is:</p>
<pre class="code">
  MagickBooleanType MagickShaveImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The number of columns in the scaled image.</p>
<h4>rows</h4>
<p>The number of rows in the scaled image.</p>
<div style="margin: auto;">
  <h2><a name="MagickShearImage">MagickShearImage</a></h2>
</div>
<p>MagickShearImage() slides one edge of an image along the X or Y axis, creating a parallelogram.  An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis.  The amount of the shear is controlled by a shear angle.  For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis.  Empty triangles left over from shearing the image are filled with the background color.</p>
<p>The format of the MagickShearImage method is:</p>
<pre class="code">
  MagickBooleanType MagickShearImage(MagickWand *wand,
    const PixelWand *background,const double x_shear,onst double y_shear)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>background</h4>
<p>The background pixel wand.</p>
<h4>x_shear</h4>
<p>The number of degrees to shear the image.</p>
<h4>y_shear</h4>
<p>The number of degrees to shear the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
</div>
<p>MagickSigmoidalContrastImage() adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm.  Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows.  Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black).  Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.</p>
<p>The format of the MagickSigmoidalContrastImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
    const MagickBooleanType sharpen,const double contrast,
    const double midpoint)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>sharpen</h4>
<p>Increase or decrease image contrast.</p>
<h4>contrast</h4>
<p>control the "shoulder" of the contast curve.</p>
<h4>midpoint</h4>
<p>control the "toe" of the contast curve.</p>
<div style="margin: auto;">
  <h2><a name="MagickSigmoidalContrastImageChannel">MagickSigmoidalContrastImageChannel</a></h2>
</div>
<p>MagickSigmoidalContrastImageChannel() adjusts the contrast of an image channel with a non-linear sigmoidal contrast algorithm.  Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows.  Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black).  Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.</p>
<p>The format of the MagickSigmoidalContrastImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
    const ChannelType channel,const MagickBooleanType sharpen,
    const double alpha,const double beta)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to level: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>sharpen</h4>
<p>Increase or decrease image contrast.</p>
<h4>alpha</h4>
<p>control the "shoulder" of the contast curve.</p>
<h4>beta</h4>
<p>control the "toe" of the contast curve.</p>
<div style="margin: auto;">
  <h2><a name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
</div>
<p>MagickSolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light.  Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.</p>
<p>The format of the MagickSolarizeImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSolarizeImage(MagickWand *wand,
    const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>threshold</h4>
<p>Define the extent of the solarization.</p>
<div style="margin: auto;">
  <h2><a name="MagickSpliceImage">MagickSpliceImage</a></h2>
</div>
<p>MagickSpliceImage() splices a solid color intop the image.</p>
<p>The format of the MagickSpliceImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSpliceImage(MagickWand *wand,
    const unsigned long width,const unsigned long height,const long x,
    const long y)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>width</h4>
<p>The region width.</p>
<h4>height</h4>
<p>The region height.</p>
<h4>x</h4>
<p>The region x offset.</p>
<h4>y</h4>
<p>The region y offset.</p>
<div style="margin: auto;">
  <h2><a name="MagickSpreadImage">MagickSpreadImage</a></h2>
</div>
<p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p>
<p>The format of the MagickSpreadImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>Choose a random pixel in a neighborhood of this extent.</p>
<div style="margin: auto;">
  <h2><a name="MagickSteganoImage">MagickSteganoImage</a></h2>
</div>
<p>MagickSteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image.  Offset defines the start position within the image to hide the watermark.</p>
<p>The format of the MagickSteganoImage method is:</p>
<pre class="code">
  MagickWand *MagickSteganoImage(MagickWand *wand,
    const MagickWand *watermark_wand,const long offset)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>watermark_wand</h4>
<p>The watermark wand.</p>
<h4>offset</h4>
<p>Start hiding at this offset into the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickStereoImage">MagickStereoImage</a></h2>
</div>
<p>MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair</p>
<p>The format of the MagickStereoImage method is:</p>
<pre class="code">
  MagickWand *MagickStereoImage(MagickWand *wand,
    const MagickWand *offset_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>offset_wand</h4>
<p>Another image wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickStripImage">MagickStripImage</a></h2>
</div>
<p>MagickStripImage() strips an image of all profiles and comments.</p>
<p>The format of the MagickStripImage method is:</p>
<pre class="code">
  MagickBooleanType MagickStripImage(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickSwirlImage">MagickSwirlImage</a></h2>
</div>
<p>MagickSwirlImage() swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.</p>
<p>The format of the MagickSwirlImage method is:</p>
<pre class="code">
  MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>degrees</h4>
<p>Define the tightness of the swirling effect.</p>
<div style="margin: auto;">
  <h2><a name="MagickTextureImage">MagickTextureImage</a></h2>
</div>
<p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
<p>The format of the MagickTextureImage method is:</p>
<pre class="code">
  MagickWand *MagickTextureImage(MagickWand *wand,
    const MagickWand *texture_wand)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>texture_wand</h4>
<p>The texture wand</p>
<div style="margin: auto;">
  <h2><a name="MagickThresholdImage">MagickThresholdImage</a></h2>
</div>
<p>MagickThresholdImage() 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>
<p>The format of the MagickThresholdImage method is:</p>
<pre class="code">
  MagickBooleanType MagickThresholdImage(MagickWand *wand,
    const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>threshold</h4>
<p>Define the threshold value.</p>
<div style="margin: auto;">
  <h2><a name="MagickThresholdImageChannel">MagickThresholdImageChannel</a></h2>
</div>
<p>MagickThresholdImageChannel() changes the value of individual pixel component based on the intensity of each pixel compared to threshold.  The result is a high-contrast, two color image.</p>
<p>The format of the MagickThresholdImage method is:</p>
<pre class="code">
  MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
    const ChannelType channel,const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>The channel.</p>
<h4>threshold</h4>
<p>Define the threshold value.</p>
<div style="margin: auto;">
  <h2><a name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
</div>
<p>MagickThumbnailImage()  changes the size of an image to the given dimensions and removes any associated profiles.  The goal is to produce small low cost thumbnail images suited for display on the Web.</p>
<p>The format of the MagickThumbnailImage method is:</p>
<pre class="code">
  MagickBooleanType MagickThumbnailImage(MagickWand *wand,
    const unsigned long columns,const unsigned long rows)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>columns</h4>
<p>The number of columns in the scaled image.</p>
<h4>rows</h4>
<p>The number of rows in the scaled image.</p>
<div style="margin: auto;">
  <h2><a name="MagickTintImage">MagickTintImage</a></h2>
</div>
<p>MagickTintImage() applies a color vector to each pixel in the image.  The length of the vector is 0 for black and white and at its maximum for the midtones.  The vector weighting function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))).</p>
<p>The format of the MagickTintImage method is:</p>
<pre class="code">
  MagickBooleanType MagickTintImage(MagickWand *wand,
    const PixelWand *tint,const PixelWand *opacity)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>tint</h4>
<p>The tint pixel wand.</p>
<h4>opacity</h4>
<p>The opacity pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickTransformImage">MagickTransformImage</a></h2>
</div>
<p>MagickTransformImage() is a convenience method that behaves like MagickResizeImage() or MagickCropImage() but accepts scaling and/or cropping information as a region geometry specification.  If the operation fails, the original image handle is returned.</p>
<p>The format of the MagickTransformImage method is:</p>
<pre class="code">
  MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
    const char *geometry)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>crop</h4>
<p>A crop geometry string.  This geometry defines a subregion of the image to crop.</p>
<h4>geometry</h4>
<p>An image geometry string.  This geometry defines the final size of the image.</p>
<div style="margin: auto;">
  <h2><a name="MagickTrimImage">MagickTrimImage</a></h2>
</div>
<p>MagickTrimImage() remove edges that are the background color from the image.</p>
<p>The format of the MagickTrimImage method is:</p>
<pre class="code">
  MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>fuzz</h4>
<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>
<div style="margin: auto;">
  <h2><a name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
</div>
<p>MagickUnsharpMaskImage() sharpens an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma.  Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.</p>
<p>The format of the MagickUnsharpMaskImage method is:</p>
<pre class="code">
  MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
    const double radius,const double sigma,const double amount,
    const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<h4>amount</h4>
<p>The percentage of the difference between the original and the blur image that is added back into the original.</p>
<h4>threshold</h4>
<p>The threshold in pixels needed to apply the diffence amount.</p>
<div style="margin: auto;">
  <h2><a name="MagickUnsharpMaskImageChannel">MagickUnsharpMaskImageChannel</a></h2>
</div>
<p>MagickUnsharpMaskImageChannel() sharpens one or more image channels.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, radius should be larger than sigma.  Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.</p>
<p>The format of the MagickUnsharpMaskImageChannel method is:</p>
<pre class="code">
  MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
    const ChannelType channel,const double radius,const double sigma,
    const double amount,const double threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>channel</h4>
<p>Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel, or IndexChannel.</p>
<h4>radius</h4>
<p>The radius of the Gaussian, in pixels, not counting the center pixel.</p>
<h4>sigma</h4>
<p>The standard deviation of the Gaussian, in pixels.</p>
<h4>amount</h4>
<p>The percentage of the difference between the original and the blur image that is added back into the original.</p>
<h4>threshold</h4>
<p>The threshold in pixels needed to apply the diffence amount.</p>
<div style="margin: auto;">
  <h2><a name="MagickWaveImage">MagickWaveImage</a></h2>
</div>
<p>MagickWaveImage()  creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p>
<p>The format of the MagickWaveImage method is:</p>
<pre class="code">
  MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
    const double wave_length)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>amplitude, wave_length</h4>
<p>Define the amplitude and wave length of the sine wave.</p>
<div style="margin: auto;">
  <h2><a name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
</div>
<p>MagickWhiteThresholdImage() is like ThresholdImage() but  forces all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p>
<p>The format of the MagickWhiteThresholdImage method is:</p>
<pre class="code">
  MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
    const PixelWand *threshold)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>threshold</h4>
<p>The pixel wand.</p>
<div style="margin: auto;">
  <h2><a name="MagickWriteImage">MagickWriteImage</a></h2>
</div>
<p>MagickWriteImage() writes an image to the specified filename.  If the filename parameter is NULL, the image is written to the filename set by MagickReadImage() or MagickSetImageFilename().</p>
<p>The format of the MagickWriteImage method is:</p>
<pre class="code">
  MagickBooleanType MagickWriteImage(MagickWand *wand,
    const char *filename)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>filename</h4>
<p>The image filename.</p>
<div style="margin: auto;">
  <h2><a name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
</div>
<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
<p>The format of the MagickWriteImageFile method is:</p>
<pre class="code">
  MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>file</h4>
<p>The file descriptor.</p>
<div style="margin: auto;">
  <h2><a name="MagickWriteImages">MagickWriteImages</a></h2>
</div>
<p>MagickWriteImages() writes an image or image sequence.</p>
<p>The format of the MagickWriteImages method is:</p>
<pre class="code">
  MagickBooleanType MagickWriteImages(MagickWand *wand,
    const char *filename,const MagickBooleanType adjoin)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>filename</h4>
<p>The image filename.</p>
<h4>adjoin</h4>
<p>join images into a single multi-image file.</p>
<div style="margin: auto;">
  <h2><a name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
</div>
<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
<p>The format of the MagickWriteImagesFile method is:</p>
<pre class="code">
  MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
</pre>
<p>A description of each parameter follows:</p>
<h4>wand</h4>
<p>The magick wand.</p>
<h4>file</h4>
<p>The file descriptor.</p>
      </td>
      <td id="margin" width="1%" height="100%" valign="top" align="right"> </td>
    </tr>
  </tbody>
  </table>
  <div id="linkbar">
    <a href="http://redux.imagemagick.org/discussion-server" target="577694759">Discourse Server</a> |
    <a href="../../www/mailing-list.html">Mailing Lists</a> |
    <a href="http://redux.imagemagick.org/gallery" target="579112406">Image Gallery</a> |
    <a href="http://redux.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi" target="972125315">ImageMagick Studio</a>
  </div>
  <div>
    <span id="footer-west">© 1999-2005 ImageMagick Studio LLC</span>
  </div>
  <div style="clear: both; margin: 0; width: 100%; "></div>
</body>
</html>
 
     |