mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
Added rendering fix from beyonddeath
git-svn-id: https://zxing.googlecode.com/svn/trunk@1199 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
a206b17859
commit
8a978c9b5c
|
@ -126,10 +126,17 @@ namespace com.google.zxing.qrcode
|
||||||
|
|
||||||
// 3. Write the white lines at the bottom
|
// 3. Write the white lines at the bottom
|
||||||
int offset2 = topPadding + (inputHeight * multiple);
|
int offset2 = topPadding + (inputHeight * multiple);
|
||||||
for (int y = offset2; y < outputHeight; y++)
|
for (int y = offset2; y < outputHeight; y++) {
|
||||||
{
|
|
||||||
setRowColor(outputArray[y], unchecked((sbyte) 255));
|
setRowColor(outputArray[y], unchecked((sbyte) 255));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Added per beyonddeath
|
||||||
|
for (int x = 0; x < outputHeight; x++) {
|
||||||
|
for (int y = 0; y < outputWidth; y++) {
|
||||||
|
output.set(y, x, outputArray[x][y]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue