GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RGB_TO_BW (3)

NAME

rgb_to_bw - convert a color scanline to black and white.

CONTENTS

Synopsis
Description
See Also
Author

SYNOPSIS

#include <rle.h>

void rgb_to_bw( red, green, blue, bw, length );
rle_pixel * red, * green, * blue, *bw;
int length;

DESCRIPTION

rgb_to_bw converts red/green/blue color information to black and white using the NTSC Y transform:
Y = 0.30 * R + 0.59 * G + 0.11 * B . The arguments point to scanlines with length bytes in each. bw may be identical to one of red, green, or blue.

SEE ALSO

tobw(1), librle(3), RLE(5).

AUTHOR

Spencer W. Thomas
University of Utah
Search for    or go to Top of page |  Section 3 |  Main Index


3 RGB_TO_BW (3) 2/2/87

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.