Generate a QR code image from a string (can be Chinese, transcode the Chinese before generating the QR code image). If you want a QR code with log, you can add one in the middle of the generated QR code. Small log, the log image should not be too big, otherwise the content will not be scanned.