TGAWriteScanlines

Name

TGAWriteScanlines -- write image data per scanline

Synopsis

size_t TGAReadScanlines(TGA* tga, const tbyte* buf, size_t sln, size_t n, tuint32 flags);

Arguments

tga

pointer to valid TGA structure

buf

pointer to scanline data

sln

the first scanline that should be written

n

total number of scanlines to write

format

currently only TGA_RGB, TGA_BGR and TGA_RLE_ENCODE are supported (TGAData)

Description

Returns number of scanlines actually written ( = n on success). Use TGAWriteImage() instead.