/usr/share/doc/gmt/html/man/makepattern.html is in gmt-doc 4.5.12-1.
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 | <!-- Creator : groff version 1.22.2 -->
<!-- CreationDate: Thu Feb 27 18:15:16 2014 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title>MAKEPATTERN</title>
</head>
<body bgcolor="#ffffff">
<h1 align="center">MAKEPATTERN</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#WIN32 fix">WIN32 fix</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<hr>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">makepattern
− make GMT color pattern from b/w pattern or icon</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>makepattern</b>
<i>1bit.ras</i> | <i>iconfile</i>
<b>−Cf</b><i>r/g/b</i>
<b>−Cb</b><i>r/g/b</i></p>
<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><i><b>makepattern</b></i>
reads either a Sun 1-bit rasterfile OR a Sun icon file. It
then accepts color choices for the foreground and background
pixels and colorizes the pattern, writing it as a 8-bit Sun
rasterfile on stdout. These patterns may then be used in
<b><A HREF="GMT.html">GMT</A></b> (3.1 or later) <b>−Gp</b> settings or by
<b><A HREF="psimage.html">psimage</A></b>. <i><br>
1bit.ras</i> | <i>iconfile</i></p>
<p style="margin-left:22%;">Either a 1-bit Sun rasterfile
(standard format, no RLE) or a Sun icon file (as used in
<b><A HREF="GMT.html">GMT</A></b> 3.0).</p>
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Cf</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Sets the color for the foreground pixels (the ones)
[black].</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Cb</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Sets the color for the background pixels (the zeros)
[white].</p> </td></tr>
</table>
<h2>WIN32 fix
<a name="WIN32 fix"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Since binary
redirection under WIN32 does not work, you must specify the
output file with <b>−G</b><i>newfile.ras</i>. This
option is only available under WIN32.</p>
<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">To create a
colorized red/blue 8-bit Sun rasterfile pattern from the old
3.0-style iconpattern stored in file custom.icon, run</p>
<p style="margin-left:11%; margin-top: 1em"><b>makepattern</b>
custom.icon <b>−Cf</b> red <b>−Cb</b> blue >
custom.ras</p>
<p style="margin-left:11%; margin-top: 1em">To create a
green/blue 8-bit Sun rasterfile pattern from a 1-bit Sun
raster called bits.ras, run</p>
<p style="margin-left:11%; margin-top: 1em"><b>makepattern</b>
bits.ras <b>−Cf</b> green <b>−Cb</b> blue >
colorbits.ras</p>
<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><i><A HREF="GMT.html">GMT</A></i>(1),
<i><A HREF="psimage.html">psimage</A></i>(1)</p>
<hr>
</body>
</html>
|