Commit Graph

9 Commits

Author SHA1 Message Date
zhaori96 30509e0dd7 Refactor to use ColorScheme instead of 'depth' approach 2024-07-31 16:11:52 -03:00
zhaori96 87ab0677e3 add support for depth in barcode generations
- Introduced depth parameter to EncodeWithDepth function to allow generating barcodes with specified color depth.
- Updated Encode function to use EncodeWithDepth with a default depth of 16.
2024-07-24 10:29:23 -03:00
Aaron 2e13775dbc added constants for barcode types 2017-06-17 16:42:17 -05:00
Florian Sundermann b066487b3e moved checksum function to its own interface
its not needed that all barcodes have an integer checksum
so it should not be needed in every implementation.
2017-01-26 08:20:38 +01:00
Alex Good 7435af80e5 Add checksum calculation to relevant barcode types 2016-04-26 10:13:22 +01:00
Florian Sundermann bccb3d2ede added test + code cleanup 2014-08-11 10:34:45 +02:00
Florian Sundermann e5d11acdbf bugfix for datamatrix error correction
more tests and code cleanup
2013-12-13 13:53:27 +01:00
Florian Sundermann 0ab1322172 fixed bug in calcPenaltyRule1 2013-12-12 14:04:36 +01:00
Florian Sundermann bac8bce775 initial commit 2013-12-11 14:31:11 +01:00