All Projects → boombuler → Barcode

boombuler / Barcode

Licence: mit
a barcode creation lib for golang

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Barcode

Swiftscan
A barcode and qr code scanner( 二维码/条形码扫描、生成,仿微信、支付宝)
Stars: ✭ 293 (-69.25%)
Mutual labels:  qrcode-generator, qrcode, barcode
Czxing
C++ port of ZXing and ZBar for Android.
Stars: ✭ 854 (-10.39%)
Mutual labels:  qrcode-generator, qrcode, barcode
Qrcoder
A pure C# Open Source QR Code implementation
Stars: ✭ 2,794 (+193.18%)
Mutual labels:  qrcode, barcode, qrcode-generator
Efqrcode
A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
Stars: ✭ 4,121 (+332.42%)
Mutual labels:  qrcode-generator, qrcode, barcode
Barcode
barcode.php - Generate barcodes from a single PHP file. MIT license.
Stars: ✭ 141 (-85.2%)
Mutual labels:  qrcode-generator, qrcode, barcode
qr
🔲 Generate QR Codes straight in your terminal!
Stars: ✭ 34 (-96.43%)
Mutual labels:  qrcode, qrcode-generator
garden.zbarcam
Migrated to https://github.com/kivy-garden/zbarcam
Stars: ✭ 49 (-94.86%)
Mutual labels:  qrcode, barcode
qrencode.cr
Crystal bindings for libqrencode (qrencode), a library for QR code generation
Stars: ✭ 28 (-97.06%)
Mutual labels:  qrcode, qrcode-generator
Stegastamp
Invisible Hyperlinks in Physical Photographs
Stars: ✭ 306 (-67.89%)
Mutual labels:  qrcode, barcode
barcode scan2
[reborned barcode_scan] A flutter plugin for reading 2D barcodes and QR codes.
Stars: ✭ 43 (-95.49%)
Mutual labels:  qrcode, barcode
Roundcode
Custom rounded QR code with lots of customization.
Stars: ✭ 267 (-71.98%)
Mutual labels:  qrcode, barcode
Fehelper
😍FeHelper--Web前端助手(Awesome!Chrome & Firefox & MS-Edge Extension, All in one Toolbox!)
Stars: ✭ 3,880 (+307.14%)
Mutual labels:  qrcode-generator, qrcode
QR Attendance
This project is an attendance system which provides attendance on scanning QR code. The attendance is stored in Excel sheet named with the date of attendance taken. In this folder a file named Generate.py is used to generate the QR code for given input file. Attend.py file is for scanning the QR code
Stars: ✭ 17 (-98.22%)
Mutual labels:  qrcode, qrcode-generator
barcoder
Lightweight Barcode Encoding Library for .NET Framework, .NET Standard and .NET Core.
Stars: ✭ 76 (-92.03%)
Mutual labels:  barcode, qrcode-generator
koder
QR/bar code scanner for the Browser
Stars: ✭ 73 (-92.34%)
Mutual labels:  qrcode, barcode
Php Qrcode
A QR Code generator for PHP7.4+
Stars: ✭ 685 (-28.12%)
Mutual labels:  qrcode-generator, qrcode
Qrcode
A QRCode generator written in Swift.
Stars: ✭ 695 (-27.07%)
Mutual labels:  qrcode-generator, qrcode
Zxingview
👍 Lowest cost integration and most convenient customization zxing on android
Stars: ✭ 23 (-97.59%)
Mutual labels:  qrcode, barcode
qr-code-unity-3d-read-generate
Generating a QR code / Scanning a QR code in Unity 3D. Pre-build DLL and sample code from old Unity
Stars: ✭ 70 (-92.65%)
Mutual labels:  qrcode, qrcode-generator
r scan
📷🖨Flutter二维码&条形码扫描插件,支持相机、文件、链接、Uint8List类型扫描
Stars: ✭ 108 (-88.67%)
Mutual labels:  qrcode, barcode

Join the chat at https://gitter.im/golang-barcode/Lobby

Introduction

This is a package for GO which can be used to create different types of barcodes.

Supported Barcode Types

  • 2 of 5
  • Aztec Code
  • Codabar
  • Code 128
  • Code 39
  • Code 93
  • Datamatrix
  • EAN 13
  • EAN 8
  • PDF 417
  • QR Code

Example

This is a simple example on how to create a QR-Code and write it to a png-file

package main

import (
	"image/png"
	"os"

	"github.com/boombuler/barcode"
	"github.com/boombuler/barcode/qr"
)

func main() {
	// Create the barcode
	qrCode, _ := qr.Encode("Hello World", qr.M, qr.Auto)

	// Scale the barcode to 200x200 pixels
	qrCode, _ = barcode.Scale(qrCode, 200, 200)

	// create the output file
	file, _ := os.Create("qrcode.png")
	defer file.Close()

	// encode the barcode as png
	png.Encode(file, qrCode)
}

Documentation

See GoDoc

To create a barcode use the Encode function from one of the subpackages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].