springboot实现条形码_Chart: 基于Spring boot 2构建的条形码支持服务,算法框架使用Zxing和D_Project。已支持大部分常用条形码图片生成。同时也提供一个解码API。...

Seppiko Chart

Seppiko Chart is a barcode microservice for Code39 \ Code93 \ Code128 \ ITF \ PDF417 \

DataMatrix \ QRCode and Decode API base on Spring boot 2 \ ZXing \ D_Project AND Apache Batik.

Seppiko Chart is almost OOTB(out-of-the-box) software,you can easy build and run.

Features

One dimensional code \ QR Code and Datamatrix has text on image bottom(Only the POST request can be closed).

You can use Zxing api generator D_project QR code image.

Decode support can use image URL in addition to Base64 code and URL.

You can get text content with QR Code.

All barcode support add text on the bottom.But except for PDF417 and D_project can not add text with SVG.

All barcode support SVG,except for PDF417.

D_project support custom color.

You can use JMX manager this microservice.

How to run

git clone https://gitlab.com/seppiko/chart.git

cd chart

mvn spring-boot:run

Enjoy it.

API Document

Work with Docker

Full Post JSON and default value

{

"data":null,

"encoding":null,

"errorCorrectionLevel":null,

"format":null,

"needBase64":false,

"enableJson":false,

"width":null,

"height":null,

"margin":null,

"backgroundColor":null,

"color":null,

"needText":false,

"size":0,

"type":0

}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate

License

This project is released under Apache License version 2.0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值