Giter VIP home page Giter VIP logo

cuter's People

Contributors

chinuno-usami avatar hexylena avatar kinosang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cuter's Issues

Documentation is incorrect

from CuteR import CuteR as cr
a = cr.produce("TEXT", "IMAGE")
a.save("FILE YOU WANT TO SAVE TO")

as opposed to

from CuteR import cr
cr.produce()

The headers or library files could not be found for zlib

Got the following when trying to "pip install CuteR":
"The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source."

Had to install zlib1g-dev on Debian.
Figure that should probably be a requirement.

Change dot size?

This is really cool.

Is there any way that you could make the size of the white and colored dots as a parameter?

I want to experiment with scannability vs image size, and I think that I might be able to make a smaller image, if there were large 'dots' of data...

In any case, thank you for a great project.

-FT

Increase resolution

Is there a way to make the image quality of the resulting QR code better? I haven't found any size/resolution parameter, and no matter which version I use, the image gets larger with higher version numbers but the quality of the QR code is still pretty bad.

For example, when I take the microsoft logo (2000x2000px, see here ) and turn that into a QR code ...
python3 ./CuteR.py -o output.png -C -p ms.png microsoft
this is the result:
output

The image has 2000x2000 pixels like the original, but it looks like it's been rendered at something like 80x80 and then upscaled to 2000x2000 again. Why is this so low-quality?

I looked into the source code and it looks like the QR code is always generated in a fixed size. Why is that the case? The resulting image would be a way higher quality if the QR code size would be set to the image size.

Or am I missing something? Why does my Microsoft QR code look so bad?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.