Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QArt support #8

Open
3 tasks done
brainstone8 opened this issue Jul 17, 2023 · 3 comments
Open
3 tasks done

QArt support #8

brainstone8 opened this issue Jul 17, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@brainstone8
Copy link

Clear and concise description of the problem

Changing manually padding or error code bits and then changing affected other bits automatically, so that for example we can paint a white area in the middle and the qr code is still valid.

Suggested solution

https://github.com/7sDream/pyqart

Alternative

No response

Additional context

No response

Validations

@brainstone8 brainstone8 added the enhancement New feature or request label Jul 17, 2023
@antfu antfu changed the title Manually change bits QArt support Jul 17, 2023
@brainstone8
Copy link
Author

The function below, changed, from pyqart and referring to the rest of the implementation in pyqart gives back a boolean matrix of the qr code that correspondences to the image example.png.
Can this be included in your typescript code?
I tried, but it didn't work to call python.

By the way I commented out to put the numbers after the link in the file qart.py on line 64.

from pyqart import QArtist

def qart_QR(url='https://youtu.be/aaaaaaa', img='example.png', version=None, level=3, rotation=0, only_data=False):
return(QArtist(url=url, img=img, version=version, level=level, rotation=rotation, only_data=only_data).as_bool_matrix)

@antfu
Copy link
Owner

antfu commented Jul 24, 2023

I think you will need to port it complete from Python to JavaScript to get it work

@vallagurd
Copy link

vallagurd commented Jul 25, 2023

hi since the update the texts are not visible in interface,'dark theme) but its ok for normal mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants