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
RLE_PUTROW(3) FreeBSD Library Functions Manual RLE_PUTROW(3)

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

#include <rle.h>

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

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_hdrncolors 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_hdrxmin element of the scanline.

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

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

Spencer W. Thomas, Todd Fuqua

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.
2/2/87 3

Search for    or go to Top of page |  Section 3 |  Main Index

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