Skip to main content

Qart to blend image and qrcode

Project description

A package to blend image and Qrcode

Install

pip install Qart

Usage

Qrcode

  1. Create Object To create an object where the constructor takes a string that you want to encode

    from Qart import Qrcode
    
    Qr = Qrcode("Accepted")
    
  2. Generate

    • The first parameter is the version of the QR code to be generated.
    • The second parameter is the error correction level of the QR code to be generated.
    • The third parameter is the version of the mask 0 ~ 7. (option)
    • The fourth parameter is the mode of the positioning point can use "Normal" and "Micro". (option)
    Qr.generate(6, "L", mask = 0, mode = "Normal")
    
  3. Show Show QRcode use matplotlib

    Qr.show()
    

Qart

  1. Create Object To create an object where the constructor takes a string that you want to encode

    from Qart import Qart
    
    Qr = Qart("Accepted")
    
  2. Generate

    • The first parameter is the path of the image to be merged.
    • The second parameter is the version of the QR code to be generated.
    • The third parameter is the error correction level of the QR code to be generated.
    • The fourth parameter is the version of the mask 0 ~ 7. (option)
    • The fifth parameter is the mode of the positioning point can use "Normal" and "Micro". (option)
    Qr.generate("img.png", 6, "L", mask = 0, mode = "Normal")
    
  3. Show Show QRcode use matplotlib

    Qr.show()
    

Image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Qart-0.0.7.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

Qart-0.0.7-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file Qart-0.0.7.tar.gz.

File metadata

  • Download URL: Qart-0.0.7.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Qart-0.0.7.tar.gz
Algorithm Hash digest
SHA256 891ca805df300820bab19b322ef8cde0aaa33f8f9b072e900ed80df8bf3942cb
MD5 35829b1658824bd3dca250f5cc6df328
BLAKE2b-256 1acc9de6b56acb0c340d746b3d01a003f824c142eec07b4b70363ca3d03509be

See more details on using hashes here.

File details

Details for the file Qart-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: Qart-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Qart-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7117338a44f85e5390fef913d989b399b2d3701bee1db8e29fa8d54bedaf7f13
MD5 5620c8e104d34f41e8fd605caea64421
BLAKE2b-256 1f984e8b489f1fe7d65b0de614fecc8aece4fcd979e0758135b8fafaa5b4730e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page