/usr/share/doc/graphicsmagick/www/formats.html is in graphicsmagick 1.3.18-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 | <?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.9.1: http://docutils.sourceforge.net/" />
<title>GraphicsMagick Supported Formats</title>
<link rel="stylesheet" href="docutils-articles.css" type="text/css" />
</head>
<body>
<div class="banner">
<img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
<input type="hidden" name="domains" value="www.graphicsmagick.org" />
<input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
<span class="nowrap"><input type="text" name="q" size="25" maxlength="255" /> <input type="submit" name="sa" value="Search" /></span>
</form>
</div>
<div class="navmenu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="project.html">Project</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="README.html">Install</a></li>
<li><a href="Hg.html">Source</a></li>
<li><a href="NEWS.html">News</a> </li>
<li><a href="utilities.html">Utilities</a></li>
<li><a href="programming.html">Programming</a></li>
<li><a href="reference.html">Reference</a></li>
</ul>
</div>
<div class="document" id="graphicsmagick-supported-formats">
<h1 class="title">GraphicsMagick Supported Formats</h1>
<!-- -*- mode: rst -*- -->
<!-- This text is in reStucturedText format, so it may look a bit odd. -->
<!-- See http://docutils.sourceforge.net/rst.html for details. -->
<p>GraphicsMagick uses an ASCII string known as "magick" (e.g. "GIF") to
identify file formats, algorithms acting as formats, built-in images, and
embedded profile types. After a file has been read or "pinged", the
associated magick string is stored in the "magick" member of the Image
structure, and is reported in the default output of 'gm identify'.</p>
<p>GraphicsMagick supports reading over 88 major file formats (not including
sub-formats). The following table provides a summary of the supported
image formats.</p>
<table border="1" class="docutils">
<caption>Supported Image Formats</caption>
<colgroup>
<col width="14%" />
<col width="6%" />
<col width="28%" />
<col width="52%" />
</colgroup>
<tbody valign="top">
<tr><td>Format</td>
<td>Mode</td>
<td>Description</td>
<td>Notes</td>
</tr>
<tr><td>ART</td>
<td>RW</td>
<td>PFS: 1st Publisher</td>
<td>Format originally used on the Macintosh
(MacPaint?) and later used for PFS: 1st
Publisher clip art.</td>
</tr>
<tr><td><a class="reference external" href="http://www.jmcgowan.com/avi.html">AVI</a></td>
<td>R</td>
<td>Microsoft Audio/Visual
Interleaved</td>
<td> </td>
</tr>
<tr><td>AVS</td>
<td>RW</td>
<td>AVS X image</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/bmp/egff.htm">BMP</a></td>
<td>RW</td>
<td>Microsoft Windows bitmap</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/cals/egff.htm">CALS</a></td>
<td>R</td>
<td>Continuous Acquisition
and Life-cycle Support
Type 1 image</td>
<td>Specified in MIL-R-28002 and MIL-PRF-28002.
Standard blueprint archive format as used by the
US military to replace microfiche.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/cgm/egff.htm">CGM</a></td>
<td>R</td>
<td>Computer Graphics
Metafile</td>
<td>Requires <a class="reference external" href="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">ralcgm</a> to render CGM files.</td>
</tr>
<tr><td>CMYK</td>
<td>RW</td>
<td>Raw cyan, magenta,
yellow, and black samples</td>
<td>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</td>
</tr>
<tr><td>CUR</td>
<td>R</td>
<td>Microsoft Cursor Icon</td>
<td> </td>
</tr>
<tr><td>CUT</td>
<td>R</td>
<td>DR Halo</td>
<td> </td>
</tr>
<tr><td>DCM</td>
<td>R</td>
<td>Digital Imaging and
Communications in
Medicine (<a class="reference external" href="http://dicom.nema.org/">DICOM</a>) image</td>
<td>Used by the medical community for images like
X-rays. See the NEMA <a class="reference external" href="http://dicom.nema.org/">DICOM</a> web site for more
information. <a class="reference external" href="http://dicom.nema.org/">DICOM</a> is the basis for the
<a class="reference external" href="http://www.geinspectiontechnologies.com/en/products/software/diconde.html">DICONDE</a> format.</td>
</tr>
<tr><td>DCX</td>
<td>RW</td>
<td>ZSoft IBM PC multi-page
Paintbrush image</td>
<td> </td>
</tr>
<tr><td>DIB</td>
<td>RW</td>
<td>Microsoft Windows Device
Independent Bitmap</td>
<td>DIB is a BMP file without the BMP header. Used
to support embedded images in compound formats
like WMF.</td>
</tr>
<tr><td><a class="reference external" href="motion-picture.html">DPX</a></td>
<td>RW</td>
<td>Digital Moving Picture
Exchange</td>
<td>RGB and grayscale are fully supported at 1, 8,
10, 12, and 16 bits as per the <a class="reference external" href="http://www.smpte.org/">SMPTE</a> 268M-2003
(V2.0) specification. This includes support for
images stored in a planar (multi-element)
configuration and Cineon Log RGB. Rec. 601 and
709 YCbCr are fully supported with 4:4:4 and
4:2:2 subsampling. <a class="reference external" href="motion-picture.html">DPX</a> is commonly used to
store image frames in film and HDTV production.</td>
</tr>
<tr><td>EMF</td>
<td>R</td>
<td>Microsoft Enhanced
Metafile (32-bit)</td>
<td>Only available under Microsoft Windows.</td>
</tr>
<tr><td>EPDF</td>
<td>RW</td>
<td>Encapsulated Portable
Document Format</td>
<td> </td>
</tr>
<tr><td>EPI</td>
<td>RW</td>
<td>Adobe Encapsulated
PostScript Interchange
format</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPS</td>
<td>RW</td>
<td>Adobe Encapsulated
PostScript</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPS2</td>
<td>W</td>
<td>Adobe Level II
Encapsulated PostScript</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPS3</td>
<td>W</td>
<td>Adobe Level III
Encapsulated PostScript</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPSF</td>
<td>RW</td>
<td>Adobe Encapsulated
PostScript</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPSI</td>
<td>RW</td>
<td>Adobe Encapsulated
PostScript Interchange
format</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>EPT</td>
<td>RW</td>
<td>Adobe Encapsulated
PostScript Interchange
format with <a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a> preview</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>FAX</td>
<td>RW</td>
<td>Group 3 FAX</td>
<td>Note that FAX machines use non-square pixels
which are 1.5 times wider than they are tall but
computer displays use square pixels, so FAX
images may appear to be narrow unless they are
explicitly resized using a resize specification
of "150x100%". Please note that this is <em>not</em> a
<a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a> format.</td>
</tr>
<tr><td>FIG</td>
<td>R</td>
<td>FIG graphics format</td>
<td>Requires TransFig.</td>
</tr>
<tr><td><a class="reference external" href="http://www.cv.nrao.edu/fits/">FITS</a></td>
<td>RW</td>
<td>Flexible Image Transport
System</td>
<td> </td>
</tr>
<tr><td>FPX</td>
<td>RW</td>
<td>FlashPix Format</td>
<td>Requires FlashPix SDK.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/gif/egff.htm">GIF</a></td>
<td>RW</td>
<td>CompuServe Graphics
Interchange Format</td>
<td><p class="first">8-bit RGB PseudoColor with up to 256 palette
entires. Specify the format "GIF87" to write the
older version 87a of the format.</p>
<p class="last">The PNG format provides a superior set of
features to GIF. Consider using PNG format
rather than GIF if clients are able to read PNG.</p>
</td>
</tr>
<tr><td>GPLT</td>
<td>R</td>
<td><a class="reference external" href="http://gnuplot.sourceforge.net/">Gnuplot</a> plot files</td>
<td>Requires <a class="reference external" href="http://gnuplot.sourceforge.net/">Gnuplot</a> 3.5 or later.</td>
</tr>
<tr><td>GRAY</td>
<td>RW</td>
<td>Raw gray samples</td>
<td>Use -size, -depth, and -endian to specify the
image width, height, depth, and byte order.</td>
</tr>
<tr><td>HPGL</td>
<td>R</td>
<td>HP-GL plotter language</td>
<td>Requires <a class="reference external" href="http://www.gnu.org/software/hp2xx/hp2xx.html">hp2xx</a> 3.2.0 or later</td>
</tr>
<tr><td>HTML</td>
<td>RW</td>
<td>Hypertext Markup Language
with a client-side image
map</td>
<td>Also known as "HTM". Requires html2ps to read.</td>
</tr>
<tr><td>ICO</td>
<td>R</td>
<td>Microsoft icon</td>
<td>Also known as "ICON".</td>
</tr>
<tr><td><a class="reference external" href="http://www.jpeg.org/">JBIG</a></td>
<td>RW</td>
<td>Joint Bi-level Image
experts Group file
interchange format</td>
<td>Also known as "BIE" and "JBG". Requires
<a class="reference external" href="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">jbigkit</a> 1.0 or later</td>
</tr>
<tr><td><a class="reference external" href="http://www.libmng.com/">JNG</a></td>
<td>RW</td>
<td><a class="reference external" href="http://www.jpeg.org/">JPEG</a> Network Graphics</td>
<td><a class="reference external" href="http://www.jpeg.org/">JPEG</a> in a PNG-style wrapper with transparency.
Requires libjpeg and libpng-1.0.2 or later,
libpng-1.2.5 or later recommended.</td>
</tr>
<tr><td>JP2</td>
<td>RW</td>
<td>JPEG-2000 JP2 File Format
Syntax</td>
<td>Requires <a class="reference external" href="http://www.ece.uvic.ca/~mdadams/jasper/">jasper</a> 1.600.0 or later</td>
</tr>
<tr><td>JPC</td>
<td>RW</td>
<td>JPEG-2000 Code Stream
Syntax</td>
<td>Requires <a class="reference external" href="http://www.ece.uvic.ca/~mdadams/jasper/">jasper</a> 1.600.0 or later</td>
</tr>
<tr><td><a class="reference external" href="http://www.jpeg.org/">JPEG</a></td>
<td>RW</td>
<td>Joint Photographic
Experts Group JFIF format</td>
<td>Requires jpegsrc.v6b.tar.gz</td>
</tr>
<tr><td>MAN</td>
<td>R</td>
<td>Unix reference manual
pages</td>
<td>Requires that GNU groff and Ghostcript are
installed.</td>
</tr>
<tr><td>MAT</td>
<td>RW</td>
<td>MATLAB image format</td>
<td>Coming from <a class="reference external" href="http://www.mathworks.com/">MathWorks</a> for storing matrices.
Currently supported types are 2D matrices: byte,
word, double, complex and 3D matrices containing
RGB [x*y*3] byte, word.</td>
</tr>
<tr><td><a class="reference external" href="miff.html">MIFF</a></td>
<td>RW</td>
<td>Magick image file format</td>
<td>ImageMagick's lossless image format (with
ASCII header) which ensures that no image
attributes understood by ImageMagick or
GraphicsMagick are lost.</td>
</tr>
<tr><td>MONO</td>
<td>RW</td>
<td>Bi-level bitmap in
least-significant-byte
first order</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.libmng.com/">MNG</a></td>
<td>RW</td>
<td>Multiple-image Network
Graphics</td>
<td>Requires libpng-1.0.2 or later, libpng-1.2.5 or
later recommended.</td>
</tr>
<tr><td><a class="reference external" href="http://www.mpeg.org/">MPEG</a></td>
<td>RW</td>
<td>Motion Picture Experts
Group file interchange
format (version 1)</td>
<td>Requires mpeg2vidcodec_v12.tar.gz.</td>
</tr>
<tr><td><a class="reference external" href="http://www.mpeg.org/">M2V</a></td>
<td>RW</td>
<td>Motion Picture Experts
Group file interchange
format (version 2)</td>
<td>Requires mpeg2vidcodec_v12.tar.gz.</td>
</tr>
<tr><td>MPC</td>
<td>RW</td>
<td>Magick Persistent Cache
image file format</td>
<td><p class="first">The native "in-memory" GraphicsMagick
uncompressed file format. This file format is
identical to that used by Open ImageMagick to
represent images in memory and is read in "zero
time" via memory mapping. The MPC format is not
portable and is not suitable as an archive
format. It is suitable as an intermediate format
for high-performance image processing.</p>
<p class="last">The MPC format requires two files to support one
image. When writing the MPC format, a file with
extension ".mpc" is used to store information
about the image, while a file with extension
<tt class="docutils literal">.cache</tt> stores the image pixels. The storage
space required by a MPC image (or an image in
memory) may be calculated by the equation
(QuantumDepth*Rows*Columns*5)/8.</p>
</td>
</tr>
<tr><td>MSL</td>
<td>RW</td>
<td>Magick Scripting Language</td>
<td>MSL is the XML-based scripting language
supported by the conjure utility.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/mtv/egff.htm">MTV</a></td>
<td>RW</td>
<td>MTV Raytracing image
format</td>
<td> </td>
</tr>
<tr><td>MVG</td>
<td>RW</td>
<td>Magick Vector Graphics.</td>
<td>The native GraphicsMagick vector metafile
format. A text file containing vector drawing
commands accepted by <a class="reference external" href="convert.html">convert</a>'s -draw option.</td>
</tr>
<tr><td>OTB</td>
<td>RW</td>
<td>On-the-air Bitmap</td>
<td> </td>
</tr>
<tr><td>P7</td>
<td>RW</td>
<td>Xv's Visual Schnauzer
thumbnail format</td>
<td> </td>
</tr>
<tr><td>PALM</td>
<td>RW</td>
<td>Palm pixmap</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://netpbm.sourceforge.net/doc/pam.html">PAM</a></td>
<td>RW</td>
<td>Portable Arbitrary Map
format</td>
<td>Superset of PNM (PPM, PGM, PPM) raw type formats.
Supports bilevel, gray, RGB, CMYK, alpha channel.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/pbm/egff.htm">PBM</a></td>
<td>RW</td>
<td>Portable bitmap format
(black and white)</td>
<td> </td>
</tr>
<tr><td>PCD</td>
<td>RW</td>
<td>Photo CD</td>
<td>The maximum resolution written is 768x512 pixels
since larger images require huffman compression
(which is not supported).</td>
</tr>
<tr><td>PCDS</td>
<td>RW</td>
<td>Photo CD</td>
<td>Decode with the sRGB color tables.</td>
</tr>
<tr><td>PCL</td>
<td>W</td>
<td>HP Page Control Language</td>
<td>For output to HP laser printers.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/pcx/egff.htm">PCX</a></td>
<td>RW</td>
<td>ZSoft IBM PC Paintbrush
file</td>
<td> </td>
</tr>
<tr><td>PDB</td>
<td>RW</td>
<td>Palm Database ImageViewer
Format</td>
<td> </td>
</tr>
<tr><td>PDF</td>
<td>RW</td>
<td>Portable Document Format</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>PFA</td>
<td>R</td>
<td>Postscript Type 1 font
(ASCII)</td>
<td>Opening as file returns a preview image.</td>
</tr>
<tr><td>PFB</td>
<td>R</td>
<td>Postscript Type 1 font
(binary)</td>
<td>Opening as file returns a preview image.</td>
</tr>
<tr><td>PGM</td>
<td>RW</td>
<td>Portable graymap format
(gray scale)</td>
<td> </td>
</tr>
<tr><td>PICON</td>
<td>RW</td>
<td>Personal Icon</td>
<td> </td>
</tr>
<tr><td>PICT</td>
<td>RW</td>
<td>Apple Macintosh QuickDraw
/PICT file</td>
<td> </td>
</tr>
<tr><td>PIX</td>
<td>R</td>
<td>Alias/Wavefront RLE image
format</td>
<td> </td>
</tr>
<tr><td>PNG</td>
<td>RW</td>
<td>Portable Network Graphics</td>
<td>Requires libpng-1.0.2 or later, libpng-1.2.5 or
later recommended.</td>
</tr>
<tr><td>PNM</td>
<td>RW</td>
<td>Portable anymap</td>
<td><p class="first">PNM is a family of formats supporting portable
bitmaps (PBM) , graymaps (PGM), and pixmaps
(PPM). There is no file format associated with
pnm itself. If PNM is used as the output format
specifier, then GraphicsMagick automatically
selects the most appropriate format to represent
the image.</p>
<p class="last">The default is to write the binary version of
the formats. Use '-quality 0' to write the
ASCII version of the formats.</p>
</td>
</tr>
<tr><td>PPM</td>
<td>RW</td>
<td>Portable pixmap format
(color)</td>
<td> </td>
</tr>
<tr><td>PS</td>
<td>RW</td>
<td>Adobe PostScript file</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>PS2</td>
<td>RW</td>
<td>Adobe Level II PostScript
file</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>PS3</td>
<td>RW</td>
<td>Adobe Level III
PostScript file</td>
<td>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</td>
</tr>
<tr><td>PSD</td>
<td>RW</td>
<td>Adobe Photoshop bitmap
file</td>
<td> </td>
</tr>
<tr><td>PTIF</td>
<td>RW</td>
<td>Pyramid encoded <a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a></td>
<td>Multi-resolution <a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a> containing successively
smaller versions of the image down to the size
of an icon. The desired sub-image size may be
specified when reading via the -size option.</td>
</tr>
<tr><td><a class="reference external" href="http://www.photoworks.com/">PWP</a></td>
<td>R</td>
<td>Seattle File Works
multi-image file</td>
<td> </td>
</tr>
<tr><td>RAS</td>
<td>R</td>
<td><a class="reference external" href="http://www.topol.cz/english/share/index.php3">TopoL</a> (GIS)</td>
<td> </td>
</tr>
<tr><td>RAD</td>
<td>R</td>
<td><a class="reference external" href="http://radsite.lbl.gov/radiance/HOME.html">Radiance</a> image file</td>
<td>Requires that ra_ppm from the <a class="reference external" href="http://radsite.lbl.gov/radiance/HOME.html">Radiance</a> software
package be installed.</td>
</tr>
<tr><td>RGB</td>
<td>RW</td>
<td>Raw red, green, and blue
samples</td>
<td>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</td>
</tr>
<tr><td>RGBA</td>
<td>RW</td>
<td>Raw red, green, and blue
and matte samples</td>
<td>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</td>
</tr>
<tr><td>RLA</td>
<td>R</td>
<td>Alias/Wavefront image
file</td>
<td> </td>
</tr>
<tr><td>RLE</td>
<td>R</td>
<td>Utah Run length encoded
image file</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://oreilly.com/www/centers/gff/formats/scitex/">SCT</a></td>
<td>R</td>
<td>Scitex Continuous Tone
Picture</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.algonet.se/~cyren/sfw/">SFW</a></td>
<td>R</td>
<td>Seattle File Works image</td>
<td> </td>
</tr>
<tr><td>SGI</td>
<td>RW</td>
<td>Irix RGB image</td>
<td> </td>
</tr>
<tr><td>SHTML</td>
<td>W</td>
<td>Hypertext Markup Language
client-side image map</td>
<td>Used to write HTML clickable image maps based on
a the output of montage or a format which
supports tiled images such as <a class="reference external" href="miff.html">MIFF</a>.</td>
</tr>
<tr><td>SUN</td>
<td>RW</td>
<td>SUN Rasterfile</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.w3.org/Graphics/SVG/">SVG</a></td>
<td>RW</td>
<td>Scalable Vector Graphics</td>
<td>Requires <a class="reference external" href="http://xmlsoft.org/">libxml2</a> and <a class="reference external" href="http://www.freetype.org/">freetype2</a>. Note that <a class="reference external" href="http://www.w3.org/Graphics/SVG/">SVG</a>
is a very complex specification so support is
still not complete.</td>
</tr>
<tr><td>TGA</td>
<td>RW</td>
<td>Truevision Targa image</td>
<td>Also known as formats "ICB", "VDA", and "VST".</td>
</tr>
<tr><td><a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a></td>
<td>RW</td>
<td>Tagged Image File Format</td>
<td>Also known as "TIF". Requires tiff-v3.5.4.tar.gz
or later. Note that since the Unisys LZW patent
recently expired, libtiff may still require a
separate LZW patch in order to support LZW. LZW
is included in libtiff by default since v3.7.0.</td>
</tr>
<tr><td>TIM</td>
<td>R</td>
<td>PSX TIM file</td>
<td> </td>
</tr>
<tr><td>TTF</td>
<td>R</td>
<td>TrueType font file</td>
<td>Requires <a class="reference external" href="http://www.freetype.org/">freetype2</a>. Opening as file returns a
preview image.</td>
</tr>
<tr><td>TXT</td>
<td>RW</td>
<td>Raw text file</td>
<td> </td>
</tr>
<tr><td>UIL</td>
<td>W</td>
<td>X-Motif UIL table</td>
<td> </td>
</tr>
<tr><td>UYVY</td>
<td>RW</td>
<td>Interleaved YUV raw image</td>
<td>Use -size command line option to specify width
and height.</td>
</tr>
<tr><td>VICAR</td>
<td>RW</td>
<td>VICAR rasterfile format</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/viff/egff.htm">VIFF</a></td>
<td>RW</td>
<td>Khoros Visualization
Image File Format</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.openmobilealliance.org/Technical/wapindex.aspx">WBMP</a></td>
<td>RW</td>
<td>Wireless bitmap</td>
<td>Support for uncompressed monochrome only.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/wmf/egff.htm">WMF</a></td>
<td> </td>
<td>Windows Metafile</td>
<td>Requires libwmf. By default, renders WMF files
using the dimensions specified by the metafile
header. Use the -density option to adjust the
output resolution, and thereby adjust the ouput
size. The default output resolution is 72DPI so
"-density 144" results in an image twice as
large as the default. Use -background <a class="reference external" href="color.html">color</a> to
specify the WMF background color (default white)
or -texture filename to specify a background
texture image.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/wpg/egff.htm">WPG</a></td>
<td>R</td>
<td>Word Perfect Graphics
File</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/xbm/egff.htm">XBM</a></td>
<td>RW</td>
<td>X Windows system bitmap,
black and white only</td>
<td>Used by the X Windows System to store monochrome
icons.</td>
</tr>
<tr><td>XCF</td>
<td>R</td>
<td>GIMP image</td>
<td> </td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/xpm/egff.htm">XPM</a></td>
<td>RW</td>
<td>X Windows system pixmap</td>
<td>Also known as "PM". Used by the X Windows System
to store color icons.</td>
</tr>
<tr><td><a class="reference external" href="http://www.fileformat.info/format/xwd/egff.htm">XWD</a></td>
<td>RW</td>
<td>X Windows system window
dump</td>
<td>Used by the X Windows System to save/display
screen dumps.</td>
</tr>
<tr><td>YUV</td>
<td>RW</td>
<td>CCIR 601 4:1:1</td>
<td>Use -size command line option to specify width
and height.</td>
</tr>
</tbody>
</table>
<p>GraphicsMagick supports a number of image format specifications which
refer to images prepared via an algorithm, or input/output targets. The
following table lists these pseudo image formats:</p>
<table border="1" class="docutils">
<caption>Pseudo Image Formats</caption>
<colgroup>
<col width="13%" />
<col width="6%" />
<col width="25%" />
<col width="56%" />
</colgroup>
<tbody valign="top">
<tr><td>Tag</td>
<td>Mode</td>
<td>Description</td>
<td>Notes</td>
</tr>
<tr><td>CAPTION</td>
<td>R</td>
<td>Image caption</td>
<td>fixme</td>
</tr>
<tr><td>CLIPBOARD</td>
<td>RW</td>
<td>Windows Clipboard</td>
<td>Only available under Microsoft Windows.</td>
</tr>
<tr><td>FRACTAL</td>
<td>R</td>
<td>Plasma fractal image</td>
<td> </td>
</tr>
<tr><td>GRADIENT</td>
<td>R</td>
<td>Gradual passing from
one shade to another</td>
<td><p class="first">Returns a rendered gradient image using the
specified image size. Specify the desired
shading as part of the filename. For example:</p>
<blockquote class="last">
<tt class="docutils literal"><span class="pre">gradient:red-blue</span></tt> or <tt class="docutils literal"><span class="pre">gradient:#F00-#00F</span></tt></blockquote>
</td>
</tr>
<tr><td>HISTOGRAM</td>
<td>W</td>
<td>Histogram of the image</td>
<td><p class="first">Generate an RGB histogram of the input image.
The output format is always ImageMagick <a class="reference external" href="miff.html">MIFF</a>
(regardless of file extension). For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert file.tiff histogram:file.miff</tt></blockquote>
</td>
</tr>
<tr><td>IDENTITY</td>
<td>R</td>
<td><a class="reference external" href="http://www.quelsolaar.com/technology/clut.html">Hald CLUT</a> identity
image</td>
<td>Generate a Hald CLUT identity image of a specified order.
The order is specified as an argument like "IDENTITY:8".
The default order is eight, producing a 512x512 image.</td>
</tr>
<tr><td>INFO</td>
<td>W</td>
<td>Image descriptive
information and
statistics</td>
<td>Writes descriptive information similar to 'identify'</td>
</tr>
<tr><td>LABEL</td>
<td>R</td>
<td>Text image format</td>
<td>Specify the desired text as the filename (e.g.
"label:This is a label").</td>
</tr>
<tr><td>MAP</td>
<td>RW</td>
<td>Colormap intensities
and indices</td>
<td>Set -depth to set the sample size of the
intensities; indices are 16-bit if colors >
256.</td>
</tr>
<tr><td>MATTE</td>
<td>W</td>
<td>MATTE format</td>
<td>Write only.</td>
</tr>
<tr><td>NULL</td>
<td>RW</td>
<td>NULL image</td>
<td>Useful for creating blank tiles with montage
(use "NULL:"). Also useful as an output format
when evaluating image read performance.</td>
</tr>
<tr><td>PLASMA</td>
<td>R</td>
<td>Plasma fractal image</td>
<td><p class="first">Creates an image using the plasma fractal. For
example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert <span class="pre">-size</span> 640x480 plasma: file.miff</tt></blockquote>
</td>
</tr>
<tr><td>PREVIEW</td>
<td>W</td>
<td>Show a preview an image
enhancement, effect, or
f/x</td>
<td><p class="first">Creates a preview montage of images prepared
over a parameteric range in order to assist
with parameter selection. Specify the desired
preview type via the -preview option). The
output file is always written in the
ImageMagick <a class="reference external" href="miff.html">MIFF</a> format.</p>
<p>For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert file.tiff <span class="pre">-preview</span> gamma preview:file.miff</tt></blockquote>
</td>
</tr>
<tr><td>PRINT</td>
<td>W</td>
<td>Send image to your
computer printer</td>
<td>Unix users may set the PRINTER (for 'lp') or
LPDEST (for 'lpr') environment variables to
select the desired printer.</td>
</tr>
<tr><td>SCAN</td>
<td>R</td>
<td>Import image from a
scanner device</td>
<td>Requires <a class="reference external" href="http://www.mostang.com/sane/">SANE</a> Specify the device name and path
as the filename (e.g. "scan:mustek:/dev/scanner").</td>
</tr>
<tr><td>STEGANO</td>
<td>R</td>
<td>Steganographic image</td>
<td>Use -size command line option to specify width,
height, and offset of the steganographic image</td>
</tr>
<tr><td>TILE</td>
<td>R</td>
<td>Tiled image</td>
<td><p class="first">Create a tiled version of an image at by tiling
a image. Use -size to specify the tiled image
size. The image is specified similar to
"TILE:image.miff".
For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert <span class="pre">-size</span> 800x600 tile:image.jpg out.jpg</tt></blockquote>
</td>
</tr>
<tr><td>VID</td>
<td>RW</td>
<td>Visual Image Directory</td>
<td><p class="first">Used to create a thumbnailed directory (tiled
thumbnails) of a set of images which may be
used to select images to view via the display
program, or saved to a <a class="reference external" href="miff.html">MIFF</a> or SHTML file.
For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert <span class="pre">vid:"*.jpg"</span> index.miff</tt></blockquote>
</td>
</tr>
<tr><td>WIN</td>
<td>RW</td>
<td>Select image from or
display image to your
computer screen</td>
<td><p class="first">Only supported under Microsoft Windows. For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert file.jpg <span class="pre">-rotate</span> 90 win:</tt></blockquote>
</td>
</tr>
<tr><td>X</td>
<td>RW</td>
<td>Select image from or
display image to your X
server screen</td>
<td><p class="first">Also see the import and display programs. For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert file.jpg <span class="pre">-rotate</span> 90 x:</tt></blockquote>
</td>
</tr>
<tr><td>XC</td>
<td>R</td>
<td>Canvas image of
specified color</td>
<td><p class="first">Useful to create solid color "canvas" images.
Use -size and -depth to specify the image
width, height, and depth. Example XC color
specifications include "XC:red" and "XC:#
FF0000". See the <a class="reference external" href="color.html">color</a> reference for the
numeric values used for named colors. For example:</p>
<blockquote class="last">
<tt class="docutils literal">gm convert <span class="pre">-size</span> 640x480 xc:red red.jpg</tt></blockquote>
</td>
</tr>
</tbody>
</table>
<p>GraphicsMagick includes a number of built-in (embedded) images which may
be referenced as if they were an image file. The <tt class="docutils literal">IMAGE:</tt> format tag may
be used via the syntax "IMAGE:name" to request an embedded image (e.g.
<tt class="docutils literal">IMAGE:LOGO</tt>). For backwards compatibility, the image specifications
<tt class="docutils literal">GRANITE:</tt>, <tt class="docutils literal">LOGO:</tt>, <tt class="docutils literal">NETSCAPE:</tt>, and <tt class="docutils literal">ROSE:</tt> may also be used to request
images with those names.</p>
<p>A new canvas image of a specified size may be created using one of these pattern
images using a command similar to:</p>
<pre class="literal-block">
gm convert -size 640x480 PATTERN:BRICKS bricks.miff
</pre>
<p>The TILE: virtual image type may also be used similar to:</p>
<pre class="literal-block">
gm convert -size 640x480 TILE:IMAGE:BRICKS bricks.miff
</pre>
<table border="1" class="docutils">
<caption>Built-In Images And Patterns</caption>
<colgroup>
<col width="22%" />
<col width="37%" />
<col width="41%" />
</colgroup>
<tbody valign="top">
<tr><td>Name</td>
<td>Description</td>
<td>Notes/Sample</td>
</tr>
<tr><td>BRICKS</td>
<td>16x16 brick pattern</td>
<td><img alt="bricks" src="images/patterns/bricks.png" /></td>
</tr>
<tr><td>CHECKERBOARD</td>
<td>30x30 checkerboard pattern</td>
<td><img alt="checkerboard" src="images/patterns/checkerboard.png" /></td>
</tr>
<tr><td>CIRCLES</td>
<td>16x16 circles pattern</td>
<td><img alt="circles" src="images/patterns/circles.png" /></td>
</tr>
<tr><td>CROSSHATCH</td>
<td>8x4 crosshatch pattern</td>
<td><img alt="crosshatch" src="images/patterns/crosshatch.png" /></td>
</tr>
<tr><td>CROSSHATCH30</td>
<td>8x4 crosshatch pattern with lines
at 30 degrees.</td>
<td><img alt="crosshatch30" src="images/patterns/crosshatch30.png" /></td>
</tr>
<tr><td>CROSSHATCH45</td>
<td>8x4 crosshatch pattern with lines
at 45 degrees.</td>
<td><img alt="crosshatch45" src="images/patterns/crosshatch45.png" /></td>
</tr>
<tr><td>FISHSCALES</td>
<td>16x8 fish scales pattern</td>
<td><img alt="fishscales" src="images/patterns/fishscales.png" /></td>
</tr>
<tr><td>GRANITE</td>
<td>128x128 granite texture pattern</td>
<td><img alt="granite" src="images/patterns/granite.png" /></td>
</tr>
<tr><td>GRAY0</td>
<td>32x32 0% intensity gray</td>
<td><img alt="gray0" src="images/patterns/gray0.png" /></td>
</tr>
<tr><td>GRAY5</td>
<td>32x32 5% intensity gray</td>
<td><img alt="gray5" src="images/patterns/gray5.png" /></td>
</tr>
<tr><td>GRAY10</td>
<td>32x32 10% intensity gray</td>
<td><img alt="gray10" src="images/patterns/gray10.png" /></td>
</tr>
<tr><td>GRAY15</td>
<td>32x32 15% intensity gray</td>
<td><img alt="gray15" src="images/patterns/gray15.png" /></td>
</tr>
<tr><td>GRAY20</td>
<td>32x32 20% intensity gray</td>
<td><img alt="gray20" src="images/patterns/gray20.png" /></td>
</tr>
<tr><td>GRAY25</td>
<td>32x32 25% intensity gray</td>
<td><img alt="gray25" src="images/patterns/gray25.png" /></td>
</tr>
<tr><td>GRAY30</td>
<td>32x32 30% intensity gray</td>
<td><img alt="gray30" src="images/patterns/gray30.png" /></td>
</tr>
<tr><td>GRAY35</td>
<td>32x32 35% intensity gray</td>
<td><img alt="gray35" src="images/patterns/gray35.png" /></td>
</tr>
<tr><td>GRAY40</td>
<td>32x32 40% intensity gray</td>
<td><img alt="gray40" src="images/patterns/gray40.png" /></td>
</tr>
<tr><td>GRAY45</td>
<td>32x32 45% intensity gray</td>
<td><img alt="gray45" src="images/patterns/gray45.png" /></td>
</tr>
<tr><td>GRAY50</td>
<td>32x32 50% intensity gray</td>
<td><img alt="gray50" src="images/patterns/gray50.png" /></td>
</tr>
<tr><td>GRAY55</td>
<td>32x32 55% intensity gray</td>
<td><img alt="gray55" src="images/patterns/gray55.png" /></td>
</tr>
<tr><td>GRAY60</td>
<td>32x32 60% intensity gray</td>
<td><img alt="gray60" src="images/patterns/gray60.png" /></td>
</tr>
<tr><td>GRAY65</td>
<td>32x32 65% intensity gray</td>
<td><img alt="gray65" src="images/patterns/gray65.png" /></td>
</tr>
<tr><td>GRAY70</td>
<td>32x32 70% intensity gray</td>
<td><img alt="gray70" src="images/patterns/gray70.png" /></td>
</tr>
<tr><td>GRAY75</td>
<td>32x32 75% intensity gray</td>
<td><img alt="gray75" src="images/patterns/gray75.png" /></td>
</tr>
<tr><td>GRAY80</td>
<td>32x32 80% intensity gray</td>
<td><img alt="gray80" src="images/patterns/gray80.png" /></td>
</tr>
<tr><td>GRAY85</td>
<td>32x32 85% intensity gray</td>
<td><img alt="gray85" src="images/patterns/gray85.png" /></td>
</tr>
<tr><td>GRAY90</td>
<td>32x32 90% intensity gray</td>
<td><img alt="gray90" src="images/patterns/gray90.png" /></td>
</tr>
<tr><td>GRAY95</td>
<td>32x32 95% intensity gray</td>
<td><img alt="gray95" src="images/patterns/gray95.png" /></td>
</tr>
<tr><td>GRAY100</td>
<td>32x32 100% intensity gray</td>
<td><img alt="gray100" src="images/patterns/gray100.png" /></td>
</tr>
<tr><td>HEXAGONS</td>
<td>30x18 hexagon pattern</td>
<td><img alt="hexagons" src="images/patterns/hexagons.png" /></td>
</tr>
<tr><td>HORIZONTAL</td>
<td>8x4 horizontal line pattern</td>
<td><img alt="horizontal" src="images/patterns/horizontal.png" /></td>
</tr>
<tr><td>HORIZONTALSAW</td>
<td>16x8 horizontal saw-tooth pattern</td>
<td><img alt="horizontalsaw" src="images/patterns/horizontalsaw.png" /></td>
</tr>
<tr><td>HS_BDIAGONAL</td>
<td>8x8 backward diagonal line pattern
(45 degrees slope)</td>
<td><img alt="hs_bdiagonal" src="images/patterns/hs_bdiagonal.png" /></td>
</tr>
<tr><td>HS_CROSS</td>
<td>8x8 cross line pattern</td>
<td><img alt="hs_cross" src="images/patterns/hs_cross.png" /></td>
</tr>
<tr><td>HS_DIAGCROSS</td>
<td>8x8 diagonal line cross pattern
(45 degrees slope)</td>
<td><img alt="hs_diagcross" src="images/patterns/hs_diagcross.png" /></td>
</tr>
<tr><td>HS_FDIAGONAL</td>
<td>8x8 forward diagonal line pattern
(45 degrees slope)</td>
<td><img alt="hs_fdiagonal" src="images/patterns/hs_fdiagonal.png" /></td>
</tr>
<tr><td>HS_HORIZONTAL</td>
<td>8x8 horizontal line pattern</td>
<td><img alt="hs_horizontal" src="images/patterns/hs_horizontal.png" /></td>
</tr>
<tr><td>HS_VERTICAL</td>
<td>8x8 vertical line pattern</td>
<td><img alt="hs_vertical" src="images/patterns/hs_vertical.png" /></td>
</tr>
<tr><td>LEFT30</td>
<td>8x4 forward diagonal pattern (30
degrees slope)</td>
<td><img alt="left30" src="images/patterns/left30.png" /></td>
</tr>
<tr><td>LEFT45</td>
<td>8x8 forward diagonal line pattern
(45 degrees slope)</td>
<td><img alt="left45" src="images/patterns/left45.png" /></td>
</tr>
<tr><td>LEFTSHINGLE</td>
<td>24x24 left shingle pattern</td>
<td><img alt="leftshingle" src="images/patterns/leftshingle.png" /></td>
</tr>
<tr><td>LOGO</td>
<td>640x480, GraphicsMagick Logo</td>
<td><img alt="logo" src="images/gm-125x80t.png" /></td>
</tr>
<tr><td>NETSCAPE</td>
<td>216x144 image using colors in
Netscape 216 (6x6x6 ) color cube.</td>
<td>Most commonly used with the
<a class="reference external" href="convert.html">convert</a>/<a class="reference external" href="mogrify.html">mogrify</a> -map option to
create <em>web safe</em> images.</td>
</tr>
<tr><td>OCTAGONS</td>
<td>16x16 octagons pattern</td>
<td><img alt="octagons" src="images/patterns/octagons.png" /></td>
</tr>
<tr><td>RIGHT30</td>
<td>8x4 backward diagonal line pattern
(30 degrees)</td>
<td><img alt="right30" src="images/patterns/right30.png" /></td>
</tr>
<tr><td>RIGHT45</td>
<td>8x8 backward diagonal line pattern
(30 degrees)</td>
<td><img alt="right45" src="images/patterns/right45.png" /></td>
</tr>
<tr><td>RIGHTSHINGLE</td>
<td>24x24 right shingle pattern</td>
<td><img alt="rightshingle" src="images/patterns/rightshingle.png" /></td>
</tr>
<tr><td>ROSE</td>
<td>70x46, Picture of a rose.</td>
<td><img alt="rose" src="images/patterns/rose.png" /></td>
</tr>
<tr><td>SMALLFISHSCALES</td>
<td>8x8 small fish scales pattern</td>
<td><img alt="smallfishscales" src="images/patterns/smallfishscales.png" /></td>
</tr>
<tr><td>VERTICAL</td>
<td>8x8 vertical line pattern</td>
<td><img alt="vertical" src="images/patterns/vertical.png" /></td>
</tr>
<tr><td>VERTICALBRICKS</td>
<td>16x16 vertical brick pattern</td>
<td><img alt="verticalbricks" src="images/patterns/verticalbricks.png" /></td>
</tr>
<tr><td>VERTICALLEFTSHINGLE</td>
<td>24x24 vertical left shingle
pattern</td>
<td><img alt="verticalleftshingle" src="images/patterns/verticalleftshingle.png" /></td>
</tr>
<tr><td>VERTICALRIGHTSHINGLE</td>
<td>24x24 vertical right shingle
pattern</td>
<td><img alt="verticalrightshingle" src="images/patterns/verticalrightshingle.png" /></td>
</tr>
<tr><td>VERTICALSAW</td>
<td>8x16 vertical saw-tooth pattern</td>
<td><img alt="verticalsaw" src="images/patterns/verticalsaw.png" /></td>
</tr>
</tbody>
</table>
<p>GraphicsMagick provides a number of format identifiers which are used
to add, remove, and save embedded profiles for images which can
support embedded profiles. Image types which may contain embedded
profiles are <a class="reference external" href="http://www.remotesensing.org/libtiff/">TIFF</a>, <a class="reference external" href="http://www.jpeg.org/">JPEG</a>, PDF, and PNG.</p>
<table border="1" class="docutils">
<caption>Supported Embedded Profile Formats</caption>
<colgroup>
<col width="19%" />
<col width="6%" />
<col width="27%" />
<col width="48%" />
</colgroup>
<tbody valign="top">
<tr><td>Format</td>
<td>Mode</td>
<td>Description</td>
<td>Notes</td>
</tr>
<tr><td>8BIM</td>
<td>RW</td>
<td>Photoshop resource format
(binary)</td>
<td> </td>
</tr>
<tr><td>8BIMTEXT</td>
<td>RW</td>
<td>Photoshop resource format
(ASCII)</td>
<td>An ASCII representation of the 8BIM format.</td>
</tr>
<tr><td>APP1</td>
<td>RW</td>
<td>Raw application
information</td>
<td> </td>
</tr>
<tr><td>APP1JPEG</td>
<td>RW</td>
<td>Raw <a class="reference external" href="http://www.jpeg.org/">JPEG</a> binary data</td>
<td>Profile in <a class="reference external" href="http://www.jpeg.org/">JPEG</a> wrapper.</td>
</tr>
<tr><td>ICC</td>
<td>RW</td>
<td>International Color
Consortium color profile</td>
<td>Also known as "ICM". To read, use -profile with
convert.</td>
</tr>
<tr><td>IPTC</td>
<td>RW</td>
<td>IPTC Newsphoto (binary)</td>
<td>To read, use -profile with convert</td>
</tr>
<tr><td>IPTCTEXT</td>
<td>RW</td>
<td>IPTC Newsphoto (ASCII)</td>
<td>An ASCII representation of the IPTC format.</td>
</tr>
</tbody>
</table>
<p>Support for some of the formats are delegated to libraries or external
programs. The README describes where to find these distributions and
any special configuration options required.</p>
<p>To get a complete listing of the image formats which are supported on
your system, type</p>
<pre class="literal-block">
gm convert -list format
</pre>
<p>On some platforms, GraphicsMagick automatically processes these
extensions: .gz for Zip compression, .Z for Unix compression, and .bz2
for block compression. For example, a PNM image called image.pnm.gz is
automatically uncompressed while the image is read.</p>
<hr class="docutils" />
<p>Copyright © GraphicsMagick Group 2002 - 2013</p>
</div>
</body>
</html>
|