Git Product home page Git Product logo

cuteqrcode's Introduction

cuteQRcode

一个胡里花哨没啥卵用的二维码 可以生成完整背景图片(包括GIF动图)的二维码,和纯字符形式(包括emoji表情)的二维码

环境要求

  1. php_GD库扩展
  2. php_imagick扩展
  3. ImageMagick软件

示例



使用

配置文件config.php

data内容    填写扫码后的连接或信息
level容错等级  常规二维码容错等级
size尺寸    大小单位像素,不超过1000px,不小于125px
mode模式    background背景图模式,normal常规模式,char字符模式
alpha透明度   背景填充颜色,1半透明;2全透明。在背景图片非常暗的情况下半透明可以提高识别度,但是会使背景原图变灰
other其他内容

filePath 背景图片路径
char 字符模式使用的字符(可以使用emoji)

TODO

  • 加入页边距支持
  • 容错率可以自由调整
  • 尺寸可调节

cuteqrcode's People

Contributors

xiyuanpingtadi avatar klinson avatar

Watchers

James Cloos avatar

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.