import pyqrcode
from PIL import Image
url = pyqrcode.QRCode('http://www.eqxiu.com',error = 'H')
url.png('test.png',scale=10)
im = Image.open('test.png')
im = im.convert("RGBA")
logo = Image.open('logo.png')
box = (135,135,235,235)
im.crop(box)
region = logo
region = region.resize((box[2] - box[0], box[3] - box[1]))
im.paste(region,box)
im.show()
358eb148a7b451ab710270f8bb1daff114d4d18f
<mask token>

<mask token>
url.png('test.png', scale=10)
<mask token>
im.crop(box)
<mask token>
im.paste(region, box)
im.show()

<mask token>
url = pyqrcode.QRCode('http://www.eqxiu.com', error='H')
url.png('test.png', scale=10)
im = Image.open('test.png')
im = im.convert('RGBA')
logo = Image.open('logo.png')
box = 135, 135, 235, 235
im.crop(box)
region = logo
region = region.resize((box[2] - box[0], box[3] - box[1]))
im.paste(region, box)
im.show()

import pyqrcode
from PIL import Image
url = pyqrcode.QRCode('http://www.eqxiu.com', error='H')
url.png('test.png', scale=10)
im = Image.open('test.png')
im = im.convert('RGBA')
logo = Image.open('logo.png')
box = 135, 135, 235, 235
im.crop(box)
region = logo
region = region.resize((box[2] - box[0], box[3] - box[1]))
im.paste(region, box)
im.show()

import pyqrcode
from PIL import Image
url = pyqrcode.QRCode('http://www.eqxiu.com',error = 'H')
url.png('test.png',scale=10)
im = Image.open('test.png')
im = im.convert("RGBA")
logo = Image.open('logo.png')
box = (135,135,235,235)
im.crop(box)
region = logo
region = region.resize((box[2] - box[0], box[3] - box[1]))
im.paste(region,box)
im.show()