imgdb::MpLoader::SetOutputWidth Member Function

Syntax

void SetOutputWidth(
     int nWidth
);

Parameters

Name Description
in nWidth The width (in pixels).

Return Values

None.

Description

Sets the width of the buffer for storing the decompressed image.

This width specifies the width of the buffer for decoding, so you can use the value set here to do such things as decompress a 64×64 image in the upper-left part of a 256×256 buffer. When the value is smaller than the width of the image, the image is decoded to exactly fill that width.


CONFIDENTIAL