add all files

This commit is contained in:
Rucus
2026-02-17 09:29:34 -06:00
parent b8c8d67c67
commit 782d203799
21925 changed files with 2433086 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
require_once('jpgraph/datamatrix/datamatrix.inc.php');
$data = '123456';
// Create and set parameters for the encoder
$encoder = DatamatrixFactory::Create();
$encoder->SetEncoding(ENCODING_BASE256);
// Create the image backend (default)
$backend = DatamatrixBackendFactory::Create($encoder);
$backend->SetModuleWidth(3);
try {
$backend->Stroke($data);
} catch (Exception $e) {
$errstr = $e->GetMessage();
echo "Datamatrix error message: $errstr\n";
}
?>