redxblue(1)redxblue(1)NAMEredxblue - swap red and blue for a 24 or 32 bit rasterfile
SYNOPSISredxblue [ -v ] [ -q ] [inrasf ] [outrasf ]
DESCRIPTIONredxblue converts an old-style 24 or 32 bit rasterfile into the newer,
Sun-standard format. The old format had the byte ordering RGB for
24-bit rasterfiles and XRGB for 32-bit rasterfiles. The new format has
the byte ordering XBGR for both 24-bit and 32-bit rasterfiles. X stands
for undefined byte value.
The conversion is performed simply by swapping the red and blue bytes.
It is also possible to use this filter to swap 'red' and 'blue' bytes
in any 32-bit rasterfile.
OPTIONS-v Verbose mode will print information as it processes the image.
(The default is to be silent.)
-q Query (prints list of options)
SEE ALSO24to8(1)
27 November 1992 redxblue(1)