//set 'L' or 'M' or 'H' in the QR code object as include '../phpqrcode/qrlib.php'; QRcode::png('test string', $file_to_store_png, 'L', $pixel_Size=10, $frame_Size = 10);