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 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554
|
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
<script src="../assets/color-modes.js" ></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ImageMagick – MagickWand, C API: Image Methods</title>
<meta name="keywords" content="MagickWand, C API: Image Methods, Image Processing, Digital Image Editing, Image Conversion, Open-Source Software, Image Manipulation, Command-Line Image Tools" />
<meta name="description" content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
<meta name="application-name" content="ImageMagick" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="copyright" content="Copyright (c) 1999 ImageMagick Studio LLC" />
<meta itemprop='url' content='../../' />
<meta itemprop='title' content='ImageMagick' />
<meta itemprop='description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
<meta property='og:url' content='../../' />
<meta property='og:name' content='ImageMagick' />
<meta property='og:image' content='../../../../../images/logo.png' />
<meta property='og:type' content='website' />
<meta property='og:site_name' content='ImageMagick' />
<meta property='og:description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
<meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
<link type="images/png" sizes="64x64" href="../../../../images/wand.png" rel="icon" />
<link type="images/icon" sizes="16x16" href="../../../../images/wand.ico" rel="shortcut icon" />
<link href="magick-image.html" rel="canonical" />
<link href="../assets/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="check2" viewBox="0 0 16 16">
<path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
</symbol>
<symbol id="circle-half" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/>
</symbol>
<symbol id="moon-stars-fill" viewBox="0 0 16 16">
<path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/>
<path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z"/>
</symbol>
<symbol id="sun-fill" viewBox="0 0 16 16">
<path d="M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>
</symbol>
</svg>
<div class="dropdown position-fixed bottom-0 end-0 mb-3 me-3 bd-mode-toggle">
<button class="btn btn-bd-secondary py-2 dropdown-toggle d-flex align-items-center"
id="bd-theme"
type="button"
aria-expanded="false"
data-bs-toggle="dropdown"
aria-label="Toggle theme (auto)">
<svg class="bi my-1 theme-icon-active" width="1em" height="1em"><use href="#circle-half"></use></svg>
<span class="visually-hidden" id="bd-theme-text">Toggle theme</span>
</button>
<ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="bd-theme-text">
<li>
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false">
<svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#sun-fill"></use></svg>
Light
<svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
</button>
</li>
<li>
<button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark" aria-pressed="false">
<svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#moon-stars-fill"></use></svg>
Dark
<svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
</button>
</li>
<li>
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto" aria-pressed="true">
<svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#circle-half"></use></svg>
Auto
<svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
</button>
</li>
</ul>
</div>
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="arrow-right-circle" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</symbol>
<symbol id="color-mode" viewBox="0 0 118 94">
<title>Color Modes</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
</symbol>
</svg>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand" href="../index.html"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../../images/wand.ico"/></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="magick-navbars">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link " href="../www/download.html">Download</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../www/command-line-tools.html">Tools</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../www/command-line-processing.html">CLI</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../www/develop.html">Develop</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
</li>
<li class="nav-item">
</li>
</ul>
</div>
</div>
</nav>
<div class="col-lg-8 mx-auto p-4 py-md-5 text-body-secondary">
<header class="d-flex align-items-center pb-3 mb-5 border-bottom">
<a href="../index.html" class="d-flex align-items-center text-decoration-none">
<h1 class="mt-5 fs-3">MagickWand, C API: Image Methods</h1>
</a>
</header>
<main class="container">
<h1 class="text-center">Magick-image</h1>
<div class="btn-group">
<button class="btn btn-secondary dropdown-toggle" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
Select API Method
</button>
<ul class="dropdown-menu pre-scrollable" aria-labelledby="defaultDropdown">
<li><a href="#GetImageFromMagickWand">GetImageFromMagickWand</a></li>
<li><a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></li>
<li><a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></li>
<li><a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></li>
<li><a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></li>
<li><a href="#MagickAddImage">MagickAddImage</a></li>
<li><a href="#MagickAddNoiseImage">MagickAddNoiseImage</a></li>
<li><a href="#MagickAffineTransformImage">MagickAffineTransformImage</a></li>
<li><a href="#MagickAnnotateImage">MagickAnnotateImage</a></li>
<li><a href="#MagickAnimateImages">MagickAnimateImages</a></li>
<li><a href="#MagickAppendImages">MagickAppendImages</a></li>
<li><a href="#MagickAutoGammaImage">MagickAutoGammaImage</a></li>
<li><a href="#MagickAutoLevelImage">MagickAutoLevelImage</a></li>
<li><a href="#MagickAutoOrientImage">MagickAutoOrientImage</a></li>
<li><a href="#MagickAutoThresholdImage">MagickAutoThresholdImage</a></li>
<li><a href="#MagickBilateralBlurImage">MagickBilateralBlurImage</a></li>
<li><a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a></li>
<li><a href="#MagickBlueShiftImage">MagickBlueShiftImage</a></li>
<li><a href="#MagickBlurImage">MagickBlurImage</a></li>
<li><a href="#MagickBorderImage">MagickBorderImage</a></li>
<li><a href="#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></li>
<li><a href="#MagickCannyEdgeImage">MagickCannyEdgeImage</a></li>
<li><a href="#MagickChannelFxImage">MagickChannelFxImage</a></li>
<li><a href="#MagickCharcoalImage">MagickCharcoalImage</a></li>
<li><a href="#MagickChopImage">MagickChopImage</a></li>
<li><a href="#MagickCLAHEImage">MagickCLAHEImage</a></li>
<li><a href="#MagickClampImage">MagickClampImage</a></li>
<li><a href="#MagickClipImage">MagickClipImage</a></li>
<li><a href="#MagickClipImagePath">MagickClipImagePath</a></li>
<li><a href="#MagickClutImage">MagickClutImage</a></li>
<li><a href="#MagickCoalesceImages">MagickCoalesceImages</a></li>
<li><a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a></li>
<li><a href="#MagickColorizeImage">MagickColorizeImage</a></li>
<li><a href="#MagickColorMatrixImage">MagickColorMatrixImage</a></li>
<li><a href="#MagickColorThresholdImage">MagickColorThresholdImage</a></li>
<li><a href="#MagickCombineImages">MagickCombineImages</a></li>
<li><a href="#MagickCommentImage">MagickCommentImage</a></li>
<li><a href="#MagickCompareImagesLayers">MagickCompareImagesLayers</a></li>
<li><a href="#MagickCompareImages">MagickCompareImages</a></li>
<li><a href="#MagickComplexImages">MagickComplexImages</a></li>
<li><a href="#MagickCompositeImage">MagickCompositeImage</a></li>
<li><a href="#MagickCompositeImageGravity">MagickCompositeImageGravity</a></li>
<li><a href="#MagickCompositeLayers">MagickCompositeLayers</a></li>
<li><a href="#MagickConnectedComponentsImage">MagickConnectedComponentsImage</a></li>
<li><a href="#MagickContrastImage">MagickContrastImage</a></li>
<li><a href="#MagickContrastStretchImage">MagickContrastStretchImage</a></li>
<li><a href="#MagickConvolveImage">MagickConvolveImage</a></li>
<li><a href="#MagickCropImage">MagickCropImage</a></li>
<li><a href="#MagickCycleColormapImage">MagickCycleColormapImage</a></li>
<li><a href="#MagickConstituteImage">MagickConstituteImage</a></li>
<li><a href="#MagickDecipherImage">MagickDecipherImage</a></li>
<li><a href="#MagickDeconstructImages">MagickDeconstructImages</a></li>
<li><a href="#MagickDeskewImage">MagickDeskewImage</a></li>
<li><a href="#MagickDespeckleImage">MagickDespeckleImage</a></li>
<li><a href="#MagickDestroyImage">MagickDestroyImage</a></li>
<li><a href="#MagickDisplayImage">MagickDisplayImage</a></li>
<li><a href="#MagickDisplayImages">MagickDisplayImages</a></li>
<li><a href="#MagickDistortImage">MagickDistortImage</a></li>
<li><a href="#MagickDrawImage">MagickDrawImage</a></li>
<li><a href="#MagickEdgeImage">MagickEdgeImage</a></li>
<li><a href="#MagickEmbossImage">MagickEmbossImage</a></li>
<li><a href="#MagickEncipherImage">MagickEncipherImage</a></li>
<li><a href="#MagickEnhanceImage">MagickEnhanceImage</a></li>
<li><a href="#MagickEqualizeImage">MagickEqualizeImage</a></li>
<li><a href="#MagickEvaluateImage">MagickEvaluateImage</a></li>
<li><a href="#MagickExportImagePixels">MagickExportImagePixels</a></li>
<li><a href="#MagickExtentImage">MagickExtentImage</a></li>
<li><a href="#MagickFlipImage">MagickFlipImage</a></li>
<li><a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></li>
<li><a href="#MagickFlopImage">MagickFlopImage</a></li>
<li><a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></li>
<li><a href="#MagickFrameImage">MagickFrameImage</a></li>
<li><a href="#MagickFunctionImage">MagickFunctionImage</a></li>
<li><a href="#MagickFxImage">MagickFxImage</a></li>
<li><a href="#MagickGammaImage">MagickGammaImage</a></li>
<li><a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a></li>
<li><a href="#MagickGetImage">MagickGetImage</a></li>
<li><a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></li>
<li><a href="#MagickGetImageMask">MagickGetImageMask</a></li>
<li><a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></li>
<li><a href="#MagickGetImageBlob">MagickGetImageBlob</a></li>
<li><a href="#MagickGetImagesBlob">MagickGetImagesBlob</a></li>
<li><a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></li>
<li><a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a></li>
<li><a href="#MagickGetImageFeatures">MagickGetImageFeatures</a></li>
<li><a href="#MagickGetImageKurtosis">MagickGetImageKurtosis</a></li>
<li><a href="#MagickGetImageMean">MagickGetImageMean</a></li>
<li><a href="#MagickGetImageRange">MagickGetImageRange</a></li>
<li><a href="#MagickGetImageStatistics">MagickGetImageStatistics</a></li>
<li><a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a></li>
<li><a href="#MagickGetImageColors">MagickGetImageColors</a></li>
<li><a href="#MagickGetImageColorspace">MagickGetImageColorspace</a></li>
<li><a href="#MagickGetImageCompose">MagickGetImageCompose</a></li>
<li><a href="#MagickGetImageCompression">MagickGetImageCompression</a></li>
<li><a href="#MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></li>
<li><a href="#MagickGetImageDelay">MagickGetImageDelay</a></li>
<li><a href="#MagickGetImageDepth">MagickGetImageDepth</a></li>
<li><a href="#MagickGetImageDispose">MagickGetImageDispose</a></li>
<li><a href="#MagickGetImageDistortion">MagickGetImageDistortion</a></li>
<li><a href="#MagickGetImageDistortions">MagickGetImageDistortions</a></li>
<li><a href="#MagickGetImageEndian">MagickGetImageEndian</a></li>
<li><a href="#MagickGetImageFilename">MagickGetImageFilename</a></li>
<li><a href="#MagickGetImageFilter">MagickGetImageFilter</a></li>
<li><a href="#MagickGetImageFormat">MagickGetImageFormat</a></li>
<li><a href="#MagickGetImageFuzz">MagickGetImageFuzz</a></li>
<li><a href="#MagickGetImageGamma">MagickGetImageGamma</a></li>
<li><a href="#MagickGetImageGravity">MagickGetImageGravity</a></li>
<li><a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></li>
<li><a href="#MagickGetImageHeight">MagickGetImageHeight</a></li>
<li><a href="#MagickGetImageHistogram">MagickGetImageHistogram</a></li>
<li><a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></li>
<li><a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></li>
<li><a href="#MagickGetImageIterations">MagickGetImageIterations</a></li>
<li><a href="#MagickGetImageLength">MagickGetImageLength</a></li>
<li><a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a></li>
<li><a href="#MagickGetImageOrientation">MagickGetImageOrientation</a></li>
<li><a href="#MagickGetImagePage">MagickGetImagePage</a></li>
<li><a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a></li>
<li><a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></li>
<li><a href="#MagickGetImageRegion">MagickGetImageRegion</a></li>
<li><a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></li>
<li><a href="#MagickGetImageResolution">MagickGetImageResolution</a></li>
<li><a href="#MagickGetImageScene">MagickGetImageScene</a></li>
<li><a href="#MagickGetImageSignature">MagickGetImageSignature</a></li>
<li><a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></li>
<li><a href="#MagickGetImageType">MagickGetImageType</a></li>
<li><a href="#MagickGetImageUnits">MagickGetImageUnits</a></li>
<li><a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></li>
<li><a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></li>
<li><a href="#MagickGetImageWidth">MagickGetImageWidth</a></li>
<li><a href="#MagickGetNumberImages">MagickGetNumberImages</a></li>
<li><a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></li>
<li><a href="#MagickHaldClutImage">MagickHaldClutImage</a></li>
<li><a href="#MagickHasNextImage">MagickHasNextImage</a></li>
<li><a href="#MagickHasPreviousImage">MagickHasPreviousImage</a></li>
<li><a href="#MagickHoughLineImage">MagickHoughLineImage</a></li>
<li><a href="#MagickIdentifyImage">MagickIdentifyImage</a></li>
<li><a href="#MagickIdentifyImageType">MagickIdentifyImageType</a></li>
<li><a href="#MagickImplodeImage">MagickImplodeImage</a></li>
<li><a href="#MagickImportImagePixels">MagickImportImagePixels</a></li>
<li><a href="#MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></li>
<li><a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></li>
<li><a href="#MagickKmeansImage">MagickKmeansImage</a></li>
<li><a href="#Use MagickKuwaharaImage">Use MagickKuwaharaImage</a></li>
<li><a href="#MagickLabelImage">MagickLabelImage</a></li>
<li><a href="#MagickLevelImage">MagickLevelImage</a></li>
<li><a href="#MagickLevelImageColors">MagickLevelImageColors</a></li>
<li><a href="#MagickLevelizeImage">MagickLevelizeImage</a></li>
<li><a href="#MagickLinearStretchImage">MagickLinearStretchImage</a></li>
<li><a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></li>
<li><a href="#MagickLocalContrastImage">MagickLocalContrastImage</a></li>
<li><a href="#MagickMagnifyImage">MagickMagnifyImage</a></li>
<li><a href="#MagickMeanShiftImage">MagickMeanShiftImage</a></li>
<li><a href="#MagickMergeImageLayers">MagickMergeImageLayers</a></li>
<li><a href="#MagickMinifyImage">MagickMinifyImage</a></li>
<li><a href="#MagickModulateImage">MagickModulateImage</a></li>
<li><a href="#MagickMontageImage">MagickMontageImage</a></li>
<li><a href="#MagickMorphImages">MagickMorphImages</a></li>
<li><a href="#MagickMorphologyImage">MagickMorphologyImage</a></li>
<li><a href="#MagickMotionBlurImage">MagickMotionBlurImage</a></li>
<li><a href="#MagickNegateImage">MagickNegateImage</a></li>
<li><a href="#MagickNewImage">MagickNewImage</a></li>
<li><a href="#MagickNextImage">MagickNextImage</a></li>
<li><a href="#MagickNormalizeImage">MagickNormalizeImage</a></li>
<li><a href="#MagickOilPaintImage">MagickOilPaintImage</a></li>
<li><a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a></li>
<li><a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></li>
<li><a href="#MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></li>
<li><a href="#MagickOrderedDitherImage">MagickOrderedDitherImage</a></li>
<li><a href="#MagickPingImage">MagickPingImage</a></li>
<li><a href="#MagickPingImageBlob">MagickPingImageBlob</a></li>
<li><a href="#MagickPingImageFile">MagickPingImageFile</a></li>
<li><a href="#MagickPolaroidImage">MagickPolaroidImage</a></li>
<li><a href="#MagickPolynomialImage">MagickPolynomialImage</a></li>
<li><a href="#MagickPosterizeImage">MagickPosterizeImage</a></li>
<li><a href="#MagickPreviewImages">MagickPreviewImages</a></li>
<li><a href="#MagickPreviousImage">MagickPreviousImage</a></li>
<li><a href="#MagickQuantizeImage">MagickQuantizeImage</a></li>
<li><a href="#MagickQuantizeImages">MagickQuantizeImages</a></li>
<li><a href="#MagickRangeThresholdImage">MagickRangeThresholdImage</a></li>
<li><a href="#MagickRotationalBlurImage">MagickRotationalBlurImage</a></li>
<li><a href="#MagickRaiseImage">MagickRaiseImage</a></li>
<li><a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a></li>
<li><a href="#MagickReadImage">MagickReadImage</a></li>
<li><a href="#MagickReadImageBlob">MagickReadImageBlob</a></li>
<li><a href="#MagickReadImageFile">MagickReadImageFile</a></li>
<li><a href="#MagickRemapImage">MagickRemapImage</a></li>
<li><a href="#MagickRemoveImage">MagickRemoveImage</a></li>
<li><a href="#MagickResampleImage">MagickResampleImage</a></li>
<li><a href="#MagickResetImagePage">MagickResetImagePage</a></li>
<li><a href="#MagickResizeImage">MagickResizeImage</a></li>
<li><a href="#MagickRollImage">MagickRollImage</a></li>
<li><a href="#MagickRotateImage">MagickRotateImage</a></li>
<li><a href="#MagickSampleImage">MagickSampleImage</a></li>
<li><a href="#MagickScaleImage">MagickScaleImage</a></li>
<li><a href="#MagickSegmentImage">MagickSegmentImage</a></li>
<li><a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></li>
<li><a href="#MagickSeparateImage">MagickSeparateImage</a></li>
<li><a href="#MagickSepiaToneImage">MagickSepiaToneImage</a></li>
<li><a href="#MagickSetImage">MagickSetImage</a></li>
<li><a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></li>
<li><a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></li>
<li><a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></li>
<li><a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a></li>
<li><a href="#MagickSetImageChannelMask">MagickSetImageChannelMask</a></li>
<li><a href="#MagickSetImageMask">MagickSetImageMask</a></li>
<li><a href="#MagickSetImageColor">MagickSetImageColor</a></li>
<li><a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a></li>
<li><a href="#MagickSetImageColorspace">MagickSetImageColorspace</a></li>
<li><a href="#MagickSetImageCompose">MagickSetImageCompose</a></li>
<li><a href="#MagickSetImageCompression">MagickSetImageCompression</a></li>
<li><a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></li>
<li><a href="#MagickSetImageDelay">MagickSetImageDelay</a></li>
<li><a href="#MagickSetImageDepth">MagickSetImageDepth</a></li>
<li><a href="#MagickSetImageDispose">MagickSetImageDispose</a></li>
<li><a href="#MagickSetImageEndian">MagickSetImageEndian</a></li>
<li><a href="#MagickSetImageExtent">MagickSetImageExtent</a></li>
<li><a href="#MagickSetImageFilename">MagickSetImageFilename</a></li>
<li><a href="#MagickSetImageFilter">MagickSetImageFilter</a></li>
<li><a href="#MagickSetImageFormat">MagickSetImageFormat</a></li>
<li><a href="#MagickSetImageFuzz">MagickSetImageFuzz</a></li>
<li><a href="#MagickSetImageGamma">MagickSetImageGamma</a></li>
<li><a href="#MagickSetImageGravity">MagickSetImageGravity</a></li>
<li><a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></li>
<li><a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></li>
<li><a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></li>
<li><a href="#MagickSetImageIterations">MagickSetImageIterations</a></li>
<li><a href="#MagickSetImageMatte">MagickSetImageMatte</a></li>
<li><a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a></li>
<li><a href="#MagickSetImageAlpha">MagickSetImageAlpha</a></li>
<li><a href="#MagickSetImageOrientation">MagickSetImageOrientation</a></li>
<li><a href="#MagickSetImagePage">MagickSetImagePage</a></li>
<li><a href="#MagickSetImagePixelColor">MagickSetImagePixelColor</a></li>
<li><a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></li>
<li><a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></li>
<li><a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></li>
<li><a href="#MagickSetImageResolution">MagickSetImageResolution</a></li>
<li><a href="#MagickSetImageScene">MagickSetImageScene</a></li>
<li><a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></li>
<li><a href="#MagickSetImageType">MagickSetImageType</a></li>
<li><a href="#MagickSetImageUnits">MagickSetImageUnits</a></li>
<li><a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></li>
<li><a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></li>
<li><a href="#MagickShadeImage">MagickShadeImage</a></li>
<li><a href="#MagickShadowImage">MagickShadowImage</a></li>
<li><a href="#MagickSharpenImage">MagickSharpenImage</a></li>
<li><a href="#MagickShaveImage">MagickShaveImage</a></li>
<li><a href="#MagickShearImage">MagickShearImage</a></li>
<li><a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></li>
<li><a href="#MagickSimilarityImage">MagickSimilarityImage</a></li>
<li><a href="#MagickSketchImage">MagickSketchImage</a></li>
<li><a href="#MagickSmushImages">MagickSmushImages</a></li>
<li><a href="#MagickSolarizeImage">MagickSolarizeImage</a></li>
<li><a href="#MagickSparseColorImage">MagickSparseColorImage</a></li>
<li><a href="#MagickSpliceImage">MagickSpliceImage</a></li>
<li><a href="#MagickSpreadImage">MagickSpreadImage</a></li>
<li><a href="#MagickStatisticImage">MagickStatisticImage</a></li>
<li><a href="#MagickSteganoImage">MagickSteganoImage</a></li>
<li><a href="#MagickStereoImage">MagickStereoImage</a></li>
<li><a href="#MagickStripImage">MagickStripImage</a></li>
<li><a href="#MagickSwirlImage">MagickSwirlImage</a></li>
<li><a href="#MagickTextureImage">MagickTextureImage</a></li>
<li><a href="#MagickThresholdImage">MagickThresholdImage</a></li>
<li><a href="#MagickThumbnailImage">MagickThumbnailImage</a></li>
<li><a href="#MagickTintImage">MagickTintImage</a></li>
<li><a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a></li>
<li><a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a></li>
<li><a href="#MagickTransposeImage">MagickTransposeImage</a></li>
<li><a href="#MagickTransverseImage">MagickTransverseImage</a></li>
<li><a href="#MagickTrimImage">MagickTrimImage</a></li>
<li><a href="#MagickUniqueImageColors">MagickUniqueImageColors</a></li>
<li><a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></li>
<li><a href="#MagickVignetteImage">MagickVignetteImage</a></li>
<li><a href="#MagickWaveImage">MagickWaveImage</a></li>
<li><a href="#MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a></li>
<li><a href="#MagickWhiteBalanceImage">MagickWhiteBalanceImage</a></li>
<li><a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></li>
<li><a href="#MagickWriteImage">MagickWriteImage</a></li>
<li><a href="#MagickWriteImageFile">MagickWriteImageFile</a></li>
<li><a href="#MagickWriteImages">MagickWriteImages</a></li>
</ul>
</div>
<br/>
<br/>
<div class="magick-header">
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
<p>The format of the GetImageFromMagickWand method is:</p>
<pre class="bg-light text-dark mx-4"><samp>Image *GetImageFromMagickWand(const MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
<p>MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur 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 MagickAdaptiveBlurImage() selects a suitable radius for you.</p>
<p>The format of the MagickAdaptiveBlurImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
<p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
<p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
<p>MagickAdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen 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 MagickAdaptiveSharpenImage() selects a suitable radius for you.</p>
<p>The format of the MagickAdaptiveSharpenImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
const size_t width,const size_t height,const double bias)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the width of the local neighborhood. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the height of the local neighborhood. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>the mean bias. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
<p>MagickAddImage() adds a clone of the images from the second wand and inserts them into the first wand.</p>
<p>Use MagickSetLastIterator(), to append new images into an existing wand, current image will be set to last image so later adds with also be appended to end of wand.</p>
<p>Use MagickSetFirstIterator() to prepend new images into wand, any more images added will also be prepended before other images in the wand. However the order of a list of new images will not change.</p>
<p>Otherwise the new images will be inserted just after the current image, and any later image will also be added after this current image but before the previously added images. Caution is advised when multiple image adds are inserted into the middle of the wand image list.</p>
<p>The format of the MagickAddImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAddImage(MagickWand *wand,
const MagickWand *add_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>add_wand</dt>
<dd>A wand that contains the image list to be added </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
<p>MagickAddNoiseImage() adds random noise to the image.</p>
<p>The format of the MagickAddNoiseImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
const NoiseType noise_type,const double attenuate)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>noise_type</dt>
<dd> The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. </dd>
<dd> </dd>
<dt>attenuate</dt>
<dd> attenuate the random distribution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
const DrawingWand *drawing_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>drawing_wand</dt>
<dd>the draw wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
<p>MagickAnnotateImage() annotates an image with text.</p>
<p>The format of the MagickAnnotateImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAnnotateImage(MagickWand *wand,
const DrawingWand *drawing_wand,const double x,const double y,
const double angle,const char *text)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>drawing_wand</dt>
<dd>the draw wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>x ordinate to left of text </dd>
<dd> </dd>
<dt>y</dt>
<dd>y ordinate to text baseline </dd>
<dd> </dd>
<dt>angle</dt>
<dd>rotate text relative to this angle. </dd>
<dd> </dd>
<dt>text</dt>
<dd>text to draw </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
<p>MagickAnimateImages() animates an image or image sequence.</p>
<p>The format of the MagickAnimateImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAnimateImages(MagickWand *wand,
const char *server_name)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>server_name</dt>
<dd>the X server name. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
<p>MagickAppendImages() append the images in a wand from the current image onwards, creating a new wand with the single image result. This is affected by the gravity and background settings of the first image.</p>
<p>Typically you would call either MagickResetIterator() or MagickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.</p>
<p>The format of the MagickAppendImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickAppendImages(MagickWand *wand,
const MagickBooleanType stack)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>stack</dt>
<dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
<p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.</p>
<p>The format of the MagickAutoGammaImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
<p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p>
<p>The format of the MagickAutoLevelImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoOrientImage">MagickAutoOrientImage</a></h2>
<p>MagickAutoOrientImage() adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).</p>
<p>The format of the MagickAutoOrientImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoOrientImage(MagickWand *image)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoThresholdImage">MagickAutoThresholdImage</a></h2>
<p>MagickAutoThresholdImage() automatically performs image thresholding dependent on which method you specify.</p>
<p>The format of the AutoThresholdImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoThresholdImage(MagickWand *wand,
const AutoThresholdMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>choose from KapurThresholdMethod, OTSUThresholdMethod, or TriangleThresholdMethod. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBilateralBlurImage">MagickBilateralBlurImage</a></h2>
<p>MagickBilateralBlurImage() is a non-linear, edge-preserving, and noise-reducing smoothing filter for images. It replaces the intensity of each pixel with a weighted average of intensity values from nearby pixels. This weight is based on a Gaussian distribution. The weights depend not only on Euclidean distance of pixels, but also on the radiometric differences (e.g., range differences, such as color intensity, depth distance, etc.). This preserves sharp edges.</p>
<p>The format of the MagickBilateralBlurImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBilateralBlurImage(MagickWand *wand,
const double radius,const double sigma,const double intensity_sigma,
const double spatial_sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the , in pixels. </dd>
<dd> </dd>
<dt>intensity_sigma</dt>
<dd>sigma in the intensity space. A larger value means that farther colors within the pixel neighborhood (see spatial_sigma) will be mixed together, resulting in larger areas of semi-equal color. </dd>
<dd> </dd>
<dt>spatial_sigma</dt>
<dd>sigma in the coordinate space. A larger value means that farther pixels influence each other as long as their colors are close enough (see intensity_sigma ). When the neighborhood diameter is greater than zero, it specifies the neighborhood size regardless of spatial_sigma. Otherwise, the neighborhood diameter is proportional to spatial_sigma. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
const PixelWand *threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>the pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
<p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
<p>The format of the MagickBlueShiftImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
const double factor)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>factor</dt>
<dd>the blue shift factor (default 1.5) </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the , in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBorderImage(MagickWand *wand,
const PixelWand *bordercolor,const size_t width,
const size_t height,const CompositeOperator compose)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>bordercolor</dt>
<dd>the border color pixel wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the border width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the border height. </dd>
<dd> </dd>
<dt>compose</dt>
<dd>the composite operator. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
<p>Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomial function to apply to the image.</p>
<p>The format of the MagickBrightnessContrastImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
const double brightness,const double contrast)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>brightness</dt>
<dd>the brightness percent (-100 .. 100). </dd>
<dd> </dd>
<dt>contrast</dt>
<dd>the contrast percent (-100 .. 100). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCannyEdgeImage">MagickCannyEdgeImage</a></h2>
<p>MagickCannyEdgeImage() uses a multi-stage algorithm to detect a wide range of edges in images.</p>
<p>The format of the MagickCannyEdgeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCannyEdgeImage(MagickWand *wand,
const double radius,const double sigma,const double lower_percent,
const double upper_percent)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the gaussian smoothing filter. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the sigma of the gaussian smoothing filter. </dd>
<dd> </dd>
<dt>lower_percent</dt>
<dd>percentage of edge pixels in the lower threshold. </dd>
<dd> </dd>
<dt>upper_percent</dt>
<dd>percentage of edge pixels in the upper threshold. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChannelFxImage">MagickChannelFxImage</a></h2>
<p>MagickChannelFxImage() applies a channel expression to the specified image. The expression consists of one or more channels, either mnemonic or numeric (e.g. red, 1), separated by actions as follows:</p>
<dd>
</dd>
<dd> <=> exchange two channels (e.g. red<=>blue) => transfer a channel to another (e.g. red=>green) , separate channel operations (e.g. red, green) | read channels from next input image (e.g. red | green) ; write channels to next output image (e.g. red; green; blue) </dd>
<dd> A channel without a operation symbol implies extract. For example, to create 3 grayscale images from the red, green, and blue channels of an image, use: </dd>
<pre class="bg-light text-dark mx-4"><samp> -channel-fx "red; green; blue"
</samp></pre>
<p>The format of the MagickChannelFxImage method is: </p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickChannelFxImage(MagickWand *wand,const char *expression)
</samp></pre>
<p>A description of each parameter follows: </p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>expression</dt>
<dd>the expression. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
<p>The format of the MagickCharcoalImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCharcoalImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickChopImage(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,
const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the region width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the region height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the region x offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the region y offset. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCLAHEImage">MagickCLAHEImage</a></h2>
<p>MagickCLAHEImage() is a variant of adaptive histogram equalization in which the contrast amplification is limited, so as to reduce this problem of noise amplification.</p>
<p>The format of the CLAHEImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCLAHEImage(MagickWand *wand,const size_t width,
const size_t height,const double number_bins,const double clip_limit)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the width of the tile divisions to use in horizontal direction. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the height of the tile divisions to use in vertical direction. </dd>
<dd> </dd>
<dt>number_bins</dt>
<dd>number of bins for histogram ("dynamic range"). Although parameter is currently a double, it is cast to size_t internally. </dd>
<dd> </dd>
<dt>clip_limit</dt>
<dd>contrast limit for localised changes in contrast. A limit less than 1 results in standard non-contrast limited AHE. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
<p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
<p>The format of the MagickClampImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClampImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>the channel. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClipImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
<p>MagickClipImagePath() 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 MagickClipImagePath method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClipImagePath(MagickWand *wand,
const char *pathname,const MagickBooleanType inside)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pathname</dt>
<dd>name of clipping path resource. If name is preceded by #, use clipping path numbered by name. </dd>
<dd> </dd>
<dt>inside</dt>
<dd>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
<p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
<p>The format of the MagickClutImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClutImage(MagickWand *wand,
const MagickWand *clut_wand,const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>clut_image</dt>
<dd>the clut image. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickCoalesceImages(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
<p>MagickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image. Here is a sample CCC file:</p>
<pre class="bg-light text-dark mx-4"><samp> <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
<ColorCorrection id="cc03345">
<SOPNode>
<Slope> 0.9 1.2 0.5 </Slope>
<Offset> 0.4 -0.5 0.6 </Offset>
<Power> 1.0 0.8 1.5 </Power>
</SOPNode>
<SATNode>
<Saturation> 0.85 </Saturation>
</SATNode>
</ColorCorrection>
</ColorCorrectionCollection>
</samp></pre>
<p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p>
<p>The format of the MagickColorDecisionListImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
const char *color_correction_collection)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>color_correction_collection</dt>
<dd>the color correction collection in XML. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
<p>The format of the MagickColorizeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorizeImage(MagickWand *wand,
const PixelWand *colorize,const PixelWand *blend)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>colorize</dt>
<dd>the colorize pixel wand. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>the alpha pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
<p>MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p>
<p>The format of the MagickColorMatrixImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
const KernelInfo *color_matrix)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>color_matrix</dt>
<dd> the color matrix. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorThresholdImage">MagickColorThresholdImage</a></h2>
<p>MagickColorThresholdImage() forces all pixels in the color range to white otherwise black.</p>
<p>The format of the MagickColorThresholdImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorThresholdImage(MagickWand *wand,
const PixelWand *start_color,const PixelWand *stop_color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>start_color</dt>
<dd>the start color pixel wand. </dd>
<dd> </dd>
<dt>stop_color</dt>
<dd>the stop color pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
<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 channels 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="bg-light text-dark mx-4"><samp>MagickWand *MagickCombineImages(MagickWand *wand,
const ColorspaceType colorspace)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>the colorspace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
<p>MagickCommentImage() adds a comment to your image.</p>
<p>The format of the MagickCommentImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCommentImage(MagickWand *wand,
const char *comment)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>comment</dt>
<dd>the image comment. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImagesLayers">MagickCompareImagesLayers</a></h2>
<p>MagickCompareImagesLayers() 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 MagickCompareImagesLayers method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickCompareImagesLayers(MagickWand *wand,
const LayerMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the compare method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
<p>MagickCompareImages() 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="bg-light text-dark mx-4"><samp>MagickWand *MagickCompareImages(MagickWand *wand,
const MagickWand *reference,const MetricType metric,
double *distortion)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>reference</dt>
<dd>the reference wand. </dd>
<dd> </dd>
<dt>metric</dt>
<dd>the metric. </dd>
<dd> </dd>
<dt>distortion</dt>
<dd>the computed distortion between the images. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickComplexImages">MagickComplexImages</a></h2>
<p>MagickComplexImages() performs complex mathematics on an image sequence.</p>
<p>The format of the MagickComplexImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickComplexImages(MagickWand *wand,
const ComplexOperator op)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>op</dt>
<dd>A complex operator. Choose from AddComplexOperator, ConjugateComplexOperator,DivideComplexOperator, MagnitudePhaseComplexOperator,MultiplyComplexOperator, RealImaginaryComplexOperator, SubtractComplexOperator. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
<p>The format of the MagickCompositeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeImage(MagickWand *wand,
const MagickWand *source_wand,const CompositeOperator compose,
const MagickBooleanType clip_to_self,const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand holding the destination images </dd>
<dd> </dd>
<dt>source_image</dt>
<dd>the magick wand holding source image. </dd>
<dd> </dd>
<dt>compose</dt>
<dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods available. </dd>
<dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd>
<dd> </dd>
<dt>clip_to_self</dt>
<dd>set to MagickTrue to limit composition to area composed. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the column offset of the composited image. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the row offset of the composited image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImageGravity">MagickCompositeImageGravity</a></h2>
<p>MagickCompositeImageGravity() composite one image onto another using the specified gravity.</p>
<p>The format of the MagickCompositeImageGravity method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeImageGravity(MagickWand *wand,
const MagickWand *source_wand,const CompositeOperator compose,
const GravityType gravity)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand holding the destination images </dd>
<dd> </dd>
<dt>source_image</dt>
<dd>the magick wand holding source image. </dd>
<dd> </dd>
<dt>compose</dt>
<dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods available. </dd>
<dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd>
<dd> </dd>
<dt>gravity</dt>
<dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeLayers">MagickCompositeLayers</a></h2>
<p>MagickCompositeLayers() composite the images in the source wand over the images in the destination wand in sequence, starting with the current image in both lists.</p>
<p>Each layer from the two image lists are composted together until the end of one of the image lists is reached. The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.</p>
<p>Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destination images. This makes it well suitable for directly composing 'Clears Frame Animations' or 'Coalesced Animations' onto a static or other 'Coalesced Animation' destination image list. GIF disposal handling is not looked at.</p>
<p>Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatedly composed with all the images in the other image list. Either the source or destination lists may be the single image, for this situation.</p>
<p>In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.</p>
<p>This is equivalent to the "-layer Composite" Shell API operator.</p>
<p>The format of the MagickCompositeLayers method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeLayers(MagickWand *wand,
const MagickWand *source_wand, const CompositeOperator compose,
const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand holding destination images </dd>
<dd> </dd>
<dt>source_wand</dt>
<dd>the wand holding the source images </dd>
<dd> </dd>
<dt>compose, x, y</dt>
<dd> composition arguments </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConnectedComponentsImage">MagickConnectedComponentsImage</a></h2>
<p>MagickConnectedComponentsImage() returns the connected-components of the image uniquely labeled. The returned connected components image colors member defines the number of unique objects. Choose from 4 or 8-way connectivity.</p>
<p>The format of the MagickConnectedComponentsImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConnectedComponentsImage(MagickWand *wand,
const size_t connectivity,CCObjectInfo **objects)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>connectivity</dt>
<dd>how many neighbors to visit, choose from 4 or 8. </dd>
<dd> </dd>
<dt>objects</dt>
<dd>return the attributes of each unique object. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickContrastImage(MagickWand *wand,
const MagickBooleanType sharpen)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>sharpen</dt>
<dd>Increase or decrease image contrast. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
<p>MagickContrastStretchImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available. You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickContrastStretchImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
const double black_point,const double white_point)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>black_point</dt>
<dd>the black point. </dd>
<dd> </dd>
<dt>white_point</dt>
<dd>the white point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
<p>The format of the MagickConvolveImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConvolveImage(MagickWand *wand,
const KernelInfo *kernel)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>kernel</dt>
<dd>An array of doubles representing the convolution kernel. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
<p>MagickCropImage() extracts a region of the image.</p>
<p>The format of the MagickCropImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCropImage(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the region width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the region height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the region x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the region y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
const ssize_t displace)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pixel_wand</dt>
<dd>the pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
<p>MagickConstituteImage() adds an image to the wand comprised of 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,480,"RGB",CharPixel,pixels);</p>
<p>The format of the MagickConstituteImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConstituteImage(MagickWand *wand,
const size_t columns,const size_t rows,const char *map,
const StorageType storage,void *pixels)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>width in pixels of the image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>height in pixels of the image. </dd>
<dd> </dd>
<dt>map</dt>
<dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
<dd> </dd>
<dt>storage</dt>
<dd>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. </dd>
<dd> </dd>
<dt>pixels</dt>
<dd>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. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
<p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
<p>The format of the MagickDecipherImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDecipherImage(MagickWand *wand,
const char *passphrase)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>passphrase</dt>
<dd>the passphrase. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickDeconstructImages(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
<p>MagickDeskewImage() removes skew from the image. Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.</p>
<p>The format of the MagickDeskewImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDeskewImage(MagickWand *wand,
const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>separate background from foreground. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
<p>MagickDespeckleImage() reduces the speckle noise in an image while preserving the edges of the original image.</p>
<p>The format of the MagickDespeckleImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDespeckleImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
<p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
<p>The format of the MagickDestroyImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>Image *MagickDestroyImage(Image *image)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
<p>MagickDisplayImage() displays an image.</p>
<p>The format of the MagickDisplayImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDisplayImage(MagickWand *wand,
const char *server_name)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>server_name</dt>
<dd>the X server name. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
<p>MagickDisplayImages() displays an image or image sequence.</p>
<p>The format of the MagickDisplayImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDisplayImages(MagickWand *wand,
const char *server_name)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>server_name</dt>
<dd>the X server name. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
<p>MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usually of the same size as the source image, unless 'bestfit' is set to true.</p>
<p>If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.</p>
<p>The format of the MagickDistortImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDistortImage(MagickWand *wand,
const DistortMethod method,const size_t number_arguments,
const double *arguments,const MagickBooleanType bestfit)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image to be distorted. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the method of image distortion. </dd>
<dd> ArcDistortion always ignores the source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd>
<dd> Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion. </dd>
<dd> Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd>
<dd> Perspective, and Bilinear, falls back to a Affine distortion when less that 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a no-Op (viewport only) distortion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing. </dd>
<dd> </dd>
<dt>number_arguments</dt>
<dd>the number of arguments given for this distortion method. </dd>
<dd> </dd>
<dt>arguments</dt>
<dd>the arguments for this distortion method. </dd>
<dd> </dd>
<dt>bestfit</dt>
<dd>Attempt to resize destination to fit distorted source. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
<p>MagickDrawImage() renders the drawing wand on the current image.</p>
<p>The format of the MagickDrawImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDrawImage(MagickWand *wand,
const DrawingWand *drawing_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>drawing_wand</dt>
<dd>the draw wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the pixel neighborhood. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
<p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
<p>The format of the MagickEncipherImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEncipherImage(MagickWand *wand,
const char *passphrase)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>passphrase</dt>
<dd>the passphrase. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEnhanceImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
<p>MagickEqualizeImage() equalizes the image histogram.</p>
<p>The format of the MagickEqualizeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEqualizeImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>the image channel(s). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
<p>MagickEvaluateImage() applies 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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEvaluateImage(MagickWand *wand,
const MagickEvaluateOperator operator,const double value)
MagickBooleanType MagickEvaluateImages(MagickWand *wand,
const MagickEvaluateOperator operator)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>op</dt>
<dd>A channel operator. </dd>
<dd> </dd>
<dt>value</dt>
<dd>A value value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
<p>MagickExportImagePixels() 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, ssize_t, 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="bg-light text-dark mx-4"><samp>MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
</samp></pre>
<p>The format of the MagickExportImagePixels method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickExportImagePixels(MagickWand *wand,
const ssize_t x,const ssize_t y,const size_t columns,
const size_t rows,const char *map,const StorageType storage,
void *pixels)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x, y, columns, rows</dt>
<dd> These values define the perimeter of a region of pixels you want to extract. </dd>
<dd> </dd>
<dt>map</dt>
<dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
<dd> </dd>
<dt>storage</dt>
<dd>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. </dd>
<dd> </dd>
<dt>pixels</dt>
<dd>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. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
<p>MagickExtentImage() extends the image as defined by the geometry, gravity, and wand background color. Set the (x,y) offset of the geometry to move the original wand relative to the extended wand.</p>
<p>The format of the MagickExtentImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickExtentImage(MagickWand *wand,const size_t width,
const size_t height,const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the region width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the region height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the region x offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the region y offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFlipImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
<p>MagickFloodfillPaintImage() 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 MagickFloodfillPaintImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
const ssize_t x,const ssize_t y,const MagickBooleanType invert)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>fill</dt>
<dd>the floodfill color pixel wand. </dd>
<dd> </dd>
<dt>fuzz</dt>
<dd>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. </dd>
<dd> </dd>
<dt>bordercolor</dt>
<dd>the border color pixel wand. </dd>
<dd> </dd>
<dt>x,y</dt>
<dd>the starting location of the operation. </dd>
<dd> </dd>
<dt>invert</dt>
<dd>paint any pixel that does not match the target color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFlopImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
<p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
<p>The format of the MagickForwardFourierTransformImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
const MagickBooleanType magnitude)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>magnitude</dt>
<dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFrameImage(MagickWand *wand,
const PixelWand *matte_color,const size_t width,
const size_t height,const ssize_t inner_bevel,
const ssize_t outer_bevel,const CompositeOperator compose)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>matte_color</dt>
<dd>the frame color pixel wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the border width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the border height. </dd>
<dd> </dd>
<dt>inner_bevel</dt>
<dd>the inner bevel width. </dd>
<dd> </dd>
<dt>outer_bevel</dt>
<dd>the outer bevel width. </dd>
<dd> </dd>
<dt>compose</dt>
<dd>the composite operator. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
<p>MagickFunctionImage() applies 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 MagickFunctionImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFunctionImage(MagickWand *wand,
const MagickFunction function,const size_t number_arguments,
const double *arguments)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>function</dt>
<dd>the image function. </dd>
<dd> </dd>
<dt>number_arguments</dt>
<dd>the number of function arguments. </dd>
<dd> </dd>
<dt>arguments</dt>
<dd>the function arguments. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
<p>The format of the MagickFxImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>expression</dt>
<dd>the expression. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>level</dt>
<dd>Define the level of gamma correction. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
<p>MagickGetImage() gets the image at the current image index.</p>
<p>The format of the MagickGetImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
<p>MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated. That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.</p>
<p>The format of the MagickGetImageAlphaChannel method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageAlphaChannel(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMask">MagickGetImageMask</a></h2>
<p>MagickGetImageMask() gets the image clip mask at the current image index.</p>
<p>The format of the MagickGetImageMask method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImageMask(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>type</dt>
<dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
<p>MagickGetImageBackgroundColor() returns the image background color.</p>
<p>The format of the MagickGetImageBackgroundColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
PixelWand *background_color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background_color</dt>
<dd>Return the background color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
<p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob (a formatted "file" in memory) and its length, starting from the current position in the image sequence. Use MagickSetImageFormat() to set the format to write to the blob (GIF, JPEG, PNG, etc.).</p>
<p>Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.</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="bg-light text-dark mx-4"><samp>unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the blob. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagesBlob">MagickGetImagesBlob</a></h2>
<p>MagickGetImagesBlob() 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="bg-light text-dark mx-4"><samp>unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the blob. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
<p>MagickGetImageBluePrimary() returns the chromaticity blue primary point for the image.</p>
<p>The format of the MagickGetImageBluePrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
double *y,double *z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the chromaticity blue primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the chromaticity blue primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the chromaticity blue primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
<p>MagickGetImageBorderColor() returns the image border color.</p>
<p>The format of the MagickGetImageBorderColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
PixelWand *border_color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>border_color</dt>
<dd>Return the border color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFeatures">MagickGetImageFeatures</a></h2>
<p>MagickGetImageFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance. The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum variance, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient. You can access the red channel contrast, for example, like this:</p>
<pre class="bg-light text-dark mx-4"><samp>channel_features=MagickGetImageFeatures(wand,1);
contrast=channel_features[RedPixelChannel].contrast[0];
</samp></pre>
<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
<p>The format of the MagickGetImageFeatures method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ChannelFeatures *MagickGetImageFeatures(MagickWand *wand,
const size_t distance)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>distance</dt>
<dd>the distance. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageKurtosis">MagickGetImageKurtosis</a></h2>
<p>MagickGetImageKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
<p>The format of the MagickGetImageKurtosis method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageKurtosis(MagickWand *wand,
double *kurtosis,double *skewness)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>kurtosis</dt>
<dd> The kurtosis for the specified channel(s). </dd>
<dd> </dd>
<dt>skewness</dt>
<dd> The skewness for the specified channel(s). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMean">MagickGetImageMean</a></h2>
<p>MagickGetImageMean() gets the mean and standard deviation of one or more image channels.</p>
<p>The format of the MagickGetImageMean method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageMean(MagickWand *wand,double *mean,
double *standard_deviation)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>the image channel(s). </dd>
<dd> </dd>
<dt>mean</dt>
<dd> The mean pixel value for the specified channel(s). </dd>
<dd> </dd>
<dt>standard_deviation</dt>
<dd> The standard deviation for the specified channel(s). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRange">MagickGetImageRange</a></h2>
<p>MagickGetImageRange() gets the range for one or more image channels.</p>
<p>The format of the MagickGetImageRange method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageRange(MagickWand *wand,double *minima,
double *maxima)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>minima</dt>
<dd> The minimum pixel value for the specified channel(s). </dd>
<dd> </dd>
<dt>maxima</dt>
<dd> The maximum pixel value for the specified channel(s). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageStatistics">MagickGetImageStatistics</a></h2>
<p>MagickGetImageStatistics() returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, the standard deviation, the kurtosis and the skewness. You can access the red channel mean, for example, like this:</p>
<pre class="bg-light text-dark mx-4"><samp>channel_statistics=MagickGetImageStatistics(wand);
red_mean=channel_statistics[RedPixelChannel].mean;
</samp></pre>
<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
<p>The format of the MagickGetImageStatistics method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ChannelStatistics *MagickGetImageStatistics(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
<p>The format of the MagickGetImageColormapColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
const size_t index,PixelWand *color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>index</dt>
<dd>the offset into the image colormap. </dd>
<dd> </dd>
<dt>color</dt>
<dd>Return the colormap color in this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
<p>The format of the MagickGetImageColors method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageColors(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
<p>MagickGetImageColorspace() gets the image colorspace.</p>
<p>The format of the MagickGetImageColorspace method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ColorspaceType MagickGetImageColorspace(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
<p>The format of the MagickGetImageCompose method is:</p>
<pre class="bg-light text-dark mx-4"><samp>CompositeOperator MagickGetImageCompose(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
<p>MagickGetImageCompression() gets the image compression.</p>
<p>The format of the MagickGetImageCompression method is:</p>
<pre class="bg-light text-dark mx-4"><samp>CompressionType MagickGetImageCompression(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></h2>
<p>MagickGetImageCompressionQuality() gets the image compression quality.</p>
<p>The format of the MagickGetImageCompressionQuality method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageCompressionQuality(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
<p>MagickGetImageDelay() gets the image delay.</p>
<p>The format of the MagickGetImageDelay method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageDelay(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
<p>MagickGetImageDepth() gets the image depth.</p>
<p>The format of the MagickGetImageDepth method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageDepth(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
<p>MagickGetImageDispose() gets the image disposal method.</p>
<p>The format of the MagickGetImageDispose method is:</p>
<pre class="bg-light text-dark mx-4"><samp>DisposeType MagickGetImageDispose(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
const MagickWand *reference,const MetricType metric,
double *distortion)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>reference</dt>
<dd>the reference wand. </dd>
<dd> </dd>
<dt>metric</dt>
<dd>the metric. </dd>
<dd> </dd>
<dt>distortion</dt>
<dd>the computed distortion between the images. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortions">MagickGetImageDistortions</a></h2>
<p>MagickGetImageDistortions() compares one or more pixel channels of an image to a reconstructed image and returns the specified distortion metrics.</p>
<p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
<p>The format of the MagickGetImageDistortion method is:</p>
<pre class="bg-light text-dark mx-4"><samp>double *MagickGetImageDistortion(MagickWand *wand,
const MagickWand *reference,const MetricType metric)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>reference</dt>
<dd>the reference wand. </dd>
<dd> </dd>
<dt>metric</dt>
<dd>the metric. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageEndian">MagickGetImageEndian</a></h2>
<p>MagickGetImageEndian() gets the image endian.</p>
<p>The format of the MagickGetImageEndian method is:</p>
<pre class="bg-light text-dark mx-4"><samp>EndianType MagickGetImageEndian(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
<p>The format of the MagickGetImageFilename method is:</p>
<pre class="bg-light text-dark mx-4"><samp>char *MagickGetImageFilename(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFilter">MagickGetImageFilter</a></h2>
<p>MagickGetImageFilter() gets the image filter.</p>
<p>The format of the MagickGetImageFilter method is:</p>
<pre class="bg-light text-dark mx-4"><samp>FilterType MagickGetImageFilter(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
<p>The format of the MagickGetImageFormat method is:</p>
<pre class="bg-light text-dark mx-4"><samp>char *MagickGetImageFormat(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
<p>MagickGetImageFuzz() gets the image fuzz.</p>
<p>The format of the MagickGetImageFuzz method is:</p>
<pre class="bg-light text-dark mx-4"><samp>double MagickGetImageFuzz(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
<p>MagickGetImageGamma() gets the image gamma.</p>
<p>The format of the MagickGetImageGamma method is:</p>
<pre class="bg-light text-dark mx-4"><samp>double MagickGetImageGamma(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
<p>MagickGetImageGravity() gets the image gravity.</p>
<p>The format of the MagickGetImageGravity method is:</p>
<pre class="bg-light text-dark mx-4"><samp>GravityType MagickGetImageGravity(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
<p>MagickGetImageGreenPrimary() returns the chromaticity green primary point.</p>
<p>The format of the MagickGetImageGreenPrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
double *y,double *z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the chromaticity green primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the chromaticity green primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the chromaticity green primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
<p>MagickGetImageHeight() returns the image height.</p>
<p>The format of the MagickGetImageHeight method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageHeight(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
<p>The format of the MagickGetImageHistogram method is:</p>
<pre class="bg-light text-dark mx-4"><samp>PixelWand **MagickGetImageHistogram(MagickWand *wand,
size_t *number_colors)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_colors</dt>
<dd>the number of unique colors in the image and the number of pixel wands returned. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
<p>The format of the MagickGetImageInterlaceScheme method is:</p>
<pre class="bg-light text-dark mx-4"><samp>InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
<p>MagickGetImageInterpolateMethod() returns the interpolation method for the specified image.</p>
<p>The format of the MagickGetImageInterpolateMethod method is:</p>
<pre class="bg-light text-dark mx-4"><samp>PixelInterpolateMethod MagickGetImageInterpolateMethod(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
<p>MagickGetImageIterations() gets the image iterations.</p>
<p>The format of the MagickGetImageIterations method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageIterations(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
<p>MagickGetImageLength() returns the image length in bytes.</p>
<p>The format of the MagickGetImageLength method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageLength(MagickWand *wand,
MagickSizeType *length)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the image length in bytes. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
<p>MagickGetImageMatteColor() returns the image matte color.</p>
<p>The format of the MagickGetImageMatteColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageMatteColor(MagickWand *wand,
PixelWand *matte_color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>matte_color</dt>
<dd>return the alpha color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
<p>MagickGetImageOrientation() returns the image orientation.</p>
<p>The format of the MagickGetImageOrientation method is:</p>
<pre class="bg-light text-dark mx-4"><samp>OrientationType MagickGetImageOrientation(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
<p>The format of the MagickGetImagePage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImagePage(MagickWand *wand,
size_t *width,size_t *height,ssize_t *x,ssize_t *y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the page width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the page height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the page x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the page y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
<p>MagickGetImagePixelColor() gets the color of the specified pixel.</p>
<p>The format of the MagickGetImagePixelColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
const ssize_t x,const ssize_t y,PixelWand *color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x,y</dt>
<dd>the pixel offset into the image. </dd>
<dd> </dd>
<dt>color</dt>
<dd>Return the colormap color in this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
<p>MagickGetImageRedPrimary() returns the chromaticity red primary point.</p>
<p>The format of the MagickGetImageRedPrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
double *y, double *z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the chromaticity red primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the chromaticity red primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the chromaticity red primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImageRegion(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,
const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the region width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the region height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the region x offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the region y offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
<p>The format of the MagickGetImageRenderingIntent method is:</p>
<pre class="bg-light text-dark mx-4"><samp>RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
<p>The format of the MagickGetImageResolution method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
double *y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the image x-resolution. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the image y-resolution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
<p>MagickGetImageScene() gets the image scene.</p>
<p>The format of the MagickGetImageScene method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageScene(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
<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="bg-light text-dark mx-4"><samp>char *MagickGetImageSignature(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
<p>The format of the MagickGetImageTicksPerSecond method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageTicksPerSecond(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
<p>MagickGetImageType() gets the potential image type:</p>
<p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
<p>The format of the MagickGetImageType method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ImageType MagickGetImageType(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
<p>MagickGetImageUnits() gets the image units of resolution.</p>
<p>The format of the MagickGetImageUnits method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ResolutionType MagickGetImageUnits(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the specified image.</p>
<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
<pre class="bg-light text-dark mx-4"><samp>VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
<p>MagickGetImageWhitePoint() returns the chromaticity white point.</p>
<p>The format of the MagickGetImageWhitePoint method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
double *y,double *z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the chromaticity white x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the chromaticity white y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the chromaticity white z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
<p>MagickGetImageWidth() returns the image width.</p>
<p>The format of the MagickGetImageWidth method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageWidth(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
<p>The format of the MagickGetNumberImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>size_t MagickGetNumberImages(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
<p>The format of the MagickGetImageTotalInkDensity method is:</p>
<pre class="bg-light text-dark mx-4"><samp>double MagickGetImageTotalInkDensity(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
<p>MagickHaldClutImage() replaces colors in the image from a Hald color lookup table. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.</p>
<p>The format of the MagickHaldClutImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHaldClutImage(MagickWand *wand,
const MagickWand *hald_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>hald_image</dt>
<dd>the hald CLUT image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHasNextImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHoughLineImage">MagickHoughLineImage</a></h2>
<p>MagickHoughLineImage() can be used in conjunction with any binary edge extracted image (we recommend Canny) to identify lines in the image. The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines.</p>
<p>The format of the MagickHoughLineImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHoughLineImage(MagickWand *wand,
const size_t width,const size_t height,const size_t threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width, height</dt>
<dd>find line pairs as local maxima in this neighborhood. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>the line count threshold. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
<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="bg-light text-dark mx-4"><samp>const char *MagickIdentifyImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImageType">MagickIdentifyImageType</a></h2>
<p>MagickIdentifyImageType() 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="bg-light text-dark mx-4"><samp> (void) MagickSetImageType(wand,MagickIdentifyImageType(wand));
</samp></pre>
<p>The format of the MagickIdentifyImageType method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ImageType MagickIdentifyImageType(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickImplodeImage(MagickWand *wand,
const double radius,const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>amount</dt>
<dd>Define the extent of the implosion. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
<p>MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p>
<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
</samp></pre>
<p>The format of the MagickImportImagePixels method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickImportImagePixels(MagickWand *wand,
const ssize_t x,const ssize_t y,const size_t columns,
const size_t rows,const char *map,const StorageType storage,
const void *pixels)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x, y, columns, rows</dt>
<dd> These values define the perimeter of a region of pixels you want to define. </dd>
<dd> </dd>
<dt>map</dt>
<dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
<dd> </dd>
<dt>storage</dt>
<dd>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. </dd>
<dd> </dd>
<dt>pixels</dt>
<dd>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. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></h2>
<p>MagickInterpolativeResizeImage() resize image using a interpolative method.</p>
<p>MagickBooleanType MagickInterpolativeResizeImage(MagickWand *wand, const size_t columns,const size_t rows, const PixelInterpolateMethod method)</p>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dt>interpolate</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
<p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
<p>The format of the MagickInverseFourierTransformImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickInverseFourierTransformImage(
MagickWand *magnitude_wand,MagickWand *phase_wand,
const MagickBooleanType magnitude)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>magnitude_wand</dt>
<dd>the magnitude or real wand. </dd>
<dd> </dd>
<dt>phase_wand</dt>
<dd>the phase or imaginary wand. </dd>
<dd> </dd>
<dt>magnitude</dt>
<dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickKmeansImage">MagickKmeansImage</a></h2>
<p>MagickKmeansImage() applies k-means color reduction to an image. This is a colorspace clustering or segmentation technique.</p>
<p>The format of the MagickKmeansImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickKmeansImage(MagickWand *wand,
const size_t number_colors, const size_t max_iterations,
const double tolerance)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_colors</dt>
<dd>number of colors to use as seeds. </dd>
<dd> </dd>
<dt>max_iterations</dt>
<dd>maximum number of iterations while converging. </dd>
<dd> </dd>
<dt>tolerance</dt>
<dd>the maximum tolerance. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickKuwaharaImage">Use MagickKuwaharaImage</a></h2>
<p>Use MagickKuwaharaImage() is an edge preserving noise reduction filter.</p>
<p>The format of the MagickKuwaharaImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickKuwaharaImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the square window radius. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
<p>MagickLabelImage() adds a label to your image.</p>
<p>The format of the MagickLabelImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>label</dt>
<dd>the image label. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelImage(MagickWand *wand,
const double black_point,const double gamma,const double white_point)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>Identify which channel to level: RedPixelChannel, GreenPixelChannel, etc. </dd>
<dd> </dd>
<dt>black_point</dt>
<dd>the black point. </dd>
<dd> </dd>
<dt>gamma</dt>
<dd>the gamma. </dd>
<dd> </dd>
<dt>white_point</dt>
<dd>the white point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImageColors">MagickLevelImageColors</a></h2>
<p>MagickLevelImageColors() maps the given color to "black" and "white" values, linearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.</p>
<p>The format of the MagickLevelImageColors method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelImageColors(MagickWand *wand,
const PixelWand *black_color,const PixelWand *white_color,
const MagickBooleanType invert)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>black_color</dt>
<dd>the black color. </dd>
<dd> </dd>
<dt>white_color</dt>
<dd>the white color. </dd>
<dd> </dd>
<dt>invert</dt>
<dd>if true map the colors (levelize), rather than from (level) </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelizeImage">MagickLevelizeImage</a></h2>
<p>MagickLevelizeImage() applies the reversed MagickLevelImage(). It compresses the full range of color values, so that they lie between the given black and white points. Gamma is applied before the values are mapped. It can be used to de-contrast a greyscale image to the exact levels specified.</p>
<p>The format of the MagickLevelizeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelizeImage(MagickWand *wand,
const double black_point, const double white_point,const double gamma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>black_point</dt>
<dd>The level to map zero (black) to. </dd>
<dd> </dd>
<dt>white_point</dt>
<dd>The level to map QuantumRange (white) to. </dd>
<dd> </dd>
<dt>gamma</dt>
<dd>adjust gamma by this factor before mapping values. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
<p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
<p>The format of the MagickLinearStretchImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
const double black_point,const double white_point)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>black_point</dt>
<dd>the black point. </dd>
<dd> </dd>
<dt>white_point</dt>
<dd>the white point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
<p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
<p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dt>delta_x</dt>
<dd>maximum seam transversal step (0 means straight seams). </dd>
<dd> </dd>
<dt>rigidity</dt>
<dd>introduce a bias for non-straight seams (typically 0). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLocalContrastImage">MagickLocalContrastImage</a></h2>
<p>MagickLocalContrastImage() attempts to increase the appearance of large-scale light-dark transitions. Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.</p>
<p>MagickBooleanType MagickLocalContrastImage(MagickWand *wand, const double radius,const double strength)</p>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>strength</dt>
<dd>the strength of the blur mask in percentage. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMagnifyImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMeanShiftImage">MagickMeanShiftImage</a></h2>
<p>MagickMeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
<p>The format of the MagickMeanShiftImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMeanShiftImage(MagickWand *wand,
const size_t number_terms,const double *terms)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width, height</dt>
<dd>find pixels in this neighborhood. </dd>
<dd> </dd>
<dt>color_distance</dt>
<dd>the color distance. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
<p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p>
<p>The inital canvas's size depends on the given LayerMethod, and is initialized using the first images background color. The images are then composited onto that image in sequence using the given composition that has been assigned to each individual image.</p>
<p>The format of the MagickMergeImageLayers method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickMergeImageLayers(MagickWand *wand,
const LayerMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the method of selecting the size of the initial canvas. </dd>
<dd> MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored. </dd>
<dd> FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas. </dd>
<dd> MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMinifyImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickModulateImage(MagickWand *wand,
const double brightness,const double saturation,const double hue)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>brightness</dt>
<dd>the percent change in brightness. </dd>
<dd> </dd>
<dt>saturation</dt>
<dd>the percent change in saturation. </dd>
<dd> </dd>
<dt>hue</dt>
<dd>the percent change in hue. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickMontageImage(MagickWand *wand,
const DrawingWand drawing_wand,const char *tile_geometry,
const char *thumbnail_geometry,const MontageMode mode,
const char *frame)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>drawing_wand</dt>
<dd>the drawing wand. The font name, size, and color are obtained from this wand. </dd>
<dd> </dd>
<dt>tile_geometry</dt>
<dd>the number of tiles per row and page (e.g. 6x4+0+0). </dd>
<dd> </dd>
<dt>thumbnail_geometry</dt>
<dd>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>). </dd>
<dd> </dd>
<dt>mode</dt>
<dd>Thumbnail framing mode: Frame, Unframe, or Concatenate. </dd>
<dd> </dd>
<dt>frame</dt>
<dd>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickMorphImages(MagickWand *wand,
const size_t number_frames)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_frames</dt>
<dd>the number of in-between images to generate. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
<p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given morphology method.</p>
<p>The format of the MagickMorphologyImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMorphologyImage(MagickWand *wand,
const MorphologyMethod method,const ssize_t iterations,
const KernelInfo *kernel)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the morphology method to be applied. </dd>
<dd> </dd>
<dt>iterations</dt>
<dd>apply the operation this many times (or no change). A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1. </dd>
<dd> </dd>
<dt>kernel</dt>
<dd>An array of doubles representing the morphology kernel. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
const double radius,const double sigma,const double angle)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
<dt>angle</dt>
<dd>Apply the effect along this angle. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNegateImage(MagickWand *wand,
const MagickBooleanType gray)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>gray</dt>
<dd>If MagickTrue, only negate grayscale pixels within the image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNewImage(MagickWand *wand,
const size_t columns,const size_t rows,
const PixelWand *background)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the image width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the image height. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the image color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
<p>MagickNextImage() sets the next image in the wand as the current image.</p>
<p>It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty).</p>
<p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the last image.</p>
<p>When the above condition (end of image list) is reached, the iterator is automatically set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again). You can jump to this condition immediately using MagickSetLastIterator().</p>
<p>The format of the MagickNextImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNextImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNormalizeImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOilPaintImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the circular neighborhood. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
<p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
<p>The format of the MagickOpaquePaintImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
const PixelWand *target,const PixelWand *fill,const double fuzz,
const MagickBooleanType invert)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>target</dt>
<dd>Change this target color to the fill color within the image. </dd>
<dd> </dd>
<dt>fill</dt>
<dd>the fill pixel wand. </dd>
<dd> </dd>
<dt>fuzz</dt>
<dd>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. </dd>
<dd> </dd>
<dt>invert</dt>
<dd>paint any pixel that does not match the target color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
<p>MagickOptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the animation.</p>
<p>The format of the MagickOptimizeImageLayers method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></h2>
<p>MagickOptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation. Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.</p>
<p>WARNING: This modifies the current images directly, rather than generate a new image sequence. The format of the MagickOptimizeImageTransparency method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOrderedDitherImage">MagickOrderedDitherImage</a></h2>
<p>MagickOrderedDitherImage() performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments.</p>
<p>The format of the MagickOrderedDitherImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOrderedDitherImage(MagickWand *wand,
const char *threshold_map)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
<dt>threshold_map</dt>
<dd>A string containing the name of the threshold dither map to use, followed by zero or more numbers representing the number of color levels tho dither between. </dd>
<dd> Any level number less than 2 is equivalent to 2, and means only binary dithering will be applied to each color channel. </dd>
<dd> No numbers also means a 2 level (bitmap) dither will be applied to all channels, while a single number is the number of levels applied to each channel in sequence. More numbers will be applied in turn to each of the color channels. </dd>
<dd> For example: "o3x3,6" generates a 6 level posterization of the image with a ordered 3x3 diffused pixel dither being applied between each level. While checker,8,8,4 will produce a 332 colormaped image with only a single checkerboard hash pattern (50 grey) between each color level, to basically double the number of color levels with a bare minimum of dithering. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
<p>MagickPingImage() is the same as 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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
<p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
<p>The format of the MagickPingImageBlob method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImageBlob(MagickWand *wand,
const void *blob,const size_t length)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>blob</dt>
<dd>the blob. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the blob length. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
<p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
<p>The format of the MagickPingImageFile method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>file</dt>
<dd>the file descriptor. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
<p>MagickPolaroidImage() simulates a Polaroid picture.</p>
<p>The format of the MagickPolaroidImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPolaroidImage(MagickWand *wand,
const DrawingWand *drawing_wand,const char *caption,const double angle,
const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>drawing_wand</dt>
<dd>the draw wand. </dd>
<dd> </dd>
<dt>caption</dt>
<dd>the Polaroid caption. </dd>
<dd> </dd>
<dt>angle</dt>
<dd>Apply the effect along this angle. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolynomialImage">MagickPolynomialImage</a></h2>
<p>MagickPolynomialImage() returns an image where each pixel is the sum of the pixels in the image sequence after applying its corresponding terms (coefficient and degree pairs).</p>
<p>The format of the MagickPolynomialImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPolynomialImage(MagickWand *wand,
const size_t number_terms,const double *terms)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_terms</dt>
<dd>the number of terms in the list. The actual list length is 2 x number_terms + 1 (the constant). </dd>
<dd> </dd>
<dt>terms</dt>
<dd>the list of polynomial coefficients and degree pairs and a constant. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
<p>The format of the MagickPosterizeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPosterizeImage(MagickWand *wand,
const size_t levels,const DitherMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>levels</dt>
<dd>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect. </dd>
<dd> </dd>
<dt>method</dt>
<dd>choose the dither method: UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
<p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This 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="bg-light text-dark mx-4"><samp>MagickWand *MagickPreviewImages(MagickWand *wand,
const PreviewType preview)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>preview</dt>
<dd>the preview type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
<p>MagickPreviousImage() sets the previous image in the wand as the current image.</p>
<p>It is typically used after MagickSetLastIterator(), after which its first use will set the last image as the current image (unless the wand is empty).</p>
<p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the first image. At that point the iterator is than reset to again process images in the forward direction, again starting with the first image in list. Images added at this point are prepended.</p>
<p>Also at that point any images added to the wand using MagickAddImages() or MagickReadImages() will be prepended before the first image. In this sense the condition is not quite exactly the same as MagickResetIterator().</p>
<p>The format of the MagickPreviousImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPreviousImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickQuantizeImage(MagickWand *wand,
const size_t number_colors,const ColorspaceType colorspace,
const size_t treedepth,const DitherMethod dither_method,
const MagickBooleanType measure_error)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_colors</dt>
<dd>the number of colors. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
<dd> </dd>
<dt>treedepth</dt>
<dd>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. </dd>
<dd> </dd>
<dt>dither_method</dt>
<dd>choose from UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, FloydSteinbergDitherMethod. </dd>
<dd> </dd>
<dt>measure_error</dt>
<dd>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. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickQuantizeImages(MagickWand *wand,
const size_t number_colors,const ColorspaceType colorspace,
const size_t treedepth,const DitherMethod dither_method,
const MagickBooleanType measure_error)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_colors</dt>
<dd>the number of colors. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
<dd> </dd>
<dt>treedepth</dt>
<dd>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. </dd>
<dd> </dd>
<dt>dither_method</dt>
<dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
<dd> </dd>
<dt>measure_error</dt>
<dd>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. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRangeThresholdImage">MagickRangeThresholdImage</a></h2>
<p>MagickRangeThresholdImage() applies soft and hard thresholding.</p>
<p>The format of the RangeThresholdImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRangeThresholdImage(MagickWand *wand,
const double low_black,const double low_white,const double high_white,
const double high_black)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>low_black</dt>
<dd>Define the minimum threshold value. </dd>
<dd> </dd>
<dt>low_white</dt>
<dd>Define the maximum threshold value. </dd>
<dd> </dd>
<dt>high_white</dt>
<dd>Define the minimum threshold value. </dd>
<dd> </dd>
<dt>low_white</dt>
<dd>Define the maximum threshold value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotationalBlurImage">MagickRotationalBlurImage</a></h2>
<p>MagickRotationalBlurImage() rotational blurs an image.</p>
<p>The format of the MagickRotationalBlurImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRotationalBlurImage(MagickWand *wand,
const double angle)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>angle</dt>
<dd>the angle of the blur in degrees. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRaiseImage(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,
const ssize_t y,const MagickBooleanType raise)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width,height,x,y</dt>
<dd> Define the dimensions of the area to raise. </dd>
<dd> </dd>
<dt>raise</dt>
<dd>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
<p>MagickRandomThresholdImage() 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 MagickRandomThresholdImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
const double low,const double high)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>low,high</dt>
<dd>Specify the high and low thresholds. These values range from 0 to QuantumRange. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
<p>MagickReadImage() reads an image or image sequence. The images are inserted just before the current image pointer position.</p>
<p>Use MagickSetFirstIterator(), to insert new images before all the current images in the wand, MagickSetLastIterator() to append add to the end, MagickSetIteratorIndex() to place images just after the given index.</p>
<p>The format of the MagickReadImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
<p>MagickReadImageBlob() reads an image or image sequence from a blob. In all other respects it is like MagickReadImage().</p>
<p>The format of the MagickReadImageBlob method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImageBlob(MagickWand *wand,
const void *blob,const size_t length)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>blob</dt>
<dd>the blob. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the blob length. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
<p>MagickReadImageFile() reads an image or image sequence from an already opened file descriptor. Otherwise it is like MagickReadImage().</p>
<p>The format of the MagickReadImageFile method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>file</dt>
<dd>the file descriptor. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
<p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
<p>The format of the MagickRemapImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRemapImage(MagickWand *wand,
const MagickWand *remap_wand,const DitherMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>affinity</dt>
<dd>the affinity wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
<p>MagickRemoveImage() removes an image from the image list.</p>
<p>The format of the MagickRemoveImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRemoveImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>insert</dt>
<dd>the splice wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
<p>MagickResampleImage() resample image to desired resolution.</p>
<p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quadratic 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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResampleImage(MagickWand *wand,
const double x_resolution,const double y_resolution,
const FilterType filter)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x_resolution</dt>
<dd>the new image x resolution. </dd>
<dd> </dd>
<dt>y_resolution</dt>
<dd>the new image y resolution. </dd>
<dd> </dd>
<dt>filter</dt>
<dd>Image filter to use. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
<p>MagickResetImagePage() resets the Wand page canvas and position.</p>
<p>The format of the MagickResetImagePage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResetImagePage(MagickWand *wand,
const char *page)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>page</dt>
<dd>the relative page specification. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
<pre class="bg-light text-dark mx-4"><samp> Bessel Blackman Box
Catrom CubicGaussian
Hanning Hermite Lanczos
Mitchell PointQuadratic
Sinc Triangle
</samp></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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResizeImage(MagickWand *wand,
const size_t columns,const size_t rows,const FilterType filter)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dt>filter</dt>
<dd>Image filter to use. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
<p>MagickRollImage() offsets an image as defined by x and y.</p>
<p>The format of the MagickRollImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
const size_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the x offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the y offset. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRotateImage(MagickWand *wand,
const PixelWand *background,const double degrees)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the background pixel wand. </dd>
<dd> </dd>
<dt>degrees</dt>
<dd>the number of degrees to rotate the image. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSampleImage(MagickWand *wand,
const size_t columns,const size_t rows)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
<p>The format of the MagickScaleImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickScaleImage(MagickWand *wand,
const size_t columns,const size_t rows)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
<p>MagickSegmentImage() segments an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.</p>
<p>The format of the SegmentImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSegmentImage(MagickWand *wand,
const ColorspaceType colorspace,const MagickBooleanType verbose,
const double cluster_threshold,const double smooth_threshold)
</samp></pre>
<p>A description of each parameter follows.</p>
<dt>wand</dt>
<p>the wand.</p>
<dt>colorspace</dt>
<p>the image colorspace.</p>
<dt>verbose</dt>
<p>Set to MagickTrue to print detailed information about the identified classes.</p>
<dt>cluster_threshold</dt>
<p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p>
<dt>smooth_threshold</dt>
<p>the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.</p>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
<p>MagickSelectiveBlurImage() selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.</p>
<p>The format of the MagickSelectiveBlurImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
const double radius,const double sigma,const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the gaussian, in pixels. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>only pixels within this contrast threshold are included in the blur operation. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSeparateImage">MagickSeparateImage</a></h2>
<p>MagickSeparateImage() 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 MagickSeparateImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSeparateImage(MagickWand *wand,
const ChannelType channel)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>the channel. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
<p>MagickSepiaToneImage() 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 MagickSepiaToneImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd> Define the extent of the sepia toning. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
<p>MagickSetImage() replaces the last image returned by MagickSetIteratorIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
<p>The format of the MagickSetImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImage(MagickWand *wand,
const MagickWand *set_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>set_wand</dt>
<dd>the set_wand wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
<p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
<p>The format of the MagickSetImageAlphaChannel method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
const AlphaChannelOption alpha_type)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>alpha_type</dt>
<dd>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
<p>MagickSetImageBackgroundColor() sets the image background color.</p>
<p>The format of the MagickSetImageBackgroundColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
const PixelWand *background)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the background pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
<p>The format of the MagickSetImageBluePrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
const double x,const double y,const double z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the blue primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the blue primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the blue primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
<p>MagickSetImageBorderColor() sets the image border color.</p>
<p>The format of the MagickSetImageBorderColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
const PixelWand *border)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>border</dt>
<dd>the border pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageChannelMask">MagickSetImageChannelMask</a></h2>
<p>MagickSetImageChannelMask() sets image channel mask.</p>
<p>The format of the MagickSetImageChannelMask method is:</p>
<pre class="bg-light text-dark mx-4"><samp>ChannelType MagickSetImageChannelMask(MagickWand *wand,
const ChannelType channel_mask)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel_mask</dt>
<dd>the channel_mask wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMask">MagickSetImageMask</a></h2>
<p>MagickSetImageMask() sets image clip mask.</p>
<p>The format of the MagickSetImageMask method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMask(MagickWand *wand,
const PixelMask type,const MagickWand *clip_mask)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>type</dt>
<dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
<dd> </dd>
<dt>clip_mask</dt>
<dd>the clip_mask wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
<p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
<p>The format of the MagickSetImageColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColor(MagickWand *wand,
const PixelWand *color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the image color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
<p>The format of the MagickSetImageColormapColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
const size_t index,const PixelWand *color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>index</dt>
<dd>the offset into the image colormap. </dd>
<dd> </dd>
<dt>color</dt>
<dd>Return the colormap color in this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
<p>MagickSetImageColorspace() sets the image colorspace. But does not modify the image data.</p>
<p>The format of the MagickSetImageColorspace method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
const ColorspaceType colorspace)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompose(MagickWand *wand,
const CompositeOperator compose)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>compose</dt>
<dd>the image composite operator. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
<p>MagickSetImageCompression() sets the image compression.</p>
<p>The format of the MagickSetImageCompression method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompression(MagickWand *wand,
const CompressionType compression)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>compression</dt>
<dd>the image compression type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
<p>The format of the MagickSetImageCompressionQuality method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
const size_t quality)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>quality</dt>
<dd>the image compression tlityype. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
<p>MagickSetImageDelay() sets the image delay.</p>
<p>The format of the MagickSetImageDelay method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDelay(MagickWand *wand,
const size_t delay)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>delay</dt>
<dd>the image delay in ticks-per-second units. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
<p>MagickSetImageDepth() sets the image depth.</p>
<p>The format of the MagickSetImageDepth method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDepth(MagickWand *wand,
const size_t depth)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>depth</dt>
<dd>the image depth in bits: 8, 16, or 32. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
<p>MagickSetImageDispose() sets the image disposal method.</p>
<p>The format of the MagickSetImageDispose method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDispose(MagickWand *wand,
const DisposeType dispose)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>dispose</dt>
<dd>the image disposal type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageEndian">MagickSetImageEndian</a></h2>
<p>MagickSetImageEndian() sets the image endian method.</p>
<p>The format of the MagickSetImageEndian method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageEndian(MagickWand *wand,
const EndianType endian)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>endian</dt>
<dd>the image endian type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
<p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p>
<p>The format of the MagickSetImageExtent method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageExtent(MagickWand *wand,
const size_t columns,const unsigned rows)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd> The image width in pixels. </dd>
<dd> </dd>
<dt>rows</dt>
<dd> The image height in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
<p>The format of the MagickSetImageFilename method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFilename(MagickWand *wand,
const char *filename)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFilter">MagickSetImageFilter</a></h2>
<p>MagickSetImageFilter() sets the image filter type.</p>
<p>The format of the MagickSetImageFilter method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFilter(MagickWand *wand,
const FilterType filter)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filter</dt>
<dd>Bartlett, Blackman, Bohman, Box, Catrom, Cosine, Cubic, CubicSpline, Gaussian, Hamming, Hann, Hermite, Jinc, Kaiser, Lagrange, Lanczos, Lanczos2, Lanczos2Sharp, LanczosRadius, LanczosSharp, Mitchell, Parzen, Point, Quadratic, Robidoux, RobidouxSharp, Sinc, SincFast, Spline, Triangle, Undefined, Welch. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
<p>The format of the MagickSetImageFormat method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFormat(MagickWand *wand,
const char *format)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>format</dt>
<dd>the image format. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
<p>MagickSetImageFuzz() sets the image fuzz.</p>
<p>The format of the MagickSetImageFuzz method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
const double fuzz)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>fuzz</dt>
<dd>the image fuzz. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
<p>MagickSetImageGamma() sets the image gamma.</p>
<p>The format of the MagickSetImageGamma method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGamma(MagickWand *wand,
const double gamma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>gamma</dt>
<dd>the image gamma. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
<p>MagickSetImageGravity() sets the image gravity type.</p>
<p>The format of the MagickSetImageGravity method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGravity(MagickWand *wand,
const GravityType gravity)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>gravity</dt>
<dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
<p>The format of the MagickSetImageGreenPrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
const double x,const double y,const double z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the green primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the green primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the green primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
<p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
<p>The format of the MagickSetImageInterlaceScheme method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
const InterlaceType interlace)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>interlace</dt>
<dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
<p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
<p>The format of the MagickSetImageInterpolateMethod method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
<p>MagickSetImageIterations() sets the image iterations.</p>
<p>The format of the MagickSetImageIterations method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageIterations(MagickWand *wand,
const size_t iterations)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>delay</dt>
<dd>the image delay in 1/100th of a second. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
<p>MagickSetImageMatte() sets the image matte channel.</p>
<p>The format of the MagickSetImageMatte method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMatte(MagickWand *wand,
const MagickBooleanType *matte)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>matte</dt>
<dd>Set to MagickTrue to enable the image matte channel otherwise MagickFalse. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
<p>MagickSetImageMatteColor() sets the image alpha color.</p>
<p>The format of the MagickSetImageMatteColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
const PixelWand *matte)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>matte</dt>
<dd>the alpha pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlpha">MagickSetImageAlpha</a></h2>
<p>MagickSetImageAlpha() sets the image to the specified alpha level.</p>
<p>The format of the MagickSetImageAlpha method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageAlpha(MagickWand *wand,
const double alpha)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
<p>MagickSetImageOrientation() sets the image orientation.</p>
<p>The format of the MagickSetImageOrientation method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
const OrientationType orientation)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>orientation</dt>
<dd>the image orientation type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
<p>MagickSetImagePage() sets the page geometry of the image.</p>
<p>The format of the MagickSetImagePage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImagePage(MagickWand *wand,const size_t width, const size_t height,const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the page width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the page height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the page x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the page y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePixelColor">MagickSetImagePixelColor</a></h2>
<p>MagickSetImagePixelColor() sets the color of the specified pixel.</p>
<p>The format of the MagickSetImagePixelColor method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImagePixelColor(MagickWand *wand,
const ssize_t x,const ssize_t y,const PixelWand *color)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x,y</dt>
<dd>the pixel offset into the image. </dd>
<dd> </dd>
<dt>color</dt>
<dd>Return the colormap color in this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
<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="bg-light text-dark mx-4"><samp> MagickBooleanType MagickProgressMonitor(const char *text,
const MagickOffsetType offset,const MagickSizeType span,
void *client_data)
</samp></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="bg-light text-dark mx-4"><samp>MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
const MagickProgressMonitor progress_monitor,void *client_data)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>progress_monitor</dt>
<dd>Specifies a pointer to a method to monitor progress of an image operation. </dd>
<dd> </dd>
<dt>client_data</dt>
<dd>Specifies a pointer to any client data. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
<p>The format of the MagickSetImageRedPrimary method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
const double x,const double y,const double z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the red primary x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the red primary y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the red primary z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
<p>The format of the MagickSetImageRenderingIntent method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
const RenderingIntent rendering_intent)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>rendering_intent</dt>
<dd>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
<p>MagickSetImageResolution() sets the image resolution.</p>
<p>The format of the MagickSetImageResolution method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageResolution(MagickWand *wand,
const double x_resolution,const double y_resolution)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x_resolution</dt>
<dd>the image x resolution. </dd>
<dd> </dd>
<dt>y_resolution</dt>
<dd>the image y resolution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
<p>MagickSetImageScene() sets the image scene.</p>
<p>The format of the MagickSetImageScene method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageScene(MagickWand *wand,
const size_t scene)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>delay</dt>
<dd>the image scene number. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
<p>The format of the MagickSetImageTicksPerSecond method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
const ssize_t ticks_per-second)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>ticks_per_second</dt>
<dd>the units to use for the image delay. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
<p>MagickSetImageType() sets the image type.</p>
<p>The format of the MagickSetImageType method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageType(MagickWand *wand,
const ImageType image_type)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>image_type</dt>
<dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
<p>MagickSetImageUnits() sets the image units of resolution.</p>
<p>The format of the MagickSetImageUnits method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageUnits(MagickWand *wand,
const ResolutionType units)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>units</dt>
<dd>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
<pre class="bg-light text-dark mx-4"><samp>VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
const VirtualPixelMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
<p>The format of the MagickSetImageWhitePoint method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
const double x,const double y,const double z)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the white x-point. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the white y-point. </dd>
<dd> </dd>
<dt>z</dt>
<dd>the white z-point. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
<p>MagickShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.</p>
<p>The format of the MagickShadeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShadeImage(MagickWand *wand,
const MagickBooleanType gray,const double azimuth,
const double elevation)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>gray</dt>
<dd>A value other than zero shades the intensity of each pixel. </dd>
<dd> </dd>
<dt>azimuth, elevation</dt>
<dd> Define the light source direction. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
<p>MagickShadowImage() simulates an image shadow.</p>
<p>The format of the MagickShadowImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShadowImage(MagickWand *wand,const double alpha,
const double sigma,const ssize_t x,const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>percentage transparency. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the shadow x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the shadow y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
<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 MagickSharpenImage() selects a suitable radius for you.</p>
<p>The format of the MagickSharpenImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSharpenImage(MagickWand *wand,
const double radius,const double sigma)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShaveImage(MagickWand *wand,
const size_t columns,const size_t rows)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShearImage(MagickWand *wand,
const PixelWand *background,const double x_shear,const double y_shear)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the background pixel wand. </dd>
<dd> </dd>
<dt>x_shear</dt>
<dd>the number of degrees to shear the image. </dd>
<dd> </dd>
<dt>y_shear</dt>
<dd>the number of degrees to shear the image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
const MagickBooleanType sharpen,const double alpha,const double beta)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>sharpen</dt>
<dd>Increase or decrease image contrast. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>strength of the contrast, the larger the number the more 'threshold-like' it becomes. </dd>
<dd> </dd>
<dt>beta</dt>
<dd>midpoint of the function as a color value 0 to QuantumRange. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
<p>MagickSimilarityImage() compares the reference image of the image and returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.</p>
<p>The format of the MagickSimilarityImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickSimilarityImage(MagickWand *wand,
const MagickWand *reference,const MetricType metric,
const double similarity_threshold,RectangleInfo *offset,
double *similarity)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>reference</dt>
<dd>the reference wand. </dd>
<dd> </dd>
<dt>metric</dt>
<dd>the metric. </dd>
<dd> </dd>
<dt>similarity_threshold</dt>
<dd>minimum distortion for (sub)image match. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>the best match offset of the reference image within the image. </dd>
<dd> </dd>
<dt>similarity</dt>
<dd>the computed similarity between the images. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
<p>MagickSketchImage() simulates a pencil sketch. 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 SketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p>
<p>The format of the MagickSketchImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSketchImage(MagickWand *wand,
const double radius,const double sigma,const double angle)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
<dt>angle</dt>
<dd>apply the effect along this angle. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSmushImages">MagickSmushImages</a></h2>
<p>MagickSmushImages() takes all images from the current image pointer to the end of the image list and smushes them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.</p>
<p>The format of the MagickSmushImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickSmushImages(MagickWand *wand,
const MagickBooleanType stack,const ssize_t offset)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>stack</dt>
<dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>minimum distance in pixels between images. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSolarizeImage(MagickWand *wand,
const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd> Define the extent of the solarization. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
<p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p>
<p>The format of the MagickSparseColorImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSparseColorImage(MagickWand *wand,
const SparseColorMethod method,const size_t number_arguments,
const double *arguments)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image to be sparseed. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the method of image sparseion. </dd>
<dd> ArcSparseColorion will always ignore source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd>
<dd> Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion. </dd>
<dd> Affine, Perspective, and Bilinear, will do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd>
<dd> Perspective, and Bilinear, will fall back to a Affine sparseion when less than 4 control point pairs are provided. While Affine sparseions will let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distortion, one pair is a translation and two pairs of control points will do a scale-rotate-translate, without any shearing. </dd>
<dd> </dd>
<dt>number_arguments</dt>
<dd>the number of arguments given for this sparseion method. </dd>
<dd> </dd>
<dt>arguments</dt>
<dd>the arguments for this sparseion method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
<p>MagickSpliceImage() splices a solid color into the image.</p>
<p>The format of the MagickSpliceImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSpliceImage(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,
const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the region width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the region height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the region x offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the region y offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSpreadImage(MagickWand *wand,
const PixelInterpolateMethod method,const double radius)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd> interpolation method. </dd>
<dd> </dd>
<dt>radius</dt>
<dd> Choose a random pixel in a neighborhood of this extent. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStatisticImage">MagickStatisticImage</a></h2>
<p>MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.</p>
<p>The format of the MagickStatisticImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickStatisticImage(MagickWand *wand,
const StatisticType type,const double width,const size_t height)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>type</dt>
<dd>the statistic type (e.g. median, mode, etc.). </dd>
<dd> </dd>
<dt>width</dt>
<dd>the width of the pixel neighborhood. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the height of the pixel neighborhood. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickSteganoImage(MagickWand *wand,
const MagickWand *watermark_wand,const ssize_t offset)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>watermark_wand</dt>
<dd>the watermark wand. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>Start hiding at this offset into the image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickStereoImage(MagickWand *wand,
const MagickWand *offset_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>offset_wand</dt>
<dd>Another image wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
<p>MagickStripImage() strips an image of all profiles and comments.</p>
<p>The format of the MagickStripImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickStripImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees,
const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>degrees</dt>
<dd>Define the tightness of the swirling effect. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickWand *MagickTextureImage(MagickWand *wand,
const MagickWand *texture_wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>texture_wand</dt>
<dd>the texture wand </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickThresholdImage(MagickWand *wand,
const double threshold)
MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
const ChannelType channel,const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>channel</dt>
<dd>the image channel(s). </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>Define the threshold value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickThumbnailImage(MagickWand *wand,
const size_t columns,const size_t rows)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the number of columns in the scaled image. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the number of rows in the scaled image. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTintImage(MagickWand *wand,
const PixelWand *tint,const PixelWand *blend)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>tint</dt>
<dd>the tint pixel wand. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>the alpha pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
<p>MagickTransformImageColorspace() transform the image colorspace, setting the images colorspace while transforming the images data to that colorspace.</p>
<p>The format of the MagickTransformImageColorspace method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
const ColorspaceType colorspace)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>the image colorspace: UndefinedColorspace, sRGBColorspace, RGBColorspace, GRAYColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, HSLColorspace, HWBColorspace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
<p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
<p>The format of the MagickTransparentPaintImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
const PixelWand *target,const double alpha,const double fuzz,
const MagickBooleanType invert)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>target</dt>
<dd>Change this target color to specified alpha value within the image. </dd>
<dd> </dd>
<dt>alpha</dt>
<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
<dd> </dd>
<dt>fuzz</dt>
<dd>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. </dd>
<dd> </dd>
<dt>invert</dt>
<dd>paint any pixel that does not match the target color. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
<p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p>
<p>The format of the MagickTransposeImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransposeImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
<p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p>
<p>The format of the MagickTransverseImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransverseImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
<p>MagickTrimImage() remove edges that are the background color from the image.</p>
<p>The format of the MagickTrimImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>fuzz</dt>
<dd>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. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
<p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
<p>The format of the MagickUniqueImageColors method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
const double radius,const double sigma,const double gain,
const double threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the standard deviation of the Gaussian, in pixels. </dd>
<dd> </dd>
<dt>gain</dt>
<dd>the percentage of the difference between the original and the blur image that is added back into the original. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>the threshold in pixels needed to apply the difference gain. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
<p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
<p>The format of the MagickVignetteImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickVignetteImage(MagickWand *wand,
const double radius,const double sigma,const ssize_t x,
const ssize_t y)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>radius</dt>
<dd>the radius. </dd>
<dd> </dd>
<dt>sigma</dt>
<dd>the sigma. </dd>
<dd> </dd>
<dt>x, y</dt>
<dd> Define the x and y ellipse offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWaveImage(MagickWand *wand,
const double amplitude,const double wave_length,
const PixelInterpolateMethod method)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>amplitude, wave_length</dt>
<dd> Define the amplitude and wave length of the sine wave. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the pixel interpolation method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a></h2>
<p>MagickWaveletDenoiseImage() removes noise from the image using a wavelet transform. The wavelet transform is a fast hierarchical scheme for processing an image using a set of consecutive lowpass and high_pass filters, followed by a decimation. This results in a decomposition into different scales which can be regarded as different “frequency bands”, determined by the mother wavelet.</p>
<p>The format of the MagickWaveletDenoiseImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWaveletDenoiseImage(MagickWand *wand,
const double threshold,const double softness)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>set the threshold for smoothing. </dd>
<dd> </dd>
<dt>softness</dt>
<dd>attenuate the smoothing threshold. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteBalanceImage">MagickWhiteBalanceImage</a></h2>
<p>MagickWhiteBalanceImage() applies white balancing to an image according to a grayworld assumption in the LAB colorspace.</p>
<p>The format of the WhiteBalanceImage method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType WhiteBalanceImage(MagickWand *wand)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
<p>MagickWhiteThresholdImage() is like ThresholdImage() but force 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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
const PixelWand *threshold)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>threshold</dt>
<dd>the pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
<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="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImage(MagickWand *wand,
const char *filename)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
<p>The format of the MagickWriteImageFile method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>file</dt>
<dd>the file descriptor. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
<p>MagickWriteImages() writes an image or image sequence.</p>
<p>The format of the MagickWriteImages method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImages(MagickWand *wand,
const char *filename,const MagickBooleanType adjoin)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
<dt>adjoin</dt>
<dd>join images into a single multi-image file. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
<p>The format of the MagickWriteImagesFile method is:</p>
<pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
</samp></pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>file</dt>
<dd>the file descriptor. </dd>
<dd> </dd>
</dl>
</div>
</main><!-- /.container -->
<footer class="py-5 text-center text-body-secondary bg-body-tertiary">
<div class="container-fluid">
<a href="../www/security-policy.html">Security</a> •
<a href="../www/news.html">News</a>
<a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../../images/wand.ico"/></a>
<a href="../www/links.html">Related</a> •
<a href="../www/sitemap.html">Sitemap</a>
<br/>
<a href="../www/support.html">Sponsor</a> •
<a href="../www/cite.html">Cite</a> •
<a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
<a href="../www/contact.html">Contact Us</a>
<br/>
<a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
<a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 300 300" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg></a>
<br/>
<small>Copyright © 1999 ImageMagick Studio LLC</small>
</div>
</footer>
</div>
<!-- Javascript assets -->
<script src="../assets/bootstrap.bundle.min.js" ></script>
</body>
</html>
|