mw::qre::QREncoder::EncodeWithImage Member Function

Syntax

bool EncodeWithImage(
    EncodeData* qrInfo,
    ImageInfo* imageInfo
);

Arguments

Name Description
in qrInfo The encoding information for the QR Code. See EncodeData.
in imageInfo The information for the image to be embedded in the QR Code. See ImageInfo.

Return Values

Returns the encoding result. Returns true if successful. False is returned if this fails.

Description

Creates a "design QR Code" by embedding the specified image in the center of the generated QR Code.
If rgb888Data inside imageInfo is NULL, the QR Code is created with a blank space of the specified size at its center.
imgPos inside imageInfo is not referenced.

If the error correction level has been set low, the precision may decline significantly.
It is strongly recommended that you set error correction to Level H.
The reading precision may also significantly decline if the QR Code version is low (i.e., one of the earlier versions).
We recommend Version 8 or higher.
You should verify that you have secured sufficient reading precision with your created QR Code.

Revision History

2010/06/17
Corrected the text.
2010/05/31
Initial version.

CONFIDENTIAL