SimpleSoftwareIO\QrCode\BaconQrCodeGenerator::mergeString PHP Method

mergeString() public method

Merges an image string with the center of the QrCode, does not check for correct format.
public mergeString ( $content, $percentage = 0.2 )
$content string The string contents of an image.
$percentage float The amount that the merged image should be placed over the qrcode.
    public function mergeString($content, $percentage = 0.2)
    {
        $this->imageMerge = $content;
        $this->imagePercentage = $percentage;
        return $this;
    }