# SSP_CreateBmpFile

## Syntax

    u32 SSP_CreateBmpFile(const void* src, void* dst, u16 width, u16 height, SSPConvertBmpType type);

## Arguments

src | Input data (YUV422 or RGB555 format).
dst | Buffer to store the created BMP file.
width | Image width. This must be a multiple of 2.
height | Image height.
type | Input data type (`SSP_BMP_YUV422` or `SSP_BMP_RGB555`).

## Return Values

Returns the size of the created BMP file.

## Description

Creates a BMP file from YUV422- or RGB555-format image data. The created BMP file is a Windows bitmap. The image width must be a multiple of 2.

## Revision History

2009/04/23 Initial version.

CONFIDENTIAL