MCPcopy Create free account
hub / github.com/codemistic/Web-Development / png

Method png

text-to-qr/lib/phpqrcode/phpqrcode.php:3091–3095  ·  view source on GitHub ↗

----------------------------------------------------------------------

($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4, $saveandprint=false)

Source from the content-addressed store, hash-verified

3089
3090 //----------------------------------------------------------------------
3091 public static function png($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4, $saveandprint=false)
3092 {
3093 $enc = QRencode::factory($level, $size, $margin);
3094 return $enc->encodePNG($text, $outfile, $saveandprint=false);
3095 }
3096
3097 //----------------------------------------------------------------------
3098 public static function text($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4)

Callers 2

buildCacheMethod · 0.45
encodePNGMethod · 0.45

Calls 2

factoryMethod · 0.45
encodePNGMethod · 0.45

Tested by

no test coverage detected