aboutsummaryrefslogtreecommitdiff
path: root/source/codes/Codes.mc
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-20 12:16:59 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-20 12:16:59 +0200
commitdfb8e358c20cf1f5f5eae365feca78ce4aa4176d (patch)
treee45a172baee1a03d836523b6136287e1fb188711 /source/codes/Codes.mc
parentd360f8ed78adf08e2a99df0be141b0a823cf8be9 (diff)
feat(codes): add an Aztec encoder (compact and full range) as a resumable job
Upper/Lower/Digit modes with Binary Shift, bit stuffing, Reed-Solomon over GF(2^6..2^12) in steps, geometry ported from aztec_code_generator; symbols match it for single-class text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'source/codes/Codes.mc')
-rw-r--r--source/codes/Codes.mc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/codes/Codes.mc b/source/codes/Codes.mc
index bb1a4ed..f157b37 100644
--- a/source/codes/Codes.mc
+++ b/source/codes/Codes.mc
@@ -160,6 +160,9 @@ module Codes {
if (symbology == PDF417) {
return new Pdf417.Pdf417Job(payload, ecLevel(options), screenW, screenH, round);
}
+ if (symbology == AZTEC) {
+ return new Aztec.AztecJob(payload, ecLevel(options));
+ }
return null;
}