how to remove the white side-border of QR image

2,730 views
Skip to first unread message

KK

unread,
Nov 6, 2011, 11:38:26 PM11/6/11
to zx...@googlegroups.com
hi All, 
With the help of ZXing utility I'm able to create QR codes but the image that comes out has a huge white border on all 4 sides. Please have a look here @ http://imageshack.us/photo/my-images/830/device20111107100158.png/

Is there any way, we can customize this thing, may be remove the border all together. How to customize the border/image. Would appreciate if someone can point me how to do this. 
Thanks for your time. 

Regards, 
KK

Sean Owen

unread,
Nov 7, 2011, 2:41:28 AM11/7/11
to zx...@googlegroups.com
The border is part of the code. If you remove it it will not scan. Keep 4 modules of white space around QR codes.

KK

unread,
Nov 7, 2011, 10:25:29 AM11/7/11
to zx...@googlegroups.com
Thanks Sean. Can you please tell me how to set the border to 4 modules, any sample code ? 

Thanks, 
KK

Sean Owen

unread,
Nov 7, 2011, 11:09:10 AM11/7/11
to zx...@googlegroups.com
The image you cite already has the white region. I am just telling you to not remove it.
Reply all
Reply to author
Forward
0 new messages