@@ -0,0 +1,905 @@
+package com.qikemi.packages.zxing.test;%0A%0Aimport org.junit.Test;%0A%0Aimport com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;%0Aimport com.qikemi.packages.zxing.QRcodeEncoder;%0Aimport com.qikemi.packages.zxing.QRcodeEntity;%0A%0Apublic class ZxingQRcodeTest %7B%0A%09%0A%09@Test%0A%09public void test1() %7B%0A%09%09try %7B%0A//%09%09%09int width = 200;%0A//%09%09%09int height = 200;%0A//%09%09%09String content = %22%E6%B5%8B%E8%AF%95%E4%BF%A1%E6%81%AF%E5%9B%BE%E7%89%87%E7%9A%84%E5%86%85%E5%AE%B9%E5%93%A6%E3%80%82%22;%0A//%09%09%09BitMatrix matrix = MatrixToImageWriterEx.createQRCode(content, width, height);%0A//%09%09%09MatrixToLogoImageConfig logoConfig = new MatrixToLogoImageConfig(Color.BLACK, 2);%0A//%09%09%09MatrixToImageWriterEx.writeToFile(matrix, %22jpg%22, %22E:/img/1.jpg%22, %22E:/img/1.jpg%22, logoConfig);%0A//%09%09%09System.out.println(%22%E7%94%9F%E6%88%90%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%BB%93%E6%9D%9F%EF%BC%81%22);%0A%09%09%09QRcodeEncoder.createQRcode(new QRcodeEntity(%22http://www.baidu.com%22, %22E://logo.png%22, 200, 200, true, %22E://logo.png%22, %22jpg%22, ErrorCorrectionLevel.H, %22UTF-8%22, 0));%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%7D%0A

add QRcode encode test