mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Use zxing.org encoder in next version of zxing.appspot.com
git-svn-id: https://zxing.googlecode.com/svn/trunk@2921 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
52e12eee89
commit
5b3495e21e
1
pom.xml
1
pom.xml
|
@ -154,6 +154,7 @@
|
||||||
<version>2.5.1</version>
|
<version>2.5.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>2.6</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -197,7 +197,7 @@ public final class Generator implements EntryPoint {
|
||||||
|
|
||||||
private static String getUrl(int sizeX, int sizeY, String ecLevel, String encoding, String content) {
|
private static String getUrl(int sizeX, int sizeY, String ecLevel, String encoding, String content) {
|
||||||
StringBuilder result = new StringBuilder(100);
|
StringBuilder result = new StringBuilder(100);
|
||||||
result.append("http://chart.apis.google.com/chart?cht=qr");
|
result.append("http://zxing.org/w/chart?cht=qr");
|
||||||
result.append("&chs=").append(sizeX).append('x').append(sizeY);
|
result.append("&chs=").append(sizeX).append('x').append(sizeY);
|
||||||
result.append("&chld=").append(ecLevel);
|
result.append("&chld=").append(ecLevel);
|
||||||
result.append("&choe=").append(encoding);
|
result.append("&choe=").append(encoding);
|
||||||
|
|
Loading…
Reference in a new issue