makepattern man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MAKEPATTERN(1)		     Generic Mapping Tools		MAKEPATTERN(1)

NAME
       makepattern - make GMT color pattern from b/w pattern or icon

SYNOPSIS
       makepattern 1bit.ras | iconfile -Cfr/g/b -Cbr/g/b

DESCRIPTION
       makepattern 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 GMT (3.1 or later) -Gp  settings  or
       by psimage.

       1bit.ras | iconfile
	      Either a 1-bit Sun rasterfile (standard format, no RLE) or a Sun
	      icon file (as used in GMT 3.0).

       -Cf    Sets the color for the foreground pixels (the ones) [black].

       -Cb    Sets the color for the background pixels (the zeros) [white].

WIN32 fix
       Since binary redirection under WIN32 does not work,  you	 must  specify
       the  output  file  with	-Gnewfile.ras.	 This option is only available
       under WIN32.

EXAMPLES
       To create a colorized red/blue 8-bit Sun rasterfile  pattern  from  the
       old 3.0-style iconpattern stored in file custom.icon, run

       makepattern custom.icon -Cf red -Cb blue > custom.ras

       To  create  a  green/blue 8-bit Sun rasterfile pattern from a 1-bit Sun
       raster called bits.ras, run

       makepattern bits.ras -Cf green -Cb blue > colorbits.ras

SEE ALSO
       GMT(1), psimage(1)

GMT 4.5.14			  1 Nov 2015			MAKEPATTERN(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net