'2015/06'에 해당되는 글 1건

  1. 2015.06.23 QR code
2015.06.23 10:11

http://silentvoyage.tistory.com/125

http://blog.naver.com/devstory/130095325607

http://blog.naver.com/cubot/140112250672

http://neosm.tistory.com/8

http://blog.naver.com/qola/110187703555

http://blog.acronym.co.kr/235

 

 

zxing

Homepage : https://code.google.com/p/zxing/
source : https://github.com/zxing/zxing


maven (pom.xml)

<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>2.1</version>
</dependency>

 


QR 코드 생성 소스

import java.io.File;
import org.junit.Test;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.client.j2se.MatrixToImageWriter;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.qrcode.QRCodeWriter;

public class TestQRCode {

@Test
public void test() throws Exception {
QRCodeWriter qrCodeWriter = new QRCodeWriter();
String text = "http://iwastore.obigo.com/mobile";
//text = new String(text.getBytes("UTF-8"), "ISO-8859-1");
BitMatrix bitMatrix = qrCodeWriter.encode(text, BarcodeFormat.QR_CODE, 300, 300);
MatrixToImageWriter.writeToFile(bitMatrix, "png", new File("qrcode.png"));
}

}

 



웹 상에서 QR코드 바로 만들 수 있는 URL

Homepage : http://mqr.kr/generate/url/




jQuery QR 코드 만들기

Homepage : http://jeromeetienne.github.io/jquery-qrcode/
소스 : https://github.com/jeromeetienne/jquery-qrcode
blog : http://notes.jetienne.com/2011/04/07/jquery-qrcode.html

jquery-qrcode-master.zip





iText

컬러풀한 QR 코드 만들기

소스 :
http://sourceforge.net/projects/itext/files/iText/

참고 : http://blog.nooree.com/post.cfm/itext-colorful-qrcode


http://tyboss.tistory.com/59

'WebPrograming' 카테고리의 다른 글

QR code  (0) 2015.06.23
네이버 스마트 에디터에 이미지 삽입 기능 추가  (0) 2012.04.10
Posted by 물색없는세상