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
Phlippe Moneda f2af083559 Update encoder_test.go 2017-09-07 18:29:58 -03:00
Philippe Moneda 69deaf2efb fix tests 2017-09-07 18:05:37 -03:00
Phlippe Moneda 3c98c6245c Change barcorde width from 2 to 3 2017-09-07 12:46:02 -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
boombuler bc131f9157 added 2 of 5 barcodes 2014-08-12 20:29:52 +02:00