formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Image Bitmap Call Back

# fz_ffmt_cbak_image_bmap_write_image_scanline_float

Description

Writes a single scanline of an image to a bitmap file. All data is represented as single precision floating point values.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_bmap_write_image_scanline_float(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
void * | data,
fz_rgb_float_td * | pixels,
float * | alpha,
float * | depth,
fz_rgb_float_td * | rgb_bg,
fzrt_int | row )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

pixels [Input]

The scanline pixels to export.

alpha [Input]

The scanline alpha channel to export. This will be NULL if no alpha is to be exported.

depth [Input]

The scanline depth data to export. This will be NULL if no depth is to be exported.

rgb_bg [Input]

The scanline background color to export. This will be NULL if no background color is to be exported.

row [Input]

Which scanline.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_image_fset

Defined in

fz_ffmt_api.h