Borna Rajković
914f64a08d
Set fixed width for PDF417
2025-01-03 20:43:35 +01:00
Borna Rajković
c575a3c357
Renamed module
2025-01-03 20:41:46 +01:00
Florian
ca3e24f327
Merge pull request #84 from zhaori96/allow-other-depths
...
Allow other color schemes and models for barcodes.
2024-08-03 07:01:56 +02:00
zhaori96
d79eb8727b
Use the Background color from ColorScheme if bc implements BarcodeColor
2024-08-02 12:35:17 -03:00
zhaori96
d5743d95af
Barcode implementations also implements BarcodeColor interface
2024-08-02 12:33:00 -03:00
zhaori96
49d4ce8a5b
Add BarcodeColor interface
2024-08-02 12:31:58 -03:00
zhaori96
a8e67c5d16
Add EncodeWithChecksum color overload
2024-08-02 12:30:54 -03:00
zhaori96
b1129f9d8b
Update godoc comment of EncodeWithColor methods
2024-08-01 09:02:23 -03:00
zhaori96
1c8224977e
Remove unecessary file
2024-08-01 09:00:33 -03:00
zhaori96
2c9211e1ea
Add ScaleWithFill
2024-07-31 16:50:14 -03:00
zhaori96
30509e0dd7
Refactor to use ColorScheme instead of 'depth' approach
2024-07-31 16:11:52 -03:00
zhaori96
e966fa7106
Add ColorScheme type and predefined color schemes for barcode rendering
2024-07-31 16:03: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
zhaori96
f3630e1cd4
refactor base1DCode methods to use utility functions for color models and colors
2024-07-24 10:25:04 -03:00
zhaori96
e8e52a74a7
add functions for color models and colors based on depth in utils package
2024-07-24 10:08:05 -03:00
Florian
83789dfea1
Merge pull request #81 from imaginoCDP/fix-code93
...
fix(code93): Update encoder func to better handle checksum
2024-07-03 04:53:26 +02:00
lmazeaud
d6f8bd41de
fix(code93): Update encoder func to better handle checksum
...
- Fix #80
2024-07-02 17:32:56 +02:00
Florian
65580ac6e3
Merge pull request #72 from huysentruitw/patch-2
...
Fix bug in DataMatrix padding algorithm
2022-02-09 09:49:09 +01:00
Florian
abf40d274d
Merge pull request #71 from huysentruitw/patch-1
...
Swap vertical/horizontal variables in row/column calculation
2022-02-09 09:33:04 +01:00
huysentruitw
608a8ad611
Fix bug in DataMatrix padding algorithm
2022-02-09 09:17:15 +01:00
huysentruitw
196dd6e4c1
Swap vertical/horizontal variables in row/column calculation
...
Currently has no impact as all code-sizes are square, but if support for rectangular DataMatrix would be added, then this would have been an issue.
(I might try to add that support, but I don't know Go 🙂 )
2022-02-09 09:14:50 +01:00
Florian
6c824513ba
Merge pull request #51 from CodeLingoBot/rewrite
...
Fix function comments based on best practices from Effective Go
2019-02-19 07:25:09 +01:00
CodeLingo Bot
7bcb6b0526
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-18 22:07:04 +00:00
Florian
34fff276c7
Merge pull request #40 from sbinet-vgo/go-modules
...
barcode: add support for Go modules
2018-08-09 07:23:37 +02:00
Sebastien Binet
3d4b26039d
barcode: add support for Go modules
2018-07-24 13:09:03 +02:00
Florian
3c06908149
Merge pull request #37 from logic/intrune-tests
...
Correct a few format string issues
2018-03-15 06:10:53 +01:00
Ed Marshall
8a3bb0c01c
Correct a few format string issues.
2018-03-14 20:30:44 -07:00
Florian
5a7395f627
Merge pull request #34 from bertabus/bertabus-patch-1
...
fixed 'B' encoding for codabar
2018-02-03 09:01:48 +01:00
Billy Rond
33202215fe
Update test case for updated 'B' codabar character
2018-02-02 18:30:38 -07:00
Billy Rond
79be24267e
Swap 'B' and 'C' characters, fix '+' character
2018-02-02 18:20:30 -07:00
Billy Rond
58ed45cf65
fixed 'B' encoding for codabar
2018-02-01 21:14:37 -07:00
Florian
3cfea5ab60
Update README.md
2017-09-22 12:33:52 +02:00
Florian
1975df17bf
Merge pull request #29 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2017-09-20 19:07:09 +02:00
The Gitter Badger
ed03f55355
Add Gitter badge
2017-09-20 17:06:17 +00:00
Florian
45e1f5ec9e
Merge pull request #27 from PMoneda/master
...
Change twoofive barcode width to 3
2017-09-08 17:22:17 +02: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
4636cd05cc
Merge pull request #1 from PMoneda/fix-twoofive-barcode-width
...
Change barcorde width from 2 to 3
2017-09-07 12:47:09 -03:00
Phlippe Moneda
3c98c6245c
Change barcorde width from 2 to 3
2017-09-07 12:46:02 -03:00
Florian
56ef0af912
Merge pull request #22 from aaronarduino/add-barcode-const
...
added constants for barcode types
2017-06-18 07:38:12 +02:00
Aaron
2e13775dbc
added constants for barcode types
2017-06-17 16:42:17 -05:00
boombuler
a4f901055a
added .gitignore file
2017-06-05 21:46:43 +02:00
boombuler
2f6df207f4
removed vscode dir
2017-06-05 21:45:34 +02:00
boombuler
e5ca7acf48
added package comment
2017-06-05 14:39:59 +02:00
boombuler
dc8c5388c6
added package comment
2017-06-05 14:39:01 +02:00
boombuler
663d504db8
Added tests for binary encoding
2017-06-05 14:27:20 +02:00
boombuler
4cadd42ac9
removed old code fragment
2017-06-05 13:47:18 +02:00
boombuler
e6481dd88f
changed documentation of securitylevel argument
2017-06-05 13:46:48 +02:00
boombuler
dbbaa13b52
switched to new high level encoder ported from zxing code
2017-06-05 13:45:43 +02:00
boombuler
30df39e13a
updated readme
2017-06-04 20:07:33 +02:00