From 914f64a08d54acb9687261879d79db25e643a0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borna=20Rajkovi=C4=87?= Date: Fri, 3 Jan 2025 20:43:35 +0100 Subject: [PATCH] Set fixed width for PDF417 --- pdf417/dimensions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf417/dimensions.go b/pdf417/dimensions.go index ad8f5f8..faee2b7 100644 --- a/pdf417/dimensions.go +++ b/pdf417/dimensions.go @@ -3,8 +3,8 @@ package pdf417 import "math" const ( - minCols = 2 - maxCols = 30 + minCols = 9 + maxCols = 9 maxRows = 30 minRows = 2 moduleHeight = 2