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  -  RLE_PUTROW (3)

NAME

rle_putrow - Write a row (scanline) of data to an RLE file.

CONTENTS

Synopsis
Description
See Also
Author
Bugs

SYNOPSIS

#include <rle.h>

void rle_putrow( rows, length, the_hdr );
rle_pixel ** rows;
int length;
rle_hdr * the_hdr;

DESCRIPTION

Rle_putrow is called for each output scanline when creating an RLE(5) image. Rows is an array of pointers to the pixel data for the color components of the scanline. Rows should have the_hdr->ncolors elements. If an alpha channel is being saved, rows[-1] should point to the alpha channel data. Length is the number of pixels in the scanline. Rows[i] should point to the the_hdr->xmin element of the scanline.

The function rle_row_alloc(3) will properly allocate memory for use by rle_putrow.

SEE ALSO

rle_hdr(3), rle_skiprow(3), rle_putraw(3), rle_puteof(3), rle_row_alloc(3), rle_row_free(3), librle(3), RLE(5).

AUTHOR

Spencer W. Thomas, Todd Fuqua

BUGS

Having the scanline indexed from xmin is an incredible botch. Its origin lies in the deep dark history of the raster toolkit, and it seems it’s too late to change it now.
Search for    or go to Top of page |  Section 3 |  Main Index


3 RLE_PUTROW (3) 2/2/87

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