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
|
<!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 – Defines</title>
<meta name="keywords" content="Defines, 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="defines.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="download.html">Download</a>
</li>
<li class="nav-item">
<a class="nav-link " href="command-line-tools.html">Tools</a>
</li>
<li class="nav-item">
<a class="nav-link " href="command-line-processing.html">CLI</a>
</li>
<li class="nav-item">
<a class="nav-link " href="develop.html">Develop</a>
</li>
<li class="nav-item">
<a class="nav-link" rel="noopener" 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-4">Defines</h1>
</a>
</header>
<main class="container">
<div>
<p class="magick-description">The <a href="command-line-options.html#define">-define</a> command-line option adds specific global settings generally used to control coders and image processing operations.</p>
<p>This option creates one or more definitions for coders and decoders to use
while reading and writing image data. Definitions are generally used to
control image file format coder modules, and image processing operations,
beyond what is provided by normal means. Defined settings are listed in <a href="command-line-options.html#verbose">-verbose</a> information ("<samp>info:</samp>" output format) as "Artifacts". </p>
<p>If <var>value</var> is missing for a definition, an empty-valued
definition of a flag is created with that name. This used to control on/off
options. Use <a href="command-line-options.html#define">-define keys</a> to remove definitions
previously created. Use <a href="command-line-options.html#define">+define "*"</a> to remove all existing definitions.</p>
<p>The same 'artifact' settings can also be defined using the <a href="command-line-options.html#set">-set "option:<var>key</var>" "<var>value</var>"</a> option, which also allows the use of <a href="../www/escape.html" >Format and Print Image Properties</a> in the defined value. </p>
<p>The <var>option</var> and <var>key</var> are case-independent (they are
converted to lowercase for use within the decoders) while the <var>value</var>
is case-dependent.</p>
<p>Such settings are global in scope, and affect all images and operations. </p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick bilevel.tif -define ps:imagemask eps3:stencil.ps
magick arrow.tga -set colorspace:auto-grayscale=off myArrow.tga </samp></pre>
<p>Set attributes of the image registry by prefixing the value with
<samp>registry:</samp>. For example, to set a temporary path to put work files,
use:</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define registry:temporary-path=/data/tmp </samp></pre>
<p>Here is a list of recognized defines:</p>
<div>
<table class="table table-sm table-hover table-striped table-responsive">
<tr>
<th align="center" colspan="2">Command-line Defines</th>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td>ashlar:best-fit</td>
<td>align tiles on both the left and right edges.</td>
</tr>
<tr>
<td>ashlar:tiles</td>
<td>set the maximum number of image tiles to render per canvas.</td>
</tr>
<tr>
<td>auto-threshold:verbose</td>
<td>return derived threshold as the <samp>auto-threshold:threshold</samp> image property.</td>
</tr>
<tr>
<td>color:illuminant</td>
<td>reference illuminant, defaults to D65.</td>
</tr>
<tr>
<td>colorspace:auto-grayscale=<var>on|off</var></td>
<td>Prevent automatic conversion to grayscale inside coders that support
grayscale. This should be accompanied by -type truecolor. PNG and TIF do
not need this define. With PNG, just use PNG24:image. With TIF, just use
-type truecolor. JPG and PSD will need this define.</td>
</tr>
<tr>
<td>compare:frequency-domain=<var>boolean</var></td>
<td>Certain similarity metrics such as DPC, MSE, NCC, PSNR, Phase, and RMSE operate in the frequency domain when FFTW and HDRI are enabled. To utilize their spatial equivalents, you can use the command <samp>-define compare:frequency-domain=false</samp>. However, note that DPC and PHASE metrics do not have spatial equivalents, so this command will be ignored for them.</td>
</tr>
<tr>
<td>compare:ssim-radius=<var>value</var></td>
<td>Set the structural similarity index radius.</td>
</tr>
<tr>
<td>compare:ssim-sigma=<var>value</var></td>
<td>Set the structural similarity index sigma.</td>
</tr>
<tr>
<td>compare:ssim-k1=<var>value</var></td>
<td>Set the structural similarity index k1 argument.</td>
</tr>
<tr>
<td>compare:ssim-k2=<var>value</var></td>
<td>Set the structural similarity index k2 argument.</td>
</tr>
<tr>
<td>compare:virtual-pixels=<var>boolean</var></td>
<td>ImageMagick compares images pixel by pixel, aligning from the top-left corner. If sizes differ, unmatched areas in the smaller image are treated as virtual pixels, possibly affecting comparison results. To limit comparison to authentic pixels only, use <samp>-define compare:virtual-pixels=false</samp>.</td>
</tr>
<tr>
<td>complex:snr=<var>value</var></td>
<td>Set the divide SNR constant <a href="command-line-options.html#complex">-complex</a>.</td>
</tr>
<tr>
<td>compose:args=<var>arguments</var></td>
<td>Set certain compose argument values when using convert ... -compose ...
-composite. See <a href="../www/compose.html"
>Image Composition</a>.</td>
</tr>
<tr>
<td>compose:clip-to-self=<var>true|false</var></td>
<td>Some <a href="command-line-options.html#compose" >-compose</a> methods can modify the
'destination' image outside the overlay area. It is disabled by default.</td>
</tr>
<tr>
<td>compose:clamp=<var>on|off</var></td>
<td>Set each pixel whose value is below zero to zero and any the pixel
whose value is above the quantum range to the quantum range (e.g. 65535)
otherwise the pixel value remains unchanged. Define supported in
ImageMagick 6.9.1-3 and above.</td>
</tr>
<tr>
<td>compose:colorspace=<var>colorspace</var></td>
<td>Set the colorspace for the colorize composite operator. The default is HCL.</td>
</tr>
<tr>
<td>compose:compose=<var>on|off</var></td>
<td>This special usage allows you to perform true mathematics of the image channels, without alpha composition effects, becoming involved.</td>
</tr>
<tr>
<td>connected-components:angle-threshold=<var>value</var></td>
<td>Merges any region with equivalent ellipse angle smaller than
<var>value</var> into its surrounding region or largest neighbor.
Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:area-threshold=<var>value</var></td>
<td>Merges any region with area smaller than <var>value</var> into its
surrounding region or largest neighbor. Thresholds can optionally include ranges, e.g. 410-1600.</td>
</tr>
<tr>
<td>connected-components:background-id=<var>object-id</var></td>
<td>Identify which object is to be the background object.
Supported in Imagemagick 7.0.9.21.</td>
</tr>
<tr>
<td>connected-components:circularity-threshold=<var>value</var></td>
<td>Merge any region with circularity smaller than <var>value</var>
into its surrounding region or largest neighbor. Circularity is
computed as 4*pi*area/perimeter^2.
Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:diameter-threshold=<var>value</var></td>
<td>Merge any region with diameter smaller than <var>value</var>
into its surrounding region or largest neighbor. Diameter is
computed as sqrt(4*area/pi).
Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:eccentricity-threshold=<var>value</var></td>
<td>Merge any region with equivalent ellipse eccentricity smaller
than <var>value</var> into its surrounding region or largest neighbor.
Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:exclude-header=<var>true</var></td>
<td>List the objects without the header. Supported in Imagemagick 7.0.9.21.</td>
</tr>
<tr>
<td>connected-components:keep=<var>list-of-ids</var></td>
<td>Comma and/or hyphenated list of id values to keep in the output. Supported in Imagemagick 6.9.3-0.</td>
</tr>
<tr>
<td>connected-components:keep-colors=<var>red;green;blue</var></td>
<td>Keeps objects identified by their color in a semicolon separated list. Supported in Imagemagick 6.9.3-0.</td>
</tr>
<tr>
<td>connected-components:keep-top=<var>number-of-objects</var></td>
<td>Keeps only the top number of objects by area. Supported in Imagemagick 7.0.9.21.</td>
</tr>
<tr>
<td>connected-components:major-axis-threshold=<var>value</var></td>
<td>Merge any region with equivalent ellipse major axis diameter smaller
than <var>value</var> into its surrounding region or largest neighbor.
Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:mean-color=<var>true</var></td>
<td>Change the output image from id values to mean color values. Supported in Imagemagick 6.9.2-8.</td>
</tr>
<tr>
<td>connected-components:minor-axis-threshold=<var>value</var></td>
<td>Merge any region with equivalent ellipse minor axis diameter smaller than <var>value</var> into its surrounding region or largest neighbor. Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:perimeter-threshold=<var>value</var></td>
<td>Merge any region with perimeter smaller than <var>value</var> into its surrounding region or largest neighbor. Supported in Imagemagick 7.0.9.24.</td>
</tr>
<tr>
<td>connected-components:remove=<var>list-of-ids</var></td>
<td>Comma and/or hyphenated list of id values to remove from the output.
Supported in Imagemagick 6.9.2-9.</td>
</tr>
<tr>
<td>connected-components:remove-colors=<var>red;green;blue</var></td>
<td>Remove objects identified by their color in a semicolon separated list.
Supported in Imagemagick 6.9.3-0.</td>
</tr>
<tr>
<td>connected-components:verbose=<var>true</var></td>
<td>Lists id, bounding box, centroid, area, mean color for each region.</td>
</tr>
<tr>
<td>convolve:scale=<var>{kernel_scale}[!^] [,{origin_addition}] [%]</var></td>
<td>Define the kernel scaling. The special flag ! automatically scales to
full dynamic range. The ! flag can be used in combination with a factor or
percent. The factor or percent is then applied after the automatic scaling.
An example is 50%!. This produces a result 50% darker than full dynamic
range scaling. The ^ flag assures the kernel is 'zero-summing', for
example when some values are positive and some are negative as in edge
detection kernels. The origin addition adds that value to the center
pixel of the kernel. This produces an effect that is like adding the image
that many times to the result of the filtered image. The typical value
is 1 so that the original image is added to the result of the convolution.
The default is 0.</td>
</tr>
<tr>
<td>deskew:auto-crop=<var>true</var></td>
<td>auto crop the image after deskewing.</td>
</tr>
<tr>
<td>delegate:bimodal=<var>true</var></td>
<td>Specify direct conversion from Postscript to PDF.</td>
</tr>
<tr>
<td>distort:scale=<var>value</var></td>
<td>Set the output scaling factor for use with <a href="command-line-options.html#distort"
>-distort</a>.</td>
</tr>
<tr>
<td>distort:viewport=<var>WxH+X+Y</var></td>
<td>Set the viewport for use with <a href="command-line-options.html#distort">-distort</a>.</td>
</tr>
<tr>
<td>dither:diffusion-amount=<var>X%</var></td>
<td>Set the amount of diffusion to use with Floyd-Steinberg diffusion</td>
</tr>
<tr>
<td>exif:sync-image=false</td>
<td>By default, the resolution of the image is synced with the EXIF profile. Use this define to ignore the EXIF profile.</td>
</tr>
<tr>
<td>filename:literal=<var>true</var></td>
<td>By default, output filenames can contain <a href="command-line-processing.html#output">embedded formatting characters</a>. Use this option to bypass interpreting embedded formatting characters and instead use the filename literally.</td>
</tr>
<tr>
<td>filter:option=<var>value</var></td>
<td>Set a filter option for use with <a href="command-line-options.html#resize">-resize</a>.
See below for specific options.</td>
</tr>
<tr>
<td>filter:b=<var>value</var></td>
<td>Redefine the spline factor used for cubic filters such as Cubic,
Catrom, Mitchel, and Hermite, as well as the Parzen cubic windowing
function. If only one of the b or c values are defined, the other is
set so as to generate a 'Cubic-Keys' filter. The meaning of the b and c
values was defined in a research paper by Mitchell-Netravali.</td>
</tr>
<tr>
<td>filter:blur=<var>factor</var></td>
<td>Scale the X axis of the filter (and its window). Use > 1.0 for blurry
or < 1.0 for sharp. This should only be used with Gaussian and
Gaussian-like filters simple filters, or you may not get the
expected results.</td>
</tr>
<tr>
<td>filter:c=<var>value</var></td>
<td>Redefine the Keys alpha factor used for cubic filters such as Cubic,
Catrom, Mitchel, and Hermite, as well as the Parzen cubic windowing
function. If only one of the b or c values are defined, the other is
set so as to generate a 'Cubic-Keys' filter. The meaning of the b and c
values was defined in a research paper by Mitchell-Netravali.</td>
</tr>
<tr>
<td>filter:kaiser-alpha=<var>value</var></td>
<td>Set the Kaiser window alpha value. When it is multiplied by 'PI',
it is equivalent to "kaiser-beta" and will override that setting.
It only affects the Kaiser windowing function and does not affect
any other attributes.</td>
</tr>
<tr>
<td>filter:kaiser-beta=<var>value</var></td>
<td>Set the Kaiser window beta value. It only affects Kaiser windowing
function and does not affect any other attributes. Before ImageMagick
v6.7.6-10, this option was known as "filter:alpha" (an inheritance
from the very old "zoom" program). It was changed to bring the function
in line with more modern academic research usage and better assign it
be more definitive. The default value is 6.5</td>
</tr>
<tr>
<td>filter:lobes=<var>count</var></td>
<td>Set the number of lobes to use for the Sinc/Bessel filter.
This is an alternate way of specifying the 'support' range of the filter,
that is designed to be more suited to windowed filters, especially when
used for image distorts.</td>
</tr>
<tr>
<td>filter:sigma=<var>value</var></td>
<td>Set the 'sigma' value used to define the Gaussian filter.
The default sigma value is '0.5'. It only affects the Gaussian filter,
but does not shrink (but may enlarge) the filter's 'support'.
It can be used to generate very small blurs, but without the filter
'missing' pixels due to using a small support setting.
A larger value of '0.707' (a value of '1/sqrt(2)') is another
common setting.</td>
</tr>
<tr>
<td>filter:support=<var>radius</var></td>
<td>Set the filter support radius. It defines how large the filter
should be and thus directly defines how slow the filtered resampling
process is. All filters have a default 'preferred' support size.
Some filters like Lagrange and windowed filters adjust themselves
depending on this value. With simple filters this value either does
nothing (but slow the resampling), or will clip the filter function
in a detrimental way.</td>
</tr>
<tr>
<td>filter:verbose=<var>true</var></td>
<td>Enable printing of information about the final internal
filter selection to standard output. This includes a commented header
on the filter settings being used and data allowing the filter weights
to be easily graphed. Note however that some filters are internally
defined in terms of other filters. The Lanczos filter, for example,
is defined in terms of a SincFast windowed SincFast filter, while
the Mitchell filter is defined as a general Cubic family filter
with specific 'B' and 'C' settings.</td>
</tr>
<tr>
<td>filter:window=<var>filter_function</var></td>
<td>The IIR (infinite impulse response) filters Sinc and Jinc are
windowed (brought down to zero over the defined support range) with
the given filter. This allows you to specify a filter function to be
used as a windowing function for these IIR filters. Many of the defined
filters are actually windowing functions for these IIR filters. A typical
choices is Box, (which effectively turns off the windowing function).</td>
</tr>
<tr>
<td>filter:window-support=<var>radius</var></td>
<td>Scale the windowing function to this size. This causes
the windowing (or self-windowing Lagrange filter) to act is if the
support window is larger than what is actually supplied to the calling
operator. The filter, however, is still clipped to the true support
size that is provided. If unset, this will equal the normal filter
support size.</td>
</tr>
<tr>
<td>h:format=<var>value</var></td>
<td>Set the image encoding format use when writing a C-style header.
<var>format</var> can be any output format supported by ImageMagick
except for <var>h</var> and <var>magick</var>. If this
option is omitted, the default is <var>GIF</var> for PseudoClass
images and <var>PNM</var> for DirectClass images.</td>
</tr>
<tr>
<td>fourier:normalize=<var>inverse</var></td>
<td>Set the location for the FFT/IFT normalization as use by
<a href="command-line-options.html#fft">+-fft</a> and <a href="command-line-options.html#ift">+-ift</a>. The default is
<var>forward</var>.</td>
</tr>
<tr>
<td>frames:step</td>
<td>When selecting image <a href="command-line-processing.html">frames</a>, the default is to step one frame at a time through a list, e.g. [0-3], returns frames 0, 1, 2, and 3. Set the step to 2 in this example and we instead get frames 0 and 2.</td>
</tr>
<tr>
<td>fx:debug=true</td>
<td>Debug <samp>-fx</samp> expression.</td>
</tr>
<tr>
<td>hough-lines:accumulator=true</td>
<td>Return the accumulator image in addition to the lines image.</td>
</tr>
<tr>
<td>json:features</td>
<td>Include features in verbose information.</td>
</tr>
<tr>
<td>json:limit</td>
<td> </td>
</tr>
<tr>
<td>json:locate</td>
<td> </td>
</tr>
<tr>
<td>json:moments</td>
<td>Include image moments in verbose information.</td>
</tr>
<tr>
<td>kmeans:seed-colors=<var>color-list</var></td>
<td>Initialize the colors, where color-list is a semicolon delimited
list of seed colors (e.g. red;sRGB(19,167,254);#00ffff)</td>
</tr>
<tr>
<td>magick:format=<var>value</var></td>
<td>Set the image encoding format use when writing a C-style header.
This is the same as "h:format=format" described above.</td>
</tr>
<tr>
<td>magnify:method=<var>value</var></td>
<td>Choose the method of pixel art magnification. The choices are:
eagle2X, eagle3X, eagle3XB, epb2X, fish2X, hq2X, scale2X (default),
scale3X, xbr2X</td>
</tr>
<tr>
<td>modulate:colorspace=<var>colorspace</var></td>
<td>Define the colorspace to use with <a href="command-line-options.html#modulate">-modulate</a>.
Any hue-based colorspace may be use. The default is HSL.</td>
</tr>
<tr>
<td>morphology:compose=<var>compose-method</var></td>
<td>Specify how to merge results generated by multiple<a
href="#morphology" >-morphology</a> kernel. The default is none. One
typical value is 'lighten' as used, for example, with the sobel edge
kernels. </td>
</tr>
<tr>
<td>morphology:showKernel=<var>1</var></td>
<td>Output (to 'standard error') all the information about a generated <a
href="#morphology" >-morphology</a> kernel.</td>
</tr>
<tr>
<td>phash:colorspaces=<var>colorspace,colorspace,...</var></td>
<td>The perceptual hash defaults to the xyY and HSB colorspaces. When
using this define, you can specify up to six alternative colorspaces. (as
of IM 7.0.3-8)</td>
</tr>
<tr>
<td>phash:normalize=<var>true</var></td>
<td>Normalize the phash metric</td>
</tr>
<tr>
<td>pixel:compliance=<var>{none|undefined|svg|mvg|x11|xpm}</var></td>
<td>In combination with <a href="command-line-options.html#depth">-depth</a>, this define allows color values to be presented in one or combination of: percent, names, 8-bit components, or hex values. 16-bit depth values are generally shown as percents and 8-bit depth values generally are shown as a combination of color names and 8-bit component values.</td>
</tr>
<tr>
<td>png:bit-depth=<var>value</var></td>
<td> </td>
</tr>
<tr>
<td>png:chunk-malloc-max=<var>value</var></td>
<td>Set the maximum chunk size.</td>
</tr>
<tr>
<td>profile:skip=<var>name1,name2,...</var></td>
<td>Skip the named profile[s] when reading the image. Use skip="*" to
skip all named profiles in the image. Many named profiles exist,
including ICC, EXIF, APP1, IPTC, XMP, and others.</td>
</tr>
<tr>
<td>precision:highres-transform=<var>true</var></td>
<td>Increase the profile transform precision. Note, there is a slight
performance penalty as the high-precision transform is floating point
rather than unsigned. It is important to note that results may depend
on whether or not the original image already has an included profile.</td>
</tr>
<tr>
<td>preserve-timestamp=<var>true|false</var></td>
<td>Preserve file timestamp (<samp>mogrify</samp> only).</td>
</tr>
<tr>
<td>q-table=<var>quantization-table.xml</var></td>
<td>Custom JPEG quantization tables.</td>
</tr>
<tr>
<td>quantum:format=<var>type</var></td>
<td>Set the type to <samp>floating-point</samp> to specify a floating-point
format for raw files (e.g. GRAY:) or for MIFF and TIFF images in HDRI mode
to preserve negative values. If <a href="command-line-options.html#depth">-depth</a> 16 is
included, the result is a single precision floating point format.
If <a href="command-line-options.html#depth">-depth</a> 32 is included, the result is
double precision floating point format. For signed pixel data, use <samp>-define quantum:format=signed</samp></td>
</tr>
<tr>
<td>quantum:maximum=<var>value</var></td>
<td>Maximum value for certain image types such as DCM. If not set, the
the maximum value is QuantumRange.</td>
</tr>
<tr>
<td>quantum:minimum=<var>value</var></td>
<td>Minimum value for certain image types such as DCM. If not set, the
the minimum value is zero.</td>
</tr>
<tr>
<td>quantum:polarity=<var>photometric-interpretation</var></td>
<td>Set the photometric-interpretation of an image (typically for TIFF
image file format) to either <samp>min-is-black</samp> (default) or
<samp>min-is-white</samp>.</td>
</tr>
<tr>
<td>registry:<var>attribute</var>=<var>value</var></td>
<td>Set attributes of the image registry, for example,
registry:temporary-path=/data/tmp.
</td>
</tr>
<tr>
<td>registry:date:precision=<var>length</var></td>
<td>Set the maximum number of characters printed for any timestamp.</td>
</tr>
<tr>
<td>registry:option:pedantic=<var>true | false</var></td>
<td>By default, if a command-line option is also a filename (e.g., -quality), it is intrepetted as a filename. Set this option to <samp>true</samp> to interpret it as an option. </td>
</tr>
<tr>
<td>registry:precision=<var>value</var></td>
<td>Set the maximum number of significant digits to be printed.</td>
</tr>
<tr>
<td>resample:verbose=<var>true</var></td>
<td>Output the cylindrical filter lookup table created by the EWA
(Elliptical Weighted Average) resampling algorithm. Note this table
uses a squared radius lookup value. This is typically only used for
debugging EWA resampling.
</td>
</tr>
<tr>
<td>sample:offset=<var>geometry</var></td>
<td>Location of the sampling point within the sub-region being sampled,
expressed as percentages (see <a href="command-line-options.html#sample" >-sample</a>).</td>
</tr>
<tr>
<td>shepards:power=<var>value</var></td>
<td>Set the exponent in the Shepard's distortion. The default is 2.</td>
</tr>
<tr>
<td>stream:buffer-size=<var>value</var></td>
<td>Set the stream buffer size. Select 0 for unbuffered I/O.</td>
</tr>
<tr>
<td>trim:percent-background=<var>X%</var></td>
<td>Set the amount of background that is tolerated in an edge. It is
specified as a percent. 0% means no background is tolerated.
50% means an edge can contain up to 50% pixels that are background per
the fuzz-factor.</td>
</tr>
<tr>
<td>trim:edges={<var>north,east,south,west</var>}</td>
<td>Only trim the specified edges of the image.</td>
</tr>
<tr>
<td>trim:minSize=<var>geometry</var></td>
<td>Limit the trim to the specified size.</td>
</tr>
<tr>
<td>type:features=<var>string</var></td>
<td>Add a font feature to be used by the RAQM delegate during complex
text layout. This is usually used to turn on optional font features that
are not enabled by default, but can be also used to turn off default font
features. Features include those to control kerning, ligature and Arabic.</td>
</tr>
<tr>
<td>type:hinting=<var>false</var></td>
<td>Disable font hinting. Proper glyph rendering needs the scaled points
to be aligned along the target device pixel grid, through an operation
often called hinting. One of its main purposes is to ensure that important
widths and heights are respected throughout the whole font. (For example,
it is very often desirable that the ‘I’ and the ‘T’ glyphs have their
central vertical line of the same pixel width. Hinting also manages
features like stems and overshoots, which can cause problems at small
pixel sizes.</td>
</tr>
<tr>
<td>white-balance:vibrance=<var>value{%}</var></td>
<td>Change in color vibrance of the a & b channels.</td>
</tr>
<tr>
<td>x:screen=<var>true</var></td>
<td>Obtain the image from the root window.</td>
</tr>
<tr>
<td>x:silent=<var>true</var></td>
<td>Turn off the beep when importing an image.</td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<th align="center" colspan="2">IMAGE FORMATS</th>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td>bmp3:alpha=<var>true|false</var></td>
<td>Include any alpha channel when writing in the BMP image format.</td>
</tr>
<tr>
<td>bmp:format=<var>value</var></td>
<td>Valid values are <var>bmp2</var>, <var>bmp3</var>,
and <var>bmp4</var>. This option can be useful when the
method of prepending "BMP2:" to the output filename is inconvenient or
is not available, such as when using the <a href="mogrify.html">mogrify</a>
utility.</td>
</tr>
<tr>
<td>bmp:subtype=<var>value</var></td>
<td>BMP channel depth subtypes. The choices are: RGB555, RGB565, ARGB4444,
ARGB1555. Only support in BMP (BMP4). BMP3 and BMP2 do not contain header
fields to support these options.</td>
</tr>
<tr>
<td>{caption,label}:{max,start}-pointsize=<var>value</var></td>
<td>This sets the bounding pointsize to use when searching for the maximum pointsize where the text annotation still fits within the image boundaries.</td>
</tr>
<tr>
<td>dcm:display-range=<var>reset</var></td>
<td>Set the display range to the minimum and maximum pixel values for the
DCM image format.</td>
</tr>
<tr>
<td>dcm:rescale=<var>true</var></td>
<td>Enable interpretation of the rescale slope and intercept settings
in the file.</td>
</tr>
<tr>
<td>dcm:rescale=<var>true</var></td>
<td>Enable interpretation of the rescale slope and intercept settings
in the file.</td>
</tr>
<tr>
<td>dcm:window=<var>CxW</var></td>
<td>Specify the dcm window center and width.</td>
</tr>
<tr>
<td>dds:cluster-fit=<var>true|false</var></td>
<td>Enable the DDS cluster-fit.</td>
</tr>
<tr>
<td>dds:compression=<var>dxt1|dxt5|none</var></td>
<td>Set the dds compression.</td>
</tr>
<tr>
<td>dds:mipmaps=<var>value</var></td>
<td>Set the dds number of mipmaps.</td>
</tr>
<tr>
<td>dds:weight-by-alpha=<var>true|false</var></td>
<td>Enable the DDS alpha weighting.</td>
</tr>
<tr>
<td>dng:max-raw-memory=<var>value</var></td>
<td>Stop processing if raw buffer size grows larger than that value (in megabytes). Default is 8192.</td>
</tr>
<tr>
<td>dng:no-auto-bright=<var>true</var></td>
<td>Disable the histogram-based white level.</td>
</tr>
<tr>
<td>dng:output-color=<var>value</var></td>
<td>Select the output colorspace. The choices are:
0 - Raw color (unique to each camera),
1 - sRGB D65 (default),
2 - Adobe RGB (1998) D65,
3 - Wide Gamut RGB D65,
4 - Kodak ProPhoto RGB D65,
5 - XYZ,
6 - ACES</td>
</tr>
<tr>
<td>dng:read-thumbnail=<var>true</var></td>
<td>Read the embedded thumbnail and store it as a profile called 'dng:thumbnail'.</td>
</tr>
<tr>
<td>dng:use-auto-wb=<var>true</var></td>
<td>Compute the white balance by averaging the entire image.</td>
</tr>
<tr>
<td>dng:use-camera-wb=<var>true</var></td>
<td>Uses the white balance specified by the camera. Default is true.</td>
</tr>
<tr>
<td>dot:layout-engine=<var>value</var></td>
<td>Specify the layout engine for the DOT image format (e.g., <samp>neato</samp>).</td>
</tr>
<tr>
<td>eps:use-cropbox=<var>true</var></td>
<td>Force Imagemagick to respect the crop box.</td>
</tr>
<tr>
<td>exr:color-type=<var>value</var></td>
<td>Specify the color type for the EXR format: RGB, RGBA, YC, YCA, Y,
YA, R, G, B, A).</td>
</tr>
<tr>
<td>fpx:view=<var>value</var></td>
<td>Specify the FlashPix viewing object, which contains the specification
of a viewing transform. The viewing transform enables applications to
represent a set of simple edits as a list of "commands" which are applied
to the image in real time without altering the original image.</td>
</tr>
<tr>
<td>ftxt:chsep=<var>value</var></td>
<td>A single text character that separates channel values for reading and
writing. Default: "," (Comma).</td>
</tr>
<tr>
<td>ftxt:format=<var>value</var></td>
<td>The format string for writing and reading. Default: "\x,\y:\c".
For escapes \x etc, see
[ftxt: formatted text](http://im.snibgo.com/fmttxt.htm).</td>
</tr>
<tr>
<td>ftxt:hasalpha=<var>value</var></td>
<td>Whether the text has an alpha channel, for reading only.
Default: false.</td>
</tr>
<tr>
<td>ftxt:nummeta=<var>value</var></td>
<td>The number of meta channels, for reading only. Default 0 (Zero).</td>
</tr>
<tr>
<td>heic:chroma=<var>value</var></td>
<td>Set the HEIC chroma parameter. Possible values are: "420", "422", "444". Default is "420".</td>
</tr>
<tr>
<td>heic:cicp=<var>value</var></td>
<td>Set the HEIC color primaries, transfer characteristics, matrix coefficients, and full range flag. Use <samp>1/13/6/1</samp> for full range BT.709. See ISO/IEC 14496-12:2022 standard for a description of these fields and values.</td>
</tr>
<tr>
<td>heic:depth-image=<var>true</var></td>
<td>Extract the depth image if the container has one.</td>
</tr>
<tr>
<td>heic:max-number-of-tiles=<var>value</var></td>
<td>Sets the maximum number of tiles of a HEIC image.</td>
</tr>
<tr>
<td>heic:max-bayer-pattern-pixels=<var>value</var></td>
<td>Sets the maximum bayer pattern size in pixels of a HEIC image.</td>
</tr>
<tr>
<td>heic:max-items=<var>value</var></td>
<td>Sets the maximum number of items in a box of a HEIC image.</td>
</tr>
<tr>
<td>heic:max-components=<var>value</var></td>
<td>Sets the maximum number of components of a HEIC image.</td>
</tr>
<tr>
<td>heic:max-iloc-extents-per-item=<var>value</var></td>
<td>Sets the maximum number of extents in iloc box of a HEIC image.</td>
</tr>
<tr>
<td>heic:max-size-entity-group=<var>value</var></td>
<td>Sets the maximum size of an entity group of a HEIC image.</td>
</tr>
<tr>
<td>heic:mmax-children-per-box=<var>value</var></td>
<td>Sets the maximum number of children per box of a HEIC image.</td>
</tr>
<tr>
<td>heic:preserve-orientation=<var>true</var></td>
<td>Preserve the original EXIF orientation during HEIC decoding and rotate
the pixels accordingly. By default, EXIF orientation is reset to "1" to
match the actual orientation of pixels in HEIC.
</td>
</tr>
<tr>
<td>heic:speed=<var>value</var></td>
<td>Set the HEIC speed parameter. Integer value from 0-9. Default is 5.</td>
</tr>
<tr>
<td>icon:auto-resize</td>
<td>Automatically stores multiple sizes when writing an ico image
(requires a 256x256 input image).</td>
</tr>
<tr>
<td>identify:convex-hull=<var>true</var></td>
<td>Display convex hull & minimum bounding box.</td>
</tr>
<tr>
<td>identify:locate=<var>value</var></td>
<td>Display minimum or maximum pixel locations. Valid values are <samp>minimum</samp> or <samp>maximum</samp>. The default is <samp>maximum</samp>.</td>
</tr>
<tr>
<td>identify:limit=<var>value</var></td>
<td>The maximum number of pixel locations to display when using <samp>identify:locate</samp>.</td>
</tr>
<tr>
<td>jp2:layer-number=<var>value</var></td>
<td>Set the maximum number of quality layers to decode. Same for JPT, JC2,
and J2K.</td>
</tr>
<tr>
<td>jp2:number-resolutions=<var>value</var></td>
<td>Set the number of resolutions to encode.Same for JPT, JC2, and
J2K.</td>
</tr>
<tr>
<td>jp2:progression-order=<var>value</var></td>
<td>Choose from LRCP, RLCP, RPCL, PCRL or CPRL. Same for JPT, JC2, and
J2K.</td>
</tr>
<tr>
<td>jp2:quality=<var>value,value...</var></td>
<td>Set the quality layer PSNR, given in dB. The order is from left to
right in ascending order. The default is a single lossless quality layer.
Same for JPT, JC2, and J2K.</td>
</tr>
<tr>
<td>jp2:rate=<var>value</var></td>
<td>Specify the compression factor to use while writing JPEG-2000 files.
The compression factor is the reciprocal of the compression ratio. The
valid range is 0.0 to 1.0, with 1.0 indicating lossless compression. If
defined, this value overrides the -quality setting. A quality setting
of 75 results in a rate value of 0.06641. Same for JPT, JC2, and J2K.</td>
</tr>
<tr>
<td>jp2:reduce-factor=<var>value</var></td>
<td>Set the number of highest resolution levels to be discarded.Same for
JPT, JC2, and J2K.</td>
</tr>
<tr>
<td>jpeg:arithmetic-coding=<var>on|off</var></td>
<td>enable/disable Huffman optimization.</td>
</tr>
<tr>
<td>jpeg:block-smoothing=<var>on|off</var></td>
<td> </td>
</tr>
<tr>
<td>jpeg:colors=<var>value</var></td>
<td>Set the desired number of colors and let the JPEG encoder do the
quantizing.</td>
</tr>
<tr>
<td>jpeg:dct-method=<var>value</var></td>
<td>Choose from <samp>default</samp>, <samp>fastest</samp>,
<samp>float</samp>, <samp>ifast</samp>, and <samp>islow</samp>.</td>
</tr>
<tr>
<td>jpeg:extent=<var>value</var></td>
<td>Restrict the maximum JPEG file size, for example <samp>-define
jpeg:extent=400KB</samp>. The JPEG encoder will search for the highest
compression quality level that results in an output file that does not
exceed the value. The <samp>-quality</samp> option also will be respected
starting with version 6.9.2-5. Between 6.9.1-0 and 6.9.2-4, add -quality
100 in order for the jpeg:extent to work properly. Prior to 6.9.1-0, the
-quality setting was ignored.</td>
</tr>
<tr>
<td>jpeg:fancy-upsampling=<var>on|off</var></td>
<td> </td>
</tr>
<tr>
<td>jpeg:optimize-coding=<var>on|off</var></td>
<td> </td>
</tr>
<tr>
<td>jpeg:q-table=<var>table</var></td>
<td> </td>
</tr>
<tr>
<td>jpeg:restart-interval=<var>value</var></td>
<td>Set the restart interval to `interval` MCU blocks.</td>
</tr>
<tr>
<td>jpeg:sampling-factor=<var>sampling-factor-string</var></td>
<td> </td>
</tr>
<tr>
<td>jpeg:size=<var>geometry</var></td>
<td>Set the size hint of a JPEG image, for
example, <samp>-define jpeg:size=128x128</samp>.
It is most useful for increasing performance and reducing the memory
requirements when reducing the size of a large JPEG image.</td>
</tr>
<tr>
<td>jxl:decoding-speed=<var>value</var></td>
<td>Set the jpeg-xl decoding speed. Valid values are in the range of 0 (slowest) to 4 (fastest, at the cost of some quality/density).</td>
</tr>
<tr>
<td>jxl:effort=<var>value</var></td>
<td>Set the jpeg-xl encoding effort. Valid values are in the range of 3 (falcon) to 9 (tortoise).</td>
</tr>
<tr>
<td>minimum-bounding-box:orientation=<var>value</var></td>
<td>Find smallest perpendicular distance from edge to origin. Valid values are <samp>horizontal</samp>
and <samp>vertical</samp>.
</td>
</tr>
<tr>
<td>mng:need-cacheoff</td>
<td>turn playback caching off for streaming MNG.</td>
</tr>
<tr>
<td>pcl:fit-to-page=<var>true</var></td>
<td> </td>
</tr>
<tr>
<td>pdf:author=<var>author</var></td>
<td>Sets the author of the document</td>
</tr>
<tr>
<td>pdf:create-epoch=<var>seconds</var></td>
<td>Sets the creation time of the document</td>
</tr>
<tr>
<td>pdf:creator=<var>creator</var></td>
<td>Sets the creator of the document</td>
</tr>
<tr>
<td>pdf:fit-page=<var>geometry</var></td>
<td><var>Geometry</var> specifies the scaling dimensions for resizing when the PDF is being read. The geometry is either WxH{%} or page size. No offsets are allowed. (introduced in IM 6.8.8-8)</td>
</tr>
<tr>
<td>pdf:fit-to-page=<var>true</var></td>
<td> </td>
</tr>
<tr>
<td>pdf:hide-annotations=<var>true</var></td>
<td>hide annotations associated with the page Annots key.</td>
</tr>
<tr>
<td>pdf:interpolate=<var>true</var></td>
<td>enable interpolation while rendering</td>
</tr>
<tr>
<td>pdf:keywords=<var>keywords</var></td>
<td>Sets the keywords of the document</td>
</tr>
<tr>
<td>pdf:modify-epoch=<var>seconds</var></td>
<td>Sets the modification time of the document</td>
</tr>
<tr>
<td>pdf:no-identifier=<var>true</var></td>
<td>Do not generate the ID entry</td>
</tr>
<tr>
<td>pdf:page-direction=<var>right-to-left</var></td>
<td> </td>
</tr>
<tr>
<td>pdf:printed=<var>true</var></td>
<td>Determines whether the file should be displayed or printed using the "screen" or "printer" options for annotations and images.</td>
</tr>
<tr>
<td>pdf:producer=<var>producer</var></td>
<td>Sets the producer of the document</td>
</tr>
<tr>
<td>pdf:subject=<var>subject</var></td>
<td>Sets the subject of the document</td>
</tr>
<tr>
<td>pdf:stop-on-error=<var>true</var></td>
<td> </td>
</tr>
<tr>
<td>pdf:thumbnail=<var>false</var></td>
<td>Generate image thumbnails when saving a PDF file.</td>
</tr>
<tr>
<td>pdf:title=<var>title</var></td>
<td>Sets the title of the document</td>
</tr>
<tr>
<td>pdf:use-cropbox=<var>true</var></td>
<td> </td>
</tr>
<tr>
<td>pdf:use-trimbox=<var>true</var></td>
<td> </td>
</tr>
<tr>
<td>png:color-type=<var>value</var></td>
<td>Desired bit-depth and color-type for PNG output. You can force the
PNG encoder to use a different bit-depth and color-type than it would have
normally selected, but only if this does not cause any loss of image
quality. Any attempt to reduce image quality is treated as an error and no
PNG file is written. E.g., if you have a 1-bit black-and-white image, you
can use these "defines" to cause it to be written as an 8-bit grayscale,
indexed, or even a 64-bit RGBA. But if you have a 16-million color image,
you cannot force it to be written as a grayscale or indexed PNG. If you
wish to do this, you must use the appropriate <a href="command-line-options.html#depth">-depth</a>,
<a href="command-line-options.html#colors">-colors</a>, or <a href="command-line-options.html#type">-type</a> directives to
reduce the image quality prior to using the PNG encoder. Note that in
indexed PNG files, "bit-depth" refers to the number of bits per index,
which can be 1, 2, 4, or 8. In such files, the color samples always have
8-bit depth.</td>
</tr>
<tr>
<td>png:compression-filter=<var>value</var></td>
<td>Valid values are 0 through 9. 0-4 are the corresponding PNG filters,
5 means adaptive filtering except for images with a colormap, 6 means
adaptive filtering for all images, 7 means MNG "loco" compression, 8 means
Z_RLE strategy with adaptive filtering, and 9 means Z_RLE strategy with no
filtering.</td>
</tr>
<tr>
<td>png:compression-level=<var>value</var></td>
<td>Valid values are 0 through 9, with 0 providing the least, but fastest
compression and 9 usually providing the best and always the slowest.</td>
</tr>
<tr>
<td>png:compression-strategy=<var>value</var></td>
<td>Valid values are 0 through 4, meaning default, filtered, huffman_only,
rle, and fixed ZLIB compression strategy. If you are using an old zlib
that does not support Z_RLE (before 1.2.0) or Z_FIXED (before 1.2.2.2),
values 3 and 4, respectively, will use the zlib default strategy
instead.</td>
</tr>
<tr>
<td>png:format=<var>value</var></td>
<td> valid values are <var>png8</var>, <var>png24</var>,
<var>png32</var>, <var>png48</var>,
<var>png64</var>, and <var>png00</var>.
This property is useful for specifying
the specific PNG format to be used, when the usual method of prepending the
format name to the output filename is inconvenient, such as when writing
a PNG-encoded ICO file or when using <a href="mogrify.html">mogrify</a>.
Value = <var>png8</var> reduces the number of colors to 256,
only one of which may be fully transparent, if necessary. The other
values do not force any reduction of quality; it is an error to request
a format that cannot represent the image data without loss (except that
it is allowed to reduce the bit-depth from 16 to 8 for all formats).
Value = <var>png24</var> and <var>png48</var>
allow transparency, only if a single color is fully transparent and that
color does not also appear in an opaque pixel; such transparency is
written in a PNG <samp>tRNS</samp> chunk.
Value = <var>png00</var> causes the image to inherit its
color-type and bit-depth from the input image, if the input was also
a PNG.</td>
</tr>
<tr>
<td>png:exclude-chunk=<var>value</var></td>
<td> </td>
</tr>
<tr>
<td>png:include-chunk=<var>value</var></td>
<td>ancillary chunks to be excluded from or included in PNG output.
<p>The <var>value</var> can be the name of a PNG chunk-type such
as <var>bKGD</var>, a comma-separated list of chunk-names
(which can include the word <var>date</var>, the word
<var>all</var>, or the word <var>none</var>).
Although PNG chunk-names are case-dependent, you can use all lowercase
names if you prefer.</p>
<p>The "include-chunk" and "exclude-chunk" lists only affect the behavior
of the PNG encoder and have no effect on the PNG decoder.</p>
<p>As a special case, if the <samp>sRGB</samp> chunk is excluded and
the <samp>gAMA</samp> chunk is included, the <samp>gAMA</samp> chunk will
only be written if gamma is not 1/2.2, since most decoders do not assume
sRGB for gAMA=0.45455 when no colorspace information is included in
the PNG file. Because the list is processed from left to right, you
can achieve this with a single define:</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define png:include-chunk=none,gAMA
</samp></pre>
<p>As a special case, if the <samp>sRGB</samp> chunk is not excluded and
the PNG encoder recognizes that the image contains the sRGB ICC profile,
the PNG encoder will write the <samp>sRGB</samp> chunk instead of the
entire ICC profile. To force the PNG encoder to write the sRGB
profile as an <samp>iCCP</samp> chunk in the output PNG instead of the
<samp>sRGB</samp> chunk, exclude the <samp>sRGB</samp> chunk.</p>
<p>The critical PNG chunks <samp>IHDR</samp>, <samp>PLTE</samp>,
<samp>IDAT</samp>, and <samp>IEND</samp> cannot be excluded. Any such
entries appearing in the list will be ignored.</p>
<p>If the ancillary PNG <samp>tRNS</samp> chunk is excluded and the
image has transparency, the PNG colortype is forced to be 4 or 6
(GRAY_ALPHA or RGBA). If the image is not transparent, then the
<samp>tRNS</samp> chunk isn't written anyhow, and there is no effect
on the PNG colortype of the output image.</p>
<p>The <a href="command-line-options.html#strip">-strip</a>
option does the equivalent of the following for PNG output:</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define png:exclude-chunk=EXIF,iCCP,iTXt,sRGB,tEXt,zCCP,zTXt,date</samp></pre>
<p>The default behavior is to include all known PNG ancillary chunks
plus ImageMagick's private <samp>vpAg</samp> ("virtual page") chunk,
and to exclude all PNG chunks that are unknown to ImageMagick,
regardless of their PNG "copy-safe" status as described in the
PNG specification.</p>
<p>Any chunk names that are not known to ImageMagick are ignored
if they appear in either the "include-chunk" or "exclude-chunk" list.
The ancillary chunks currently known to ImageMagick are
<samp>bKGD</samp>, <samp>cHRM</samp>, <samp>gAMA</samp>, <samp>iCCP</samp>,
<samp>oFFs</samp>, <samp>orNT</samp>, <samp>pHYs</samp>, <samp>sRGB</samp>, <samp>tEXt</samp>,
<samp>tRNS</samp>, <samp>vpAg</samp>, and <samp>zTXt</samp>.</p>
<p>You can also put <samp>date</samp> in the list to include or exclude
the "Date:create" and "Date:modify" text chunks that ImageMagick normally
inserts in the output PNG.</p></td>
</tr>
<tr>
<td>png:ignore-crc[=<var>true</var>]</td>
<td>When you know your image has no CRC or ADLER32 errors, this can speed
up decoding. It is also helpful in debugging bug reports from "fuzzers".</td>
</tr>
<tr>
<td>png:preserve-colormap[=<var>true</var>]</td>
<td>Use the existing image->colormap. Normally the PNG encoder will
try to optimize the palette, eliminating unused entries and putting
the transparent colors first. If this flag is set, that behavior
is suppressed.</td>
</tr>
<tr>
<td>png:preserve-iCCP[=<var>true</var>]</td>
<td>By default, the PNG decoder and encoder examine any ICC profile
that is present, either from an <samp>iCCP</samp> chunk in the PNG
input or supplied via an option, and if the profile is recognized
to be the sRGB profile, converts it to the <samp>sRGB</samp> chunk.
You can use <samp>-define png:preserve-iCCP</samp> to prevent
this from happening; in such cases the <samp>iCCP</samp> chunk
will be read or written and no <samp>sRGB</samp> chunk will be
written. There are some ICC profiles that claim to be sRGB but
have various errors that cause them to be rejected by libpng16; such
profiles are recognized anyhow and converted to the <samp>sRGB</samp>
chunk, but are rejected if the <samp>-define png:preserve-iCCP</samp>
is present. Note that not all "sRGB" ICC profiles are recognized
yet; we will add them to the list as we encounter them.</td>
</tr>
<tr>
<td>png:swap-bytes[=<var>true</var>]</td>
<td>The PNG specification requires that any multi-byte integers be stored
in network byte order (MSB-LSB endian). This option allows you to
fix any invalid PNG files that have 16-bit samples stored incorrectly
in little-endian order (LSB-MSB). The "-define png:swap-bytes" option
must appear before the input filename on the commandline. The swapping
is done during the libpng decoding operation.</td>
</tr>
<tr>
<td>ps:imagemask</td>
<td>If the ps:imagemask flag is defined, the PS3 and EPS3 coders will
create Postscript files that render bilevel images with the Postscript
imagemask operator instead of the image operator.</td>
</tr>
<tr>
<td>psd:additional-info=all|selective</td>
<td>This option should only be used when converting from a PSD file to
another PSD file. This should be placed after the image is read. The two
options are 'all' and 'selective'. The 'selective' option will preserve
all additional information that is not related to the geometry of the
image. The 'all' option should only be used when the geometry of the
image has not been changed. This option is helpful when transferring
non-simple layers, such as adjustment layers from the input PSD file to
the output PSD file. If this option is not used, the additional
information will not be preserved. This define is available as of
Imagemagick version 6.9.5-8.
</td>
</tr>
<tr>
<td>psd:alpha-unblend=off</td>
<td>Disable new automatic un-blending of transparency with the base image
for the flattened layer 0 before adding the alpha channel to the output
image. This define must be placed before the input psd image. (Available
as of IM 6.9.2.5). The automatic un-blending is new to IM 6.9.2.5 and
prevents the transparency from being applied twice in the output
image. This option should be set before reading the image.</td>
</tr>
<tr>
<td>psd:preserve-opacity-mask=<var>true</var></td>
<td>This option should only be used when converting from a PSD file to
another PSD file. It will preserve the opacity mask of a layer and add it
back to the layer when the image is saved. Setting this to 'true' will
enable this feature. This define is available as of Imagemagick version
6.9.5-10.
</td>
</tr>
<tr>
<td>psd:write-layers=<var>false</var></td>
<td>This option can be used to disable writing the layers of a PSD file.
</td>
</tr>
<tr>
<td>psd:replicate-profile=<var>true</var></td>
<td>This option can be used to copy the image profile to all the images
instead of only the first image that is returned.
</td>
</tr>
<tr>
<td>ptif:pyramid=<var>min-base</var>x<var>levels</var></td>
<td>Specify the min-base and number of levels of the pyramid, e.g., 64x4.</td>
</tr>
<tr>
<td>svg:embedding=<var>true</var></td>
<td>Enable embedding of a another SVG for which you trust the source. This is disabled by default as it can be a source of infinite recusion.</td>
</tr>
<tr>
<td>svg:parse-huge=<var>true</var></td>
<td>Enable rendering of a very large SVG for which you trust the source.</td>
</tr>
<tr>
<td>svg:substitute-entities=<var>true</var></td>
<td>Enable entity substitution if you trust the source.</td>
</tr>
<tr>
<td>tga:preserve-orientation=<var>true</var></td>
<td>Preserve the image orientation.</td>
</tr>
<tr>
<td>tga:write-footer=<var>true</var></td>
<td>Enable writing of an empty optional footer.</td>
</tr>
<tr>
<td>tiff:alpha=<var>associated|unassociated|unspecified</var></td>
<td>Specify the alpha extra samples as associated, unassociated or
unspecified.</td>
</tr>
<tr>
<td>tiff:assume-alpha=<var>true|false</var></td>
<td>Assume undeclared extra channels are alpha.</td>
</tr>
<tr>
<td>tiff:endian=<var>msb|lsb</var></td>
<td> </td>
</tr>
<tr>
<td>tiff:exif-properties=<var>false</var></td>
<td>Disable reading the EXIF properties.</td>
</tr>
<tr>
<td>tiff:fill-order=<var>msb|lsb</var></td>
<td> </td>
</tr>
<tr>
<td>tiff:peg-tables-mode=<var>0-3</var></td>
<td>Set the TIFFTAG_JPEGTABLESMODE when the tiff file is written with
jpeg compression</td>
</tr>
<tr>
<td>tiff:gps-properties=<var>false</var></td>
<td>Disable reading the GPS properties.</td>
</tr>
<tr>
<td>tiff:ignore-layers=<var>true</var></td>
<td>Ignore the Photoshop layers.</td>
</tr>
<tr>
<td>tiff:ignore-tags=<var>comma-separate-list-of-tag-IDs</var></td>
<td>Allow one or more tag ID values to be ignored.</td>
</tr>
<tr>
<td>tiff:predictor=<var>[1, 2 or 3]</var></td>
<td>A mathematical operator that is applied to the image data before an
encoding scheme is applied. The general idea is that subsequent pixels of
an image resemble each other. Thus, substracting the information from a
pixel that is already contained in previous one is likely to reduce its
information density considerably and aid subsequent compression.
1 = No prediction scheme used before coding. 2 = Horizontal differencing.
3 = Floating point horizontal differencing.</td>
</tr>
<tr>
<td>tiff:preserve-compression=<var>true</var></td>
<td>Preserve compression of the source image.</td>
</tr>
<tr>
<td>tiff:rows-per-strip=<var>value</var></td>
<td>Set the number of rows per strip.</td>
</tr>
<tr>
<td>tiff:tile-geometry=<var>WxH</var></td>
<td>Set the tile size for pyramid tiffs. Requires the suffix
PTIF: before the outputname.</td>
</tr>
<tr>
<td>uhdr:gainmap-gamma=<var>value</var></td>
<td>Set gainmap image encoding gamma. Must be greater than 0.0. Used during
encoding. Optional. Default value is 1.0.</td>
</tr>
<tr>
<td>uhdr:gainmap-quality=<var>value</var></td>
<td>Set gainmap image encoding quality factor. The valid range is 1 to 100,
with 1 indicating lowest image quality or highest compression and 100
indicating best quality or least effective compression. Used during
encoding. Optional. Default value is 95.</td>
</tr>
<tr>
<td>uhdr:gainmap-max-content-boost=<var>value</var></td>
<td>Specify the maximum allowed ratio of the linear luminance for the target
HDR rendition relative to (divided by) that of the SDR image, at a given
pixel. In other words, this specifies how much brighter a pixel can get,
when shown on an HDR display, relative to the SDR rendition. Must be
greater than 0.0. Used during encoding. Optional. If not configured,
this is computed dynamically based on the input.</td>
</tr>
<tr>
<td>uhdr:gainmap-min-content-boost=<var>value</var></td>
<td>Specify the minimum allowed ratio of the linear luminance for the target
HDR rendition relative to (divided by) that of the SDR image, at a given
pixel. In other words, this specifies how much darker a pixel can get,
when shown on an HDR display, relative to the SDR rendition. Must be
greater than 0.0. Used during encoding. Optional. If not configured,
this is computed dynamically based on the input.</td>
</tr>
<tr>
<td>uhdr:hdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
<td>Set input HDR intent color gamut. Used during encoding. Required.</td>
</tr>
<tr>
<td>uhdr:hdr-color-transfer=<var>{hlg|pq|linear}</var></td>
<td>Set input HDR intent color transfer. Used during encoding. Required.</td>
</tr>
<tr>
<td>uhdr:output-color-transfer=<var>{hlg|pq|linear|srgb}</var></td>
<td>Set the target display transfer characteristics on which the
ultrahdr image is rendered. Used during decoding. Required.
If <em>srgb</em>, only sdr intent is decoded and sent as output,
otherwise, sdr intent and gainmap are decoded, combined into
hdr image and sent as output.</td>
</tr>
<tr>
<td>uhdr:sdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
<td>Set input SDR intent color gamut. Used during encoding. Required.</td>
</tr>
<tr>
<td>uhdr:uhdr:target-display-peak-brightness=<var>value</var></td>
<td>Peak brightness refers to the maximum brightness level that a display can achieve. This is important for accurately representing bright highlights in HDR content.</td>
</tr>
<tr>
<td>video:intermediate-format=<var>{pam,webp}</var></td>
<td>Set the video intermediate format option of <samp>ffmpeg</samp>.</td>
</tr>
<tr>
<td>video:pixel-format=<var>value</var></td>
<td>Set the pixel format option of <samp>ffmpeg</samp>.</td>
</tr>
<tr>
<td>video:vsync=<var>value</var></td>
<td>Set the vsync option of <samp>ffmpeg</samp>.</td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<th align="center" colspan="2">PSEUDO-IMAGE FORMATS</th>
</tr>
<tr>
<td>caption:max-pointsize=<var>pointsize</var></td>
<td>Limit the maximum point size</td>
</tr>
<tr>
<td>caption:split=<var>boolean</var></td>
<td>split text if required to fit caption on canvas</td>
</tr>
<tr>
<td>gradient:angle=<var>angle (in degrees)</var></td>
<td>For a linear gradient, this specifies the direction of
the gradient going from color1 to color2 in a clockwise
positive manner relative to north (up). For a radial
gradient, this specifies the rotation of the gradient in a
clockwise positive manner from its normal X-Y orientation.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:bounding-box=<var>WxH+X+Y</var></td>
<td>Limit the gradient to a larger or smaller region than
the image dimensions. If the region defined by the bounding
box is smaller than the image, then color1 will be the color
of the background.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:center=<var>x,y</var></td>
<td>Specify the coordinates of the center point for the
radial gradient. The default is the center of the image.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:direction=<var>value</var></td>
<td>Specify the direction of the linear gradient towards
the top/bottom/left/right or diagonal corners. The choices are:
NorthWest, North, Northeast, West, East, SouthWest, South, SouthEast.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:extent=<var>value</var></td>
<td>Specify the shape of an image centered radial gradient.
The choices are: Circle, Diagonal, Ellipse, Maximum, Minimum.
Circle and Maximum draw a circular radial gradient even for
rectangular shaped images of radius equal to the larger of
the half-width and half-height of the image. The Circle and
Maximum options are both equivalent to the default radial
gradient. The Minimum option draws a circular radial gradient
even for rectangular shaped images of radius equal to the
smaller of the half-width and half-height of the image.
The Diagonal option draws a circular radial gradient even
for rectangular shaped images of radius equal to the
half-diagonal of the image. The Ellipse options draws an
elliptical radial gradient for rectangular shaped images of
radii equal to half the width and half the height of the image.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:radii=<var>x,y</var></td>
<td>Specify the x and y radii of the gradient. If the
x radius and the y radius are equal, the shape of the
radial gradient will be a circle. If they differ, then
the shape will be an ellipse. The default values are the
maximum of the half width and half height of the image.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>gradient:vector=<var>x1,y1,x2,y2</var></td>
<td>Specify the direction of the linear gradient going from
vector1 (x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be
located at vector position x1,y1 and color2 (toColor) will be
located at vector position x2,y2.
Supported in Imagemagick 6.9.2-5.</td>
</tr>
<tr>
<td>histogram:unique-colors=<var>false</var></td>
<td>Suppress the textual listing of the image's unique colors.</td>
</tr>
<tr>
<td>pango:align=<var>left|center|right</var></td>
<td></td>
</tr>
<tr>
<td>pango:auto-dir=<var>true|false</var></td>
<td></td>
</tr>
<tr>
<td>pango:ellipsize=<var>start|middle|end</var></td>
<td></td>
</tr>
<tr>
<td>pango:gravity-hint=<var>natural|strong|line</var></td>
<td></td>
</tr>
<tr>
<td>pango:hinting=<var>none|auto|full</var></td>
<td></td>
</tr>
<tr>
<td>pango:indent=<var>points</var></td>
<td></td>
</tr>
<tr>
<td>pango:justify=<var>true|false</var></td>
<td></td>
</tr>
<tr>
<td>pango:language=<var>en_US|others</var></td>
<td></td>
</tr>
<tr>
<td>pango:markup=<var>true|false</var></td>
<td></td>
</tr>
<tr>
<td>pango:single-paragraph=<var>true|false</var></td>
<td></td>
</tr>
<tr>
<td>pango:wrap=<var>word|char|word-char</var></td>
<td></td>
</tr>
<tr>
<td>pixel:compliance=<var>value</var></td>
<td>Set the "pixel:" output format according to several standards.
The choices are SVG, None, Undefined, MVG, X11, XPM. The default
list values for (s)RGB colors in the form of (s)rgb(r,g,b) or
(s)rgba(r,g,b,a). Color names will no longer be presented. For sRGB or
RGB colors, the SVG, X11, XPM and None options lists color names,
if they exist. The MVG and Undefined options list hex values. When
colors are presented or converted to hue-based colorspaces, the values
listed will be integers for hue and percents for the other two components.
For other colorspaces, values may be listed as either percents or
fractional value. Setting the depth to 8 will limit values to the 8-bit
range, except for hue-based colors.</td>
</tr>
<tr>
<td>txt:compliance=<var>value</var></td>
<td>Set the "txt:" format for the values in parentheses according to
several standards. The choices are svg, none, undefined, mvg, x11, xpm.
The default will list values for (s)RGB colors in the quantum range.
The SVG, X11, XPM, MVG and None options lists values in the 8-bit range
for all Q-level compiles. The undefined option also lists values in the
quantum range. When colors are presented or converted to hue-based
colorspaces, the values listed will be integers for hue and percents for
the other two components. For other colorspaces, values may be listed as
either percents or fractional value. Setting the depth to 8 will limit
values to the 8-bit range, except for hue-based colors.</td>
</tr>
<tr>
<td>webp:<var>tag</var>=<var>value</var></td>
<td>WebP has a plethora of defines detailed on this <a href="../www/webp.html">page</a>.</td>
</tr>
<tr>
<td>xmp:validate=<var>{true,false}</var></td>
<td>By default, ImageMagick validates any XMP profile embedded in an image.</td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<th align="center" colspan="2">Identify Defines</th>
</tr>
<tr>
<td colspan="2"><p></p></td>
</tr>
<tr>
<td>identify:locate=<var>minimum|maximum</var></td>
<td>Locate the coordinates of one or more image minimum or maximum.</td>
</tr>
<tr>
<td>identify:limit=<var>number</var></td>
<td>Locate the coordinates for the number of minima or maxima specified.</td>
</tr>
</table>
</div>
</div>
</main><!-- /.container -->
<footer class="text-center pt-5 my-5 text-body-secondary border-top">
<div class="container-fluid">
<a href="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="cite.html">Cite</a> •
<a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
<a href="../www/../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
<br/>
<a href="https://github.com/imagemagick/imagemagick" rel="noopener" target="_blank" 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" rel="noopener" target="_blank" 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>
<!-- Magick Cache 27th July 2025 09:38 -->
|