mw::qre::QREncoder::EncodeWithImage
Member Functionbool EncodeWithImage( EncodeData* qrInfo, ImageInfo* imageInfo );
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 . |
Returns the encoding result. Returns true
if successful. False is returned if this fails.
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.
CONFIDENTIAL