View Single Post
Old 02-15-2024, 06:08 PM  
Huggles
GFY'S #1 retard
 
Industry Role:
Join Date: Feb 2003
Location: Kelowna
Posts: 10,489
Reachard, if you want to make a QR code that you own, you should be puttering around with the AI and coding it yourself:

import qrcode

# The data you want to encode in the QR code
data = "https://www.example.com"

# Generate the QR code
qr = qrcode.QRCode(
version=1, # controls the size of the QR Code
error_correction=qrcode.constants.ERROR_CORRECT_L, # controls the error correction used
box_size=10, # controls how many pixels each “box” of the QR code is
border=4, # controls how many boxes thick the border should be
)
qr.add_data(data)
qr.make(fit=True)

# Create an Image object from the QR Code instance
img = qr.make_image(fill_color="black", back_color="white")

# Save the image to a file
img.save("my_own_qr_code.png")

print("QR code generated and saved as my_own_qr_code.png")
__________________
I make my money from people jerking off
Huggles is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote