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

Method png

text-to-qr/lib/phpqrcode/qrencode.php:283–287  ·  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

281
282 //----------------------------------------------------------------------
283 public static function png($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4, $saveandprint=false)
284 {
285 $enc = QRencode::factory($level, $size, $margin);
286 return $enc->encodePNG($text, $outfile, $saveandprint=false);
287 }
288
289 //----------------------------------------------------------------------
290 public static function text($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4)

Callers 4

index.phpFile · 0.45
encodePNGMethod · 0.45
index.phpFile · 0.45
buildCacheMethod · 0.45

Calls 2

factoryMethod · 0.45
encodePNGMethod · 0.45

Tested by

no test coverage detected