slitaz-forge diff mirror/floppies/mkindex.sh @ rev 570

may resize qrcode
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 26 09:27:30 2014 +0200 (2014-06-26)
parents a33dea8a7991
children 37fadd188b73
line diff
     1.1 --- a/mirror/floppies/mkindex.sh	Sun Jun 22 18:37:40 2014 +0200
     1.2 +++ b/mirror/floppies/mkindex.sh	Thu Jun 26 09:27:30 2014 +0200
     1.3 @@ -251,6 +251,7 @@
     1.4  	<script type="text/javascript">
     1.5  	function QRCodePNG(str, obj) {
     1.6  		try {
     1.7 +			obj.height = obj.width += 300;
     1.8  			return QRCode.generatePNG(str, {ecclevel: 'H'});
     1.9  		}
    1.10  		catch (any) {